github-twin MCP Server
io.github.ChristopherDavenport/github-twin
What this kind of tool is for
- Automate a build, test, or deployment step you repeat by hand.
- Review or refactor code in an existing repository without leaving your agent.
- Bridge an internal service or CLI into the agent toolset.
How to compare servers like this
- Scope of control:
- Repos and CI are hard to undo; prefer tools that ask before anything irreversible.
- Environment fit:
- Match the runtime it expects (Node, Python, a container) to what you actually run.
- Maintenance signal:
- Check the last-commit date — dev tooling that lags upstream breaks first.
- Config surface:
- Prefer tools whose environment-variable or config keys are documented plainly.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the github-twin MCP server?
Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.
How to install github-twin
Copy-paste configuration for popular MCP clients.
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`.
{
"mcpServers": {
"github-twin": {
"command": "uvx",
"args": [
"github-twin",
"serve"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GT_PATHS__DATA_DIR": "<YOUR_GT_PATHS_DATA_DIR>"
}
}
}
}Related MCP servers
Pure-Go browser for AI: fetch pages, render JS without Chromium, return clean Markdown over MCP.

Chrome DevTools MCP
Control and inspect live Chrome browsers for automation, debugging, and performance analysis.
PingCheck status monitoring for AI agents. Read public pages or your own monitors via pk_ API key.
View repository →
CleanSlice
AI-powered architecture guidance for NestJS + Nuxt full-stack apps using CleanSlice conventions
252 AI Skills: MBTI, fact-check, deep analysis. Alipay pay-per-use. Free 10 calls/day.
View repository →
Read-only MCP server for the Kiwoom Securities REST API: market data, account inquiry, ISA tax tool


