Best for
- AI coding-agent users who need local code-structure analysis
- Development teams seeking to reduce file-by-file search and context-token usage
- Projects requiring cross-file, cross-package, or cross-repository relationship queries
Based on the supplied repository description, server.json, and README: this is an MIT-licensed, local, stdio-based code-intelligence MCP server. Upstream product or protocol ownership is not evidenced by the supplied material, so official is false.
Strongest · Documentation 15/20 Weakest · Reliability 10/20
Static review · not runListed 2026-07-29
Read the FMRS scoring method →Runtime:Prebuilt binary · Node.js · Python
CBM_ALLOWED_ROOT
Optional; confines index_repository to paths within this directory, useful for untrusted callers.
CBM_CACHE_DIR
Optional; overrides the index database directory, default ~/.cache/codebase-memory-mcp.
CBM_DIAGNOSTICS
Optional; set to 1/true to enable daemon snapshot. and trajectory.nd diagnostics logs.
CBM_DOWNLOAD_URL
Optional; overrides the update download URL for testing or self-hosted deployments.
CBM_LOG_LEVEL
Optional; minimum log level (debug/info/warn/error/none), default info.
CBM_WORKERS
Optional; overrides parallel indexing worker count (1–256), useful in containers.
CBM_MEM_BUDGET_MB
Optional; explicit in-memory graph budget cap in MiB, takes precedence over auto-detection.
CBM_DUMP_VERIFY_MIN_RATIO
Optional; minimum persisted-vs-memory node ratio after indexing, default 0.5.
Use the macOS/Linux installer or Windows PowerShell installer, or download a platform-specific binary from GitHub Releases. Restart the coding agent and say “Index this project.” You may also add the provided stdio configuration manually to an MCP configuration file.
{"mcpServers":{"codebase-memory-mcp":{"command":"/path/to/codebase-memory-mcp","args":[]}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"codebase-memory-mcp": {
"command": "/path/to/codebase-memory-mcp",
"args": []
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add codebase-memory-mcp -- /path/to/codebase-memory-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Restart your agent and run /mcp — you should see codebase-memory-mcp with its 15 tools; or say 'Index this project' and confirm list_projects shows the project with node/edge counts.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Codebase Memory is a high-performance code-intelligence MCP server that indexes repositories into a persistent knowledge graph. It supports 158 languages, sub-millisecond structural queries, and 15 MCP tools. It uses tree-sitter AST analysis with Hybrid LSP type resolution for selected languages; processing is local and the server does not include an LLM.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 658639ec569c Data synced 2026-10-19 Read the FMRS scoring method