
Repomemory
Gives Claude persistent memory across coding sessions by maintaining a structured knowledge base in your repo's `.context/` directory. Exposes seven MCP tools including `context_search` for hybrid keyword and semantic search, `context_auto_orient` for session startup, and `context_write` for recording facts, decisions, and regressions. Auto-captures session summaries on shutdown and routes context intelligently between repo-specific and global developer preferences. Works with Claude Desktop natively via MCP, and integrates with Cursor through slash commands that let their AI populate context without external API keys. The `analyze` command uses Claude or other LLMs to scan your codebase and generate initial context entries. Useful when you're tired of re-explaining your architecture every conversation or want to prevent agents from reintroducing previously fixed bugs.
- tools
- 7
- transport
- STDIO
- last updated
- Feb 18, 2026
Tools
7 toolsPublic tool metadata for what this MCP can expose to an agent.
context_searchHybrid keyword + semantic search across repo + global context
Hybrid keyword + semantic search across repo + global context
No parameter schema in public metadata yet.
context_auto_orientOne-call orientation: index, preferences, recent sessions, recent changes
One-call orientation: index, preferences, recent sessions, recent changes
No parameter schema in public metadata yet.
context_writeWrite entries with smart scope routing (preferences → global)
Write entries with smart scope routing (preferences → global)
No parameter schema in public metadata yet.
context_readRead full content, repo-first with global fallback
Read full content, repo-first with global fallback
No parameter schema in public metadata yet.
context_listBrowse entries with [repo]/[global] provenance tags
Browse entries with [repo]/[global] provenance tags
No parameter schema in public metadata yet.
context_riskAssess modification risk — hotspots, hidden coupling, bus factor
Assess modification risk — hotspots, hidden coupling, bus factor
No parameter schema in public metadata yet.
context_deleteRemove stale knowledge
Remove stale knowledge
No parameter schema in public metadata yet.
Sponsors
Readme
repomemory
Your codebase never forgets.
AI agents lose context every session. repomemory fixes that — one command creates a persistent, searchable knowledge base that any AI tool can read, search, and write to.
npx repomemory go
The Problem
Every time you open a project with Claude Code, Cursor, Copilot, or any AI coding agent:
- It re-discovers your architecture from scratch
- It proposes changes that were already debated and rejected
- It re-introduces bugs that were already fixed
Details
- Repository
- github.com/danielguru/repomemory
- Categories
- AI & LLM Tools, Search & Web Crawling
- Package
repomemory- Transport
- STDIO
- Registry
- MCP registry, active