tools-codebase-memory
codebase-memory-mcp
codebase-memory-mcp indexes a repository into a persistent SQLite knowledge
graph (tree-sitter ASTs plus a hybrid LSP layer) and exposes it over MCP. It
answers the same graph-shaped questions as codegraph — what calls this, what a
change reaches, where the hubs, cycles, and clusters are — plus cross-session
Architecture Decision Records. Query it instead of re-reading files when the
server is installed.
Evidence dimensions: dependency, semantic, and change-impact.
When to use
Use when the session exposes mcp__codebase-memory-mcp__* tools (verify with
/mcp; the server reports as codebase-memory-mcp). Index during the
system-map step, then query during evidence gathering for module structure,
call/dependency edges, cycles, blast radius, and Louvain module clusters. Prefer
it over tools-codegraph only when its index is present and fresh; otherwise use
whichever graph tool is current.