Skip to content
Cursor

repo graph for Cursor

io.github.james-chahwan/repo-graph

Structural graph map of any codebase so LLMs navigate by structure, not guesswork.

client:Cursor transport:stdio runtime:pypi

Install repo graph in Cursor

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "repo-graph": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-repo-graph"
      ],
      "env": {
        "REPO_GRAPH_REPO": "<REPO_GRAPH_REPO>"
      }
    }
  }
}

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

repo graph in other clients