LocalFree

Codebase Memory MCP server

DeusData/codebase-memory-mcp

Indexes a repo into a persistent local knowledge graph of functions, classes, call chains, HTTP routes and cross-service links, using tree-sitter and LSP.

47,886 GitHub stars3.9k forks34,340 npm downloads / month

Install Codebase Memory in Claude Code

npm

Claude Code
claude mcp add codebase-memory -- npx -y codebase-memory-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "codebase-memory": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}

PyPI (uv)

Claude Code
claude mcp add codebase-memory -- uvx codebase-memory-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "codebase-memory": {
      "command": "uvx",
      "args": [
        "codebase-memory-mcp"
      ]
    }
  }
}

MCP Bundle (.mcpb)

Claude Code
curl -LO https://github.com/DeusData/codebase-memory-mcp/releases/download/v0.12.1/codebase-memory-mcp-darwin-amd64.mcpb
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
Download codebase-memory-mcp-darwin-amd64.mcpb and double-click it to install in Claude Desktop.

MCP Bundles install in one click in Claude Desktop. Download the file, then open it.

MCP Bundle (.mcpb)

Claude Code
curl -LO https://github.com/DeusData/codebase-memory-mcp/releases/download/v0.12.1/codebase-memory-mcp-darwin-arm64.mcpb
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
Download codebase-memory-mcp-darwin-arm64.mcpb and double-click it to install in Claude Desktop.

MCP Bundles install in one click in Claude Desktop. Download the file, then open it.

Frequently asked questions

What does the Codebase Memory MCP server do?

Indexes a repo into a persistent local knowledge graph of functions, classes, call chains, HTTP routes and cross-service links, using tree-sitter and LSP.

Is the Codebase Memory MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Codebase Memory run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Codebase Memory to Claude Code?

Run: claude mcp add codebase-memory -- npx -y codebase-memory-mcp

More developer tools MCP servers

View all