Skip to content
Cursor

code-graph for Cursor

io.github.cyberchronos00/cg-code-graph

Local dependency graph: callers, entry points and file:line evidence for what a change affects.

client:Cursor transport:stdio runtime:pypi

Install code-graph in Cursor

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

{
  "mcpServers": {
    "cg-code-graph": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cg-code-graph"
      ]
    }
  }
}

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

code-graph in other clients