repo-memory-mcp server
io.github.Umarjaum/repo-memory-mcp·v0.2.0Persistent local memory for MCP-compatible AI coding agents, stored per repository in SQLite.
0 stars
Reviews
Write oneNobody has reviewed repo-memory-mcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
repo-memory-mcp tools (11, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
export_memoryExport all active and archived memories as portable JSON to a user-specified path.
forget_memoryArchive a memory so it is retained for auditability but excluded from normal recall and startup context.
get_startup_contextReturn a concise startup context prioritizing critical and high-importance rules, conventions, decisions, and recent corrections.
import_memoryImport a JSON export without overwriting existing memories; malformed records are rejected and duplicates are reported.
list_memoriesList repository memories with optional type and status filters.
list_project_rulesList all active durable project rules for the current repository.
recall_memorySearch active repository memories using deterministic local relevance scoring across topic, content, tags, context, and type.
remember_correctionStore a correction or lesson learned during development. Use for durable guidance that should prevent repeated mistakes; do not store credentials, secrets, or transient chat context.
remember_decisionStore an architectural or implementation decision together with its rationale.
remember_ruleStore a durable repository-specific rule or convention. Use when the agent should follow a project constraint in future sessions.
update_memorywrite actionUpdate an existing memory by ID. This changes the existing record and timestamp; it never silently creates a replacement.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How repo-memory-mcp compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 802 Databases servers
- Tools
- 11
- the typical Databases server has 8
- Tools that change things
- 9%
- typical: 10%. Fewer write tools means less an agent can break
What its tools let an agent do: 9 read · 1 create · 1 change
Install repo-memory-mcp in Claude Code, Cursor or VS Code
claude mcp add repo-memory-mcp -- uvx repo-memory-mcp-ai
What the publisher says
From the repo-memory-mcp repository's README, as published. We do not edit it. Read it on GitHub
repo-memory-mcp
mcp-name: io.github.Umarjaum/repo-memory-mcp
Persistent memory for AI coding agents
AI coding agents are powerful, but they forget repository-specific corrections, conventions, constraints, and architectural decisions. repo-memory-mcp gives MCP-compatible coding agents a persistent, local, repository-aware memory layer.
Teach your coding agent once. Let your repository remember.
What it does
MCP hosts decide when tools are called; MCP does not automatically intercept every conversation. This project exposes explicit tools that let an agent load important context at session startup, search relevant memories, store corrections and decisions, update stale guidance, and archive obsolete memories.
The memory database lives in .repo-memory/memory.db inside the detected repository. It uses SQLite, deterministic local ranking, and no cloud service.
Why developers use it
- Persistent project memory: corrections, rules, conventions, constraints, decisions, and bug-fix lessons survive sessions.
- Repository-aware isolation: unrelated repositories do not share memory.
- Local-first privacy: no API keys, remote database, external embeddings, telemetry, or background upload.
- Explicit MCP workflow: the agent chooses when to remember and recall; there is no claim of automatic conversation interception.
- Fast and inspectable: SQLite storage, JSON export, CLI diagnostics, and human-readable records.
- Security-minded: likely API keys, bearer tokens, passwords, cloud credentials, and private keys are rejected by default.
Install and use in two minutes
The public PyPI distribution is named repo-memory-mcp-ai because the shorter repo-memory-mcp name is already owned by another project. The MCP server and GitHub project identity remain repo-memory-mcp.
pip install repo-memory-mcp-ai
repo-memory doctorStart the MCP server directly:
repo-memory-mcpOr run it without a permanent installation:
uvx --from repo-memory-mcp-ai repo-memory-mcpThe server is local and communicates over stdio. It does not need an API key.
Configure an MCP client
The common stdio configuration is:
{
"mcpServers": {
"repo-memory": {
"command": "uvx",
"args": ["--from", "repo-memory-mcp-ai", "repo-memory-mcp"]
}
}
}Use the client-specific configuration location and format documented by your MCP host. Ready-to-copy examples are in examples/:
- claude-desktop.json
- cursor.json
- workflow.md
The project is vendor-neutral and is intended for Claude Code, Cursor, Cline, Windsurf, and other MCP-compatible coding agents. Compatibility depends on the host’s MCP support and configuration format.
Recommended agent workflow
At the beginning of a coding session, call getstartupcontext(). When the developer corrects a repeated mistake, call remembercorrection(topic, lesson). When a relevant question arises, call recallmemory(query). When guidance becomes stale, call updatememory() or archive it with forgetmemory().
Example instruction to an agent:
At the start of this session, call get_startup_context. If I correct a repeated mistake or establish a durable project rule, store it with the appropriate repo-memory tool. Do not store credentials or transient chat context.Available MCP tools
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
repo-memory-mcp: common questions
- Is repo-memory-mcp server safe?
- Yes, by our scan: it is graded A (92/100). Read the repo-memory-mcp safety report
- How do I install repo-memory-mcp?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does repo-memory-mcp need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is repo-memory-mcp maintained?
- The last commit was 40 days ago (2026-09-25). The latest release is v0.2.0.
- What can I use instead of repo-memory-mcp?
- Servers from other publishers that do the same job: Myc MCP server, open-memex MCP server and Graphmem MCP server.
- How does repo-memory-mcp compare with other Databases MCP servers?
- safety score 92/100 (higher than 90% of 802 Databases servers); tools 11 (the typical Databases server has 8); tools that change things 9% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to repo-memory-mcp
Same job from other publishers: the closest match first, then the best rated.
- MycTask queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun.not reviewedEstablishedC
- open-memexLocal-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP.not reviewedGrowingB
- GraphmemShared local memory for coding agents: SQLite, semantic recall, linked entities, code navigation.not reviewedGrowingA
- SAME - Stateless Agent Memory EnginePersistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.not reviewedGrowingB
- skillmemSkill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key.not reviewedGrowingA