Best for
- AI coding agents that need local code intelligence.
- Teams requiring cross-file call resolution, architecture analysis, or incremental indexing.
- Users who prefer a pure-C stdio server with local persistent storage.
This is an MIT community fork maintained by win4r, not an official DeusData server. It is suited to local codebase knowledge graphs and AI-assisted code exploration. Key considerations are building from source, writes to agent configuration files, and avoiding the update subcommand because it can overwrite the fork build.
Codebase Memory is a community fork of DeusData/codebase-memory-mcp maintained by win4r. Built in pure C, it creates a code knowledge graph for 158 languages and provides structural queries, call tracing, change-impact analysis, code search, and architecture analysis. The fork adds the incremental-reindex CALLS-edge fix, Cypher fixes, Swift graph improvements, and the explore tool.
This fork ships no prebuilt binaries and must be built from source. Run git clone https://github.com/win4r/codebase-memory-mcp-pro.git, enter the directory, and execute ./scripts/build.sh. Copy build/c/codebase-memory-mcp to PATH, then configure Claude Code with claude mcp add codebase-memory -s user -- ~/.local/bin/codebase-memory-mcp. A stdio MCP configuration may also be used with command set to the binary's absolute path. The first build compiles 158 tree-sitter grammars and may take several minutes.
{"mcpServers":{"codebase-memory-mcp":{"command":"/path/to/codebase-memory-mcp","args":[]}}}