MCP Directory

codebase-memory-mcp vs CodeGraphContext

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 codebase-memory-mcp

Code intelligence engine that indexes repos into a persistent knowledge graph for AI coding agents.

Unverified
stdio (local)
No auth
C
CodeGraphContext

Index local code into a graph database to give AI assistants deep, queryable code context.

Unverified
stdio (local)
No auth
Python
CategoryDeveloper ToolsDeveloper Tools
LanguageCPython
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars16k3.8k
Last commit1 month ago1 month ago
Verified
Actively maintained
Installcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashpip install codegraphcontext
RepoOpen Open

Verdict

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option.

Pick CodeGraphContext if you need the broadest set of tools.

Add codebase-memory-mcp

Install / run
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "/path/to/codebase-memory-mcp",
      "args": []
    }
  }
}

Add CodeGraphContext

Install / run
pip install codegraphcontext

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "codegraphcontext": {
      "command": "codegraphcontext",
      "args": [
        "mcp",
        "start"
      ],
      "env": {
        "NEO4J_URI": "YOUR_NEO4J_URI",
        "NEO4J_USERNAME": "YOUR_NEO4J_USERNAME",
        "NEO4J_PASSWORD": "YOUR_NEO4J_PASSWORD"
      }
    }
  }
}

FAQ

codebase-memory-mcp or CodeGraphContext — which is better?

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option. Pick CodeGraphContext if you need the broadest set of tools.

Can I use both codebase-memory-mcp and CodeGraphContext?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do codebase-memory-mcp and CodeGraphContext work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.