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
{
"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