← Index

github-twin

io.github.ChristopherDavenport/github-twin·v0.0.15·Git & Code Hosting
Quality Score
85
/100

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

§00  Trust verdict · v1 advisory ·  method
UNVERIFIEDno verdict on file

Verdict not yet evaluated for this tool. The hybrid eval runs adversarial cases first; coverage rolls out as the corpus expands. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: hybrid eval, four-state verdict, honest limits.

§01  Install
Claude Desktop (uvx)
{
  "mcpServers": {
    "github-twin": {
      "command": "uvx",
      "args": [
        "github-twin"
      ],
      "env": {
        "GITHUB_TOKEN": "<your-github_token>",
        "ANTHROPIC_API_KEY": "<your-anthropic_api_key>",
        "GEMINI_API_KEY": "<your-gemini_api_key>",
        "GT_PATHS__DATA_DIR": "<gt_paths__data_dir>"
      }
    }
  }
}
§02  Environment variables
GITHUB_TOKEN
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
secret

Optional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset.

GEMINI_API_KEY
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

Optional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
15
installability
25
documentation
15
stability
5
§04  Alternatives in Git & Code Hosting