LOCAL · PRIVATE · MCP-NATIVE

Teach your coding agent once. Let your repository remember.

A lightweight memory layer for AI coding agents that keeps corrections, rules, and architectural decisions close to the codebase.

Repository-aware

Each workspace gets a stable identity and a local SQLite database. Unrelated repositories do not share memories.

Explicit by design

MCP hosts decide when tools are called. Startup context, recall, remember, update, and archive are deliberate operations.

No cloud required

No API keys, external embeddings, remote database, telemetry, or background upload. Only explicitly submitted content is inspected.

Start in one command

Keep memory where the work lives.

Install the package, add it to an MCP-compatible client, and call get_startup_context at the beginning of a coding session.

pip install -e .[dev]
repo-memory doctor

# published package
uvx repo-memory-mcp
Core tools

remember_correction

Capture a lesson learned so a future session can avoid the same mistake.

get_startup_context

Load concise, high-value repository guidance without dumping the database into context.

recall_memory

Search topics, content, tags, context files, and types with deterministic local scoring.