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.17The 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_TOKENEnv var· optional· secretGitHub 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_KEYEnv var· optional· secretOptional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.GEMINI_API_KEYEnv var· optional· secretOptional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported.GT_PATHS__DATA_DIREnv var· optionalOptional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`.
Links
Listed in the official MCP Registry since May 29, 2026. Mirrored daily; last checked Nov 26, 2026.