Skip to content
Cursor

codegraph for Cursor

io.github.codegraph-ai/codegraph

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

client:Cursor transport:stdio runtime:npm

Install codegraph in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

codegraph in other clients