
Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 49.2K GitHub stars
- Knowledge and memory

Local MCP server that builds a code knowledge graph for AI coding agents
Runs locallyCode map and memory for coding agents: key functions, line ranges, callers, findings
Runs locallyLocal repo index with call graphs, git history and durable memory for coding agents
Runs locallyLocal code search for AI assistants, with AST-aware chunking and no cloud
Runs locallyLong-term memory and a knowledge base for AI assistants, run locally
Runs locallyOpen-source context engine that maps a repository for AI coding agents
Runs locallyTurns a multi-language codebase into a graph you can query and edit in plain English
Runs locallyLocal code graph and project memory for coding agents, cited to exact files and lines
Runs locallyLocal code graph and long-term memory for coding agents, via MCP or a shared CLI
Runs locallyCode graph of callers, dependencies and Git co-changes for coding agents
Runs locallyShared local decision log and persistent memory for Claude Code, Cursor and Codex
Not checked yetSearch current Claude Code, Cursor, Codex and MCP documentation, refreshed daily
Not checked yetThe closest alternatives to Codebase Brain are Codebase Memory, knock, rag-rat, Open Context Engine and Octobrain.
Yes. Codebase Memory, knock, rag-rat have a free or open-source option.