# GitHub to MCP Converter

> GitHub to MCP Converter is an open-source MCP server for developer tools. Turns any GitHub repository into a runnable MCP server for AI assistants. It is available on Web, CLI, API and self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Web, CLI, API, self-hosted
- **Repository:** https://github.com/nirholas/github-to-mcp
- **MCP Registry name:** io.github.nirholas/github-to-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes a generator that reads a GitHub repository and produces an MCP server, so assistants like Claude Desktop or Cursor can read files, search code and call endpoints found in that repo without manual copy-pasting. It classifies the repository first (API, CLI, library and so on), then runs extractors over OpenAPI and GraphQL specs, README examples, and source code for supported languages.

Output can be TypeScript (the default), Python or Go, and the generator bundles dependencies, client configuration snippets and optional Docker files. It is available as a hosted web app, a CLI run via npx, and a TypeScript API.

The tool suits developers who want an assistant to work against a specific codebase or API spec. The README notes that extraction quality depends on how well the repo is documented, that the Go output is experimental, and that GitHub rate limits apply without a token.

## Features

- **Repository type classification:** Detects whether a repo is an API, SDK, CLI, library, MCP server or documentation before choosing extraction strategies.
- **Multi-source tool extraction:** Builds tools from OpenAPI, GraphQL, gRPC, README examples, and source code annotations.
- **Multi-language server output:** Generates TypeScript, Python or Go MCP server code using the relevant SDK.
- **Client configuration files:** Produces config snippets for Claude Desktop, Cursor and other MCP clients.
- **Interactive playground:** Lets users try generated tools in the web app before downloading the server.

## Good for

- Give an AI assistant read and search access to an unfamiliar codebase
- Expose a documented REST or GraphQL API as tools for an assistant
- Prototype an MCP server from an existing open-source library
- Test generated tools in a browser playground before deploying them

## Tools

- `get_readme`: Retrieve the repository's README content
- `list_files`: List files and directories at a given path
- `read_file`: Read the contents of a specific file
- `search_code`: Search for patterns across the repository

## FAQ

### Is it free to use?

The repository is licensed under Apache 2.0, and the README describes a CLI, a programmatic API and a web app. It does not list pricing for the hosted app.

### Do I need a GitHub token?

Not strictly. Without one, GitHub API requests are limited to 60 per hour; a token raises the limit to 5,000 per hour and is needed for private repositories.

### Which languages can the generated server be written in?

TypeScript is the default and most mature output, Python is functional but may need edits, and Go is experimental.

### Is GitHub to MCP Converter free?

Yes. GitHub to MCP Converter is open source, so you can use and self-host it for free.

### What are the best alternatives to GitHub to MCP Converter?

The closest alternatives to GitHub to MCP Converter are GitHub, Git MCP Server, Git MCP, awesome-mcp-servers and MCP Foundry — Build, Test & Publish MCP Servers.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.

## Alternatives

- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Git MCP Server](https://ai-powered.com/mcp/git-mcp-server): Git MCP Server is an open-source MCP server for developer tools.
- [Git MCP](https://ai-powered.com/mcp/git-mcp): Git MCP is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [MCP Foundry — Build, Test & Publish MCP Servers](https://ai-powered.com/mcp/mcp-foundry-build-test-and-publish-mcp-servers): MCP Foundry — Build, Test & Publish MCP Servers is a freemium MCP server for developer tools.
- [AI Tool Discovery Agent](https://ai-powered.com/mcp/ai-tool-discovery-agent): AI Tool Discovery Agent is an open-source MCP server for developer tools.
- [MCPProxy](https://ai-powered.com/mcp/mcpproxy): MCPProxy is an open-source MCP server for developer tools.
- [Llmmcp](https://ai-powered.com/mcp/llmmcp): Llmmcp is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/github-to-mcp-converter
