Repository-aware
Each workspace gets a stable identity and a local SQLite database. Unrelated repositories do not share memories.
Persistent, repository-scoped memory for AI coding agents—corrections, rules, conventions, and decisions kept close to the code.

Each workspace gets a stable identity and a local SQLite database. Unrelated repositories do not share memories.
MCP hosts decide when tools are called. Startup context, recall, remember, update, and archive are deliberate operations.
MIT licensed, inspectable, forkable, and open to contributions from developers, client authors, and documentation writers.
Install the public package, add the stdio server to your MCP client, and ask the agent to call get_startup_context at the beginning of each session.
pip install repo-memory-mcp-ai repo-memory doctor # zero-install option uvx --from repo-memory-mcp-ai repo-memory-mcp
Call get_startup_context() to load high-value repository guidance.
Call remember_correction() or remember_rule() when a lesson should survive.
Call recall_memory(query) when the current task needs project history.
Use the core server directly, install the companion VS Code extension, or use the browser companion to prepare research notes for your agent.
See client setup
No. MCP hosts decide when tools are called. The agent explicitly chooses when to load, search, store, update, or archive memory.
In .repo-memory/memory.db inside the detected repository. The directory is ignored by Git by default.
Yes. The project is MIT licensed. Add client examples, tests, docs, bug fixes, or new integrations through GitHub pull requests.