Skip to content
Gemini CLI

RepoLens for Gemini CLI

io.github.chapibunny/repolens

Architecture docs from a repo: overview, modules, API surface, routes, dependency graph, diffs.

client:Gemini CLI transport:stdio runtime:npm

Install RepoLens 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": {
    "repolens": {
      "command": "npx",
      "args": [
        "-y",
        "@chappibunny/repolens"
      ],
      "env": {
        "REPOLENS_WORKSPACE": "<REPOLENS_WORKSPACE>"
      }
    }
  }
}

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

RepoLens in other clients