Koskamo

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.

github-twin MCP logo, by ChristopherDavenportCommunity listingLocal stdioSource reviewed; not executedPublished by ChristopherDavenport
You need:Required scopes: repo , read:org , user:email .
Vendor documentation

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

Community listingRegistry 0.0.17
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

github-twin 0.0.17

pypiuvx
github-twin package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.