codebase-memory-mcp

Level ALocal

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Overview

codebase-memory-mcp is a local code-intelligence MCP server for developers and coding agents. It links source code, documentation, configuration and infrastructure into a persistent local knowledge graph, exposed through 17 MCP tools for symbol, text and semantic search plus callers, dependencies, source snippets and file outlines. Teams can trace calls across services, follow deployment config back to source, and see which symbols and tests a change may affect. An optional CBM Lens beta adds ar…

⭐ 48.9kDatabaseCRepo ↗Updated 2026-11-19

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "codebase-memory": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/DeusData/codebase-memory-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "codebase-memory": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers