Skip to main content

github-twin

io.github.ChristopherDavenport/github-twin

v0.0.17Updated May 29, 2026stdio · PyPI

Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add github-twin -- uvx github-twin==0.0.17

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

4 settings.

  • GITHUB_TOKEN
    Env var· optional· secret
    GitHub personal access token. Optional: github-twin can also pick the token up from `gh auth token` or from its own OAuth device-flow login (`gt auth login`).
  • ANTHROPIC_API_KEY
    Env var· optional· secret
    Optional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.
  • GEMINI_API_KEY
    Env var· optional· secret
    Optional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported.
  • GT_PATHS__DATA_DIR
    Env var· optional
    Optional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`.

Listed in the official MCP Registry since May 29, 2026. Mirrored daily; last checked Nov 26, 2026.