Codebase Memory
CommunityMCP server by DeusData · updated · ★ 47k · 5.4k downloads a week
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens. Codebase Memory is a community project by DeusData, not verified by a company domain.
Last commit in the past day
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 46,937 stars, original repository
Not checked yet. What we check
Install Codebase Memory
Built from the published package, never by AIclaude mcp add codebase-memory -- npx -y codebase-memory-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"codebase-memory": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"codebase-memory": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"codebase-memory": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add codebase-memory -- npx -y codebase-memory-mcp{
"mcpServers": {
"codebase-memory": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add codebase-memory npx -y codebase-memory-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the codebase-memory block.
Alternatives to Codebase Memory
All alternatives →Bundled Model Context Protocol servers for Babylon.js authoring workflows
Integration between n8n workflow automation and Model Context Protocol (MCP)
Memory compression system for Claude Code - persist context across sessions
Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.
Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code
Standalone Model Context Protocol client for pi and other applications
Codebase Memory: common questions
How do I install Codebase Memory?
In Claude Code run claude mcp add codebase-memory -- npx -y codebase-memory-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Codebase Memory the official server?
Codebase Memory is a community project by DeusData, not verified by a company domain.
Is Codebase Memory free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Codebase Memory safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Codebase Memory?
Similar MCP servers: MCP Servers, N8n MCP, Claude Mem, ha-mcp.
Does Codebase Memory work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
