Skip to content
MCP server

Codegraph

Semantic code graph: 42 tools, 38 languages. Callers, impact, AI context, memory, PR…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.21.0
Listing updated
5 days ago

About Codegraph

Codegraph is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Semantic code graph: 42 tools, 38 languages. Callers, impact, AI context, memory, PR review.

Install

Run in a terminal

claude mcp add codegraph -- npx -y @astudioplus/codegraph-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codegraph": {
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codegraph": {
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codegraph": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "codegraph": {
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codegraph": {
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}

Pricing

Open source

Codegraph FAQ

Is Codegraph free?

Yes. Codegraph is open source, so you can use and self-host it for free.

How do I add Codegraph to Claude Code?

Run this command in your terminal: claude mcp add codegraph -- npx -y @astudioplus/codegraph-mcp