Codebase Memory
Local knowledge graph that connects code, docs, and infrastructure for AI coding agents.
- CCM score
- 79 of 100
- GitHub stars
- 49.3K
- tools
- 17
- transport
- STDIO
- last updated
- Oct 17, 2026
Own this MCP server? Claim it
What it does
- Searches and traces with
search_graph,trace_path,query_graph,search_code, andget_code_snippet, covering callers, callees, and cross-service paths - Indexes and manages projects with
index_repository,list_projects,index_status, anddelete_project; runs locally with no hosted service or API key - Assesses change impact through
detect_changes,compare_graphs, andmanage_adr, which edits architecture decision records - Designed for navigating unfamiliar codebases, following calls across services, and reviewing change impact before running tests
Tools
17 toolsPublic tool metadata for what this MCP can expose to an agent.
index_repositoryIndex a repository into the graph. A successful call from an active MCP session registers the target for auto-sync while that session remains connected (under `daemon start`, also after it disconnects), subject to the global `auto_watch` setting; CLI calls do not register watc...
Index a repository into the graph. A successful call from an active MCP session registers the target for auto-sync while that session remains connected (under `daemon start`, also after it disconnects), subject to the global `auto_watch` setting; CLI calls do not register watc...
No parameter schema in public metadata yet.
list_projectsList indexed projects with paging; use `detail: "stats"` for node/edge counts and database sizes.
List indexed projects with paging; use `detail: "stats"` for node/edge counts and database sizes.
No parameter schema in public metadata yet.
delete_projectRemove a project and all its graph data, including its ADR sidecar (`<db>.adr.db`).
Remove a project and all its graph data, including its ADR sidecar (`<db>.adr.db`).
No parameter schema in public metadata yet.
index_statusCheck indexing status of a project.
Check indexing status of a project.
No parameter schema in public metadata yet.
check_index_coverageCheck whether exact paths or a scope are indexed and fresh. A clean result means no recorded gap, not proof of completeness.
Check whether exact paths or a scope are indexed and fresh. A clean result means no recorded gap, not proof of completeness.
No parameter schema in public metadata yet.
search_graphStructural, BM25, and semantic search. Page structural rows with `offset`/`limit` and ranked semantic rows independently with `semantic_offset`/`semantic_limit`.
Structural, BM25, and semantic search. Page structural rows with `offset`/`limit` and ranked semantic rows independently with `semantic_offset`/`semantic_limit`.
No parameter schema in public metadata yet.
trace_pathTrace callers, callees, data flow, or cross-service paths (alias: `trace_call_path`). Depth 1 to 15; tests are excluded by default.
Trace callers, callees, data flow, or cross-service paths (alias: `trace_call_path`). Depth 1 to 15; tests are excluded by default.
No parameter schema in public metadata yet.
detect_changesMap git diff to affected symbols + blast radius with risk classification.
Map git diff to affected symbols + blast radius with risk classification.
No parameter schema in public metadata yet.
query_graphExecute Cypher-like graph queries (read-only).
Execute Cypher-like graph queries (read-only).
No parameter schema in public metadata yet.
get_graph_schemaNode/edge counts, relationship patterns, property definitions per label. Run this first.
Node/edge counts, relationship patterns, property definitions per label. Run this first.
No parameter schema in public metadata yet.
compare_graphsCompare two indexed snapshots: node/edge additions and removals between a base and a target.
Compare two indexed snapshots: node/edge additions and removals between a base and a target.
No parameter schema in public metadata yet.
get_code_snippetRead source code for a function by qualified name.
Read source code for a function by qualified name.
No parameter schema in public metadata yet.
get_file_outlineDeclaration outline of one repository-relative file in source order, with optional label filter and paging.
Declaration outline of one repository-relative file in source order, with optional label filter and paging.
No parameter schema in public metadata yet.
get_architectureCodebase overview: languages, packages, routes, hotspots, clusters, ADR.
Codebase overview: languages, packages, routes, hotspots, clusters, ADR.
No parameter schema in public metadata yet.
search_codeGrep-like text search within indexed project files.
Grep-like text search within indexed project files.
No parameter schema in public metadata yet.
manage_adrCRUD for Architecture Decision Records (`get` reads, `update` replaces the whole document, `set_sections` rewrites only the named sections and leaves every other byte untouched, `sections` lists headings).
CRUD for Architecture Decision Records (`get` reads, `update` replaces the whole document, `set_sections` rewrites only the named sections and leaves every other byte untouched, `sections` lists headings).
No parameter schema in public metadata yet.
ingest_tracesStore observed call paths or caller/callee pairs under a run label. Both endpoints must resolve to indexed symbols; unresolved names are reported.
Store observed call paths or caller/callee pairs under a run label. Both endpoints must resolve to indexed symbols; unresolved names are reported.
No parameter schema in public metadata yet.
Readme
Details
- Repository
- github.com/deusdata/codebase-memory-mcp
- Website
- deusdata.github.io/codebase-memory-mcp
- Categories
- Developer Tools, Memory & Context
- Package
codebase-memory-mcp- Transport
- STDIO
- Registry
- MCP registry, active
Similar to Codebase Memory
More Developer ToolsCode MemoryMCP serverkapillamba450 starsLocal semantic code search over indexed source, docs, and Git history, with no API key.
CodegraphMCP servercodegraph-ai174 starsSemantic code graph over 38 languages, exposing callers, impact analysis, memory, and PR review tools.
codebase-memoryPluginDeusData/codebase-memory-mcp49.1K starsCodebase knowledge graph for AI agents: sub-ms queries, 99% fewer tokens.
ProjectmemMCP serverriponcm885 starsLocal-first coding agent memory exposing 17 MCP tools for logging, recalling, and prechecking project history.
PalinodeMCP serverphasespace-labs46 starsInspectable, correctable project memory for coding agents, stored as Git-versioned Markdown.