MCP Server
MCP
github-twin
Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.
Install
uvx github-twin
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"identifier": "github-twin",
"version": "0.0.17",
"runtimeHint": "uvx",
"transport": {
"type": "stdio"
},
"runtimeArguments": [
{
"value": "serve",
"type": "positional"
}
],
"environmentVariables": [
{
"description": "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`).",
"isSecret": true,
"name": "GITHUB_TOKEN"
},
{
"description": "Optional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.",
"isSecret": true,
"name": "ANTHROPIC_API_KEY"
},
{
"description": "Optional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported.",
"isSecret": true,
"name": "GEMINI_API_KEY"
},
{
"description": "Optional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`.",
"name": "GT_PATHS__DATA_DIR"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment