Koskamo

repo2graph MCP

A stdio MCP server that allows AI agents to query codebases using an existing repo2graph index. It enables agents to ask questions about the source code and receive answers with citations to specific file and line numbers, supporting both standard and vector-enhanced retrieval.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

repo2graph MCP logo, by Srinivasan-78Community listingLocal stdioSource reviewed; not executedPublished by Srinivasan-78
You need:pip install "repo2graph[mcp]"
Vendor documentation

What you can do with it

  • Ask a codebase a question and get back the source that answers it
  • Get citations to specific file and line numbers for code blocks
  • Query repositories using hybrid BM25 and dense semantic search

Source and maintenance

Community listingRegistry 4.1.0
Maintenance checked

Packages and installation

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

repo2graph 4.1.0

pypiuvx
repo2graph package definition
{
  "version": "4.1.0",
  "transport": "stdio",
  "identifier": "repo2graph",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "packageArguments": [
    {
      "type": "positional",
      "format": "filepath",
      "valueHint": "repo_path",
      "isRequired": true,
      "description": "The repository to serve. Its index is built into <repo_path>/.r2g on the first tool call if one does not exist yet, so no setup step is needed.",
      "placeholder": "/path/to/project"
    }
  ],
  "runtimeArguments": [
    {
      "name": "--from",
      "type": "named",
      "value": "repo2graph[mcp]",
      "description": "The MCP server lives behind the `mcp` extra: the CLI and the GitHub Action never import the SDK, so it is not a runtime dependency of the base package."
    },
    {
      "type": "positional",
      "value": "repo2graph-mcp",
      "valueHint": "command",
      "description": "The console script to run out of that package. The bare `repo2graph` entry point is the CLI, not the server."
    }
  ]
}

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": {
    "repo2graph-mcp": {
      "command": "uvx",
      "args": [
        "repo2graph==4.1.0"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "repo2graph-mcp": {
      "command": "uvx",
      "args": [
        "repo2graph==4.1.0"
      ]
    }
  }
}

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": {
    "repo2graph-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "repo2graph==4.1.0"
      ]
    }
  }
}

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": {
    "repo2graph-mcp": {
      "command": "uvx",
      "args": [
        "repo2graph==4.1.0"
      ]
    }
  }
}

Let your agent find its tools

Find servers like repo2graph MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.