repo2graph for Cursor
io.github.srinivasan-78/repo2graph
Ask a codebase questions and get cited code back, from a tree-sitter graph of the repo.
client:Cursor
transport:stdio
runtime:pypi
Install repo2graph in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"repo2graph": {
"type": "stdio",
"command": "uvx",
"args": [
"repo2graph"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs