Codebase Memory MCP
Indexes a codebase into a local graph that agents can query
What it does
Codebase Memory MCP parses a repository into a persistent graph of code, documentation and infrastructure, and exposes it to agents through MCP tools. An agent can ask how parts of a system connect instead of reading files one at a time.
The backend is written in C and ships as pre-built binaries. The maker states that it exposes 17 MCP tools, indexes and queries locally, and collects no telemetry.
Tools
Listed by starting the server ourselves on Nov 26, 2026. The grouping uses the server's own annotations.
Read-only · 13
search_graphquery_graphtrace_pathget_code_snippetget_file_outlineget_graph_schemacompare_graphsget_architecturesearch_codelist_projectsindex_statuscheck_index_coveragedetect_changes
Writes or acts · 1
index_repository
Marked destructive · 3
delete_projectmanage_adringest_traces
Install
Any MCP client
Not yet tested by usInstall with the project's script, then follow the agent setup section of its README:
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
Read the script before running it, as with any piped installer. Packages are also published on npm and PyPI under the name codebase-memory-mcp.
Launch command (any stdio client)
Tested Nov 26, 2026 on Linux arm64 container, stdio test clientWe started the server with this command in a clean Linux container and confirmed it completes the MCP handshake and answers tools/list:
npx -y codebase-memory-mcp@latest
Use the same command and arguments in any client that launches local servers. We have not yet tested it inside a specific client.
Before you adopt it
6 of 6 key facts checked- Tools and what they can changeExactly what an agent can read, write or delete
- 17 tools: 13 read-only, 1 that write or act, 3 marked destructive by the server. Destructive: delete_project, manage_adr, ingest_traces.Checked Nov 25, 2026 · source
- Required credentials and scopesLeast-privilege setup with no first-run failure
- Started and listed its tools with no credentials.Checked Nov 25, 2026 · source
- Tool-definition token costContext used on every request
- About 5,203 tokens for the tool definitions (size of the tools/list reply divided by four; an estimate, not a tokeniser count).Checked Nov 25, 2026 · source
- Package and versionThe exact package or image you will run, and who publishes it
- codebase-memory-mcp 0.12.1 on npmChecked Nov 25, 2026 · source
- Where your data goesLocal only, or through the vendor's cloud; any telemetry
- Indexes and queries locally and collects no telemetry, according to the maker.Checked Nov 25, 2026 · source
- Last releaseThe spec and upstream APIs change fast
- v0.12.1 · Oct 16, 2026Checked Nov 25, 2026 · source
- Resources and promptsWhat it exposes beyond tools
- 0 resources and 2 prompts listed.Checked Nov 25, 2026 · source
