AI Resources
Codebase Memory MCP
Codebase Memory MCP stores a structural map of a repository in SQLite so an AI coding agent can query it through MCP.
It is a code-analysis backend, not a coding agent. The calling agent interprets the results; the graph supplies symbols, relationships and paths.
What it is
Saved structure for recurring code questions
A persistent graph lets a coding agent revisit callers, imports and dependencies without starting every question with a fresh repository-wide search.
Why it stands out
A structural backend beside your existing agent
Parsing and graph queries run in the native server; it does not include an LLM. Your MCP client supplies the conversational and reasoning layer.
Availability
Local server and cross-platform releases
The repository declares MIT. It publishes macOS, Linux and Windows binaries alongside package and client-configuration paths. Local indexing does not establish how the calling agent handles returned code.
Why it matters
What makes it useful
Before changing a shared function, you may need its callers and the code paths that depend on it. Codebase Memory MCP provides a saved structural map for that investigation; the relevant implementation still needs reading.
What to know
Where it fits
Configure a supported MCP client, index the selected repository with index_repository, then ask the agent to trace inbound calls to a named function. Open the returned source paths before making a change.
Notable points
What stands out
The graph can distinguish a call relationship from a file that mentions the same name. The README describes tree-sitter parsing and additional type resolution for selected languages. Open the source when a relationship matters, since the graph can miss some calls. A March 2026 preprint tested v0.5.5 against an agent that searched and read files directly. It reported lower token and tool use alongside lower answer quality.
Before using
What to review
Inspect the installer and its proposed client-configuration changes. The installation path can write MCP entries and instruction blocks, not just a binary.
Choose the indexing root and protect the local graph. CBM_ALLOWED_ROOT restricts paths, but does not filter sensitive content inside an allowed repository.
Review ignored paths and the actual indexing scope. For private code, decide whether generated graph files stay local or travel with the repository, and which MCP clients may query them; a local database does not settle those permissions.
New projects aren’t indexed automatically by default. The v0.12.1 guide says turning off auto_watch stops new sessions from registering their projects. The watcher can keep running for other projects. The main-branch guide says switching it off clears all watches on the next refresh or registration. To stop watching entirely, both guides say to switch off watcher_enabled and restart the daemon. Reconnecting the MCP client leaves the old daemon running. You can still index manually.
Read the returned source paths and run the project tests before accepting a code change. The graph supplies investigation context; its relationships do not establish that the change works.
The v0.12.1 release notes say the first index of each existing project after the upgrade rebuilds it once, because the release changes how container images are identified. Set aside time for that first index.
The repository’s security policy lists 0.10.x as supported, while the release page includes v0.12.1. Check the policy and the release notes for the version you use.
Check the original listing's documentation for current requirements, limitations, licensing and any relevant privacy or security considerations.
Reader fit
Who may find it relevant
Developers revisiting caller and dependency questions across a repository.
Teams choosing between a queryable structural graph, readable file maps and embedding-based retrieval.
Less relevant when one or two source files answer the question, or when you need a complete coding agent rather than a backend for one.
Editorial note
Why LifeHubber lists it
We list Codebase Memory MCP because you can keep a queryable call graph between sessions with background watching off. If you switch branches, you can refresh the graph before relying on its caller results for a change on the new branch.
Source links
Source materials
Reader note
About our listings
LifeHubber’s listings help you explore what’s available in AI and are not endorsements. We don’t independently verify every detail or guarantee that each listing is accurate, safe, actively maintained, or right for your needs.
What to explore next
Compare how the repository map is built and kept.
A persistent graph is one way to stop an agent rediscovering the same code structure. Compare it with a readable file-based map or another local SQLite-backed index before choosing the setup that fits the repository.
More in AI Agents
Keep browsing this category
Explore more AI agent projects.
Paperclip
paperclipai/paperclip
A self-hosted server and dashboard for coordinating agent teams through companies, goals, roles, issues, heartbeats, budgets, approvals, and persistent activity records.
Songe
sous-labs/songe
An alpha proxy for local model servers that uses lessons from agent sessions to add preferences to instructions or try a trained LoRA adapter.
NanoClaw
nanocoai/nanoclaw
A lightweight personal agent system that runs agents in containers and connects them to messaging channels, memory, and scheduled jobs.
For project maintainers
Listed here? You can use the badge.
If you maintain a project with a current LifeHubber listing, you may add the optional “Listed on LifeHubber AI Resources” badge to its README, docs, or website. No introduction or permission request is needed.
MORE ON LIFEHUBBER
Use AI on your own terms.
Explore more AI projects, stories, guides, tools and community insights across LifeHubber.