github-twin MCP
A personal RAG over your GitHub history and/or an organizations RAG over its GitHub history. It indexes commits and review comments, and surfaces them as retrieval hits whenever an agent writes or reviews new code in your style. Embeddings are computed locally, and it serves as a stdio server for MCP clients like Claude Code.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Index your own commits and review comments
- Index a whole GitHub org's files-at-HEAD, commits, and PR reviews
- Surface past code as style examples for agents
- Query scope by repo, language, or reviewer login
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
github-twin 0.0.17
{
"version": "0.0.17",
"transport": "stdio",
"identifier": "github-twin",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"runtimeArguments": [
{
"type": "positional",
"value": "serve"
}
],
"environmentVariables": [
{
"name": "GITHUB_TOKEN",
"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`)."
},
{
"name": "ANTHROPIC_API_KEY",
"description": "Optional. Enables the Claude backend for `gt summarize`, `gt distill`, and `gt eval`. Defaults to local Ollama when unset."
},
{
"name": "GEMINI_API_KEY",
"description": "Optional. Enables the Gemini backend for embedding and the LLM seam. Vertex AI ADC via `GT_GEMINI_PROJECT` is also supported."
},
{
"name": "GT_PATHS__DATA_DIR",
"description": "Optional. Override the on-disk data directory holding the SQLite index, embeddings, and cached GitHub responses. Defaults to `$XDG_DATA_HOME/github-twin`."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"github-twin-mcp": {
"command": "uvx",
"args": [
"github-twin==0.0.17"
],
"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>"
}
}
}
}Cline
{
"mcpServers": {
"github-twin-mcp": {
"command": "uvx",
"args": [
"github-twin==0.0.17"
],
"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>"
}
}
}
}VS Code
{
"servers": {
"github-twin-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"github-twin==0.0.17"
],
"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>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"github-twin-mcp": {
"command": "uvx",
"args": [
"github-twin==0.0.17"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like github-twin MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.