github-twin
by github.com/ChristopherDavenport · v0.0.17 · updated May 29, 2026
Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.
Run it locally
Install the package and point your AI client at it.
PyPI
uvx github-twin==0.0.17Environment variables
GITHUB_TOKENsecretGitHub 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_KEYsecretOptional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.
GEMINI_API_KEYsecretOptional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported.
GT_PATHS__DATA_DIROptional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`.
More from github.com/ChristopherDavenport
More MCP servers
Xiangguangyu Mcp Skills
github.com/Chromatic0618
252 AI Skills: MBTI, fact-check, deep analysis. Alipay pay-per-use. Free 10 calls/day.
Chrome DevTools MCP
github.com/ChromeDevTools
MCP server for Chrome DevTools
Kiwoom Securities MCP Server
github.com/ChunSam
Read-only MCP server for the Kiwoom Securities REST API: market data, account inquiry, ISA tax tool
Pingcheck Mcp
github.com/Churman1113
PingCheck status monitoring for AI agents. Read public pages or your own monitors via pk_ API key.
Mcp Apple Music
github.com/Cifero74
Apple Music MCP server — search catalog, manage playlists, and access your library via Claude.
CigarFinder
github.com/Cigarfinder
Search and compare cigar prices from 14+ online retailers