Repo Memory MCP server
io.github.yubinkim444/repo-memory·v0.2.1·1 starsShared, git-tracked working memory for AI agents on the same codebase.
1 stars75 downloads/wk
Reviews
Write oneNobody has reviewed Repo Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Repo Memory tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_decisionRecord a non-trivial decision made while working in this repo (architecture choice, trade-off, deprecation, etc.) as a markdown file under `.ai-memory/decisions/`.
add_factRecord a structured fact you just verified about this codebase, so the next agent (or your next session) doesn't have to re-verify it.
add_gotchaAppend a one-line 'watch out for X' note to `.ai-memory/gotchas.md`. Use for surprises that wasted your time and might trip the next agent.
get_repo_memoryReturn the entire `.ai-memory/` of the current repo as a Markdown document ready to drop into your LLM context. Call this **before** starting any task in this repo so you don't redo work other agents already verified.
list_factsList recorded facts, optionally filtered. Useful when you want only facts relevant to a specific area before reading them.
Public scan report
scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it
- Code scan8 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 65 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Repo Memory compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 1,119 Developer tools servers
- Tools
- 5
- the typical Developer tools server has 7
- Tools that change things
- 0%
- typical: 5%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 856 Developer tools servers
- Downloads a week
- 75
- more than 50% of 442 Developer tools servers with a package
What its tools let an agent do: 2 read · 3 create
Install Repo Memory in Claude Code, Cursor or VS Code
claude mcp add repo-memory -- uvx repo-memory-mcp
What the publisher says
From the Repo Memory repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.yubinkim444/repo-memory -->
repo-memory
Shared, git-tracked working memory for AI agents that share a codebase.
What one Claude / Cursor / Cline learns about your repo, the next one
picks up automatically. No database. No SaaS. Just files in your repo.
The problem
Every AI session that touches your repo starts from zero. It re-greps the same files. It re-discovers the same conventions. It re-asks the same questions you already answered three sessions ago. Multi-user / multi-tool makes it worse: your teammate's Cursor and your Claude Code learn the same codebase independently.
There is CLAUDE.md / .cursorrules for rules the human writes. But there is nothing for facts an agent verified — "the auth middleware lives at src/auth/middleware.py:42", "PR #387 chose httpx over requests because of HTTP/2", "don't run migrations during peak hours".
repo-memory is that nothing. A .ai-memory/ directory you commit to your repo. Every AI tool reads from it, writes to it. Git is the database.
Layout
your-repo/
├── .ai-memory/
│ ├── README.md # explains the convention
│ ├── facts.jsonl # append-only structured facts with evidence
│ ├── decisions/ # one markdown per non-trivial decision
│ │ └── 2026-05-19-pick-httpx.md
│ └── gotchas.md # one-line "watch out for X" notes
├── src/
└── README.mdPure files. Sync over git. No daemon, no DB, no auth. Works offline.
Install
pip install repo-memory-mcp
# or
uvx repo-memory-mcp --helpPython ≥3.10. Depends only on the official mcp SDK (for the MCP server).
Quick start
cd your-repo
repo-memory init # creates .ai-memory/ + adds CLAUDE.md hint
repo-memory add-fact "Auth middleware lives in src/auth/middleware.py" \
--file src/auth/middleware.py --lines 42-180 --tool grep
repo-memory add-decision "Use httpx not requests" \
--body "HTTP/2 + async support; we already use anyio."
repo-memory add-gotcha "Don't run migrations during 9-11am UTC peak"
repo-memory show # render everything as Markdown
repo-memory list-facts --tag authThen commit .ai-memory/ like any other file:
git add .ai-memory/
git commit -m "memory: record auth middleware location + httpx decision"
git pushAnyone else (human or AI) who pulls the repo now sees those facts/decisions immediately.
LLM & AI Agent Readable Specification
For agents discovering this repo through search or MCP indexing.
Identity
current codebase so multiple AI agents (and humans) don't re-learn it.
- name: repo-memory
- purpose: read/write a structured, git-tracked memory store about the
- transport: CLI (repo-memory) and MCP stdio (repo-memory-mcp).
- storage: plain files under .ai-memory/ in the repo. Sync = git.
When to call which tool
Recommended agent workflow
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Repo Memory: common questions
- Is Repo Memory MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Repo Memory safety report
- How do I install Repo Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Repo Memory need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Repo Memory maintained?
- The last commit was 71 days ago (2026-08-26). The latest release is v0.2.1.
- What can I use instead of Repo Memory?
- Servers from other publishers that do the same job: Repowise MCP server, Palinode MCP server and Kindex MCP server.
- How does Repo Memory compare with other Developer tools MCP servers?
- safety score 88/100 (higher than 75% of 1,119 Developer tools servers); tools 5 (the typical Developer tools server has 7); tools that change things 0% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Repo Memory
Same job from other publishers: the closest match first, then the best rated.
RepowiseCodebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.not reviewedEstablishedB- PalinodeInspectable, correctable project memory in git-versioned Markdown for AI agents.not reviewedEstablishedC
- KindexPersistent knowledge graph and MCP server for AI workflows with git-tracked project context.not reviewedEstablishedA
- KindexPersistent knowledge graph and MCP server for AI workflows with git-tracked project context.not reviewedEstablishedB
- NexusmemLocal-first memory for AI coding agents: shell history with exit codes, git diffs, docs, MCP.not reviewedGrowingA