Comprehensive answers to your questions about codebase-memory-mcp, the high-performance code intelligence MCP server
codebase-memory-mcp is a high-performance code intelligence MCP (Model Context Protocol) server that indexes codebases into a persistent knowledge graph. It provides sub-millisecond query responses and supports 158 programming languages with zero dependencies, delivered as a single static binary.
Installation is simple with our automated installers:
# macOS/Linux
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
# Windows (PowerShell)
Invoke-WebRequest -Uri https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.ps1 -OutFile install.ps1
.\install.ps1
For more installation options and manual installation instructions, visit our Installation Guide.
codebase-memory-mcp auto-detects and configures 11 popular coding agents:
The install script automatically configures MCP entries, instruction files, and pre-tool hooks for each detected agent.
Indexing is extremely fast:
Our benchmarks show we index 120x faster than traditional file-by-file approaches.
We support 158 languages through vendored tree-sitter grammars. Key languages include:
Full language list available in our Features documentation.
14 powerful MCP tools for code analysis:
Each tool provides structured data for AI agents to understand codebases efficiently.
Hybrid LSP combines tree-sitter's syntactic parsing with lightweight semantic type resolution algorithms inspired by major language servers (tsserver, pyright, gopls, rust-analyzer, etc.). It provides:
Available for Python, TypeScript/JS, PHP, C#, Go, C/C++, Java, Kotlin, and Rust.
Our knowledge graph represents code as interconnected nodes and edges:
This structure enables ultra-fast structural analysis and impact mapping.
Several optimizations enable large codebase handling:
We've successfully indexed the Linux kernel (28M LOC) in just 3 minutes.
Yes! codebase-memory-mcp processes 100% locally:
Your code never leaves your machine - ideal for security-sensitive environments.
We implement multiple security layers:
See our Security Policy for details.
No. codebase-memory-mcp processes everything locally:
Your codebase privacy is our priority - we never transmit or store your code externally.
Check these common issues:
For specific agent issues, check our Multi-Agent Support Guide.
Use the built-in update command:
codebase-memory-mcp update
The server also checks for updates on startup and notifies you when a new release is available.
To remove configurations:
codebase-memory-mcp uninstall
This removes all agent configs, skills, hooks, and instructions but keeps the binary and databases. To remove everything:
rm -rf ~/.cache/codebase-memory-mcp/
Join thousands of developers using codebase-memory-mcp