repo2graph for Gemini CLI
io.github.srinivasan-78/repo2graph
Ask a codebase questions and get cited code back, from a tree-sitter graph of the repo.
client:Gemini CLI
transport:stdio
runtime:pypi
Install repo2graph in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"repo2graph": {
"command": "uvx",
"args": [
"repo2graph"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs