Skip to content
Gemini CLI

repo graph for Gemini CLI

io.github.james-chahwan/repo-graph

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

client:Gemini CLI transport:stdio runtime:pypi

Install repo graph in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

repo graph in other clients