DeusData/codebase-memory-mcp is a code intelligence MCP server. It indexes a codebase into a persistent knowledge graph, helping agents such as Claude Code, Codex, Gemini CLI, Aider, and OpenCode query project structure faster.
Project repository:
https://github.com/DeusData/codebase-memory-mcp
Documentation site:
https://deusdata.github.io/codebase-memory-mcp/
One-line Installation
macOS / Linux:
|
|
If you also want to install the graphical interface:
|
|
Windows:
|
|
Manual Installation
After extracting on macOS / Linux:
|
|
Windows:
|
|
Open the UI
|
|
Auto Indexing and Updates
Enable auto indexing:
|
|
Update:
|
|
Uninstall:
|
|
How to Use It
It fits large codebases where agents repeatedly read the same files. For example:
- A legacy project has a complex structure and AI often picks the wrong entry point.
- A multi-language repository needs fast dependency lookup.
- You want to reduce the number of files an agent pushes into context.
- You want to share one code memory through MCP across multiple coding tools.
After installation, ask the agent to start with a small task: explain the project structure, find the call chain of an API, or locate a configuration entry. Once you confirm it can query correctly, use it for real code changes.