nirholas/github-to-mcp

View on GitHub ↗

Convert GitHub repositories to MCP servers automatically. Extract tools from OpenAPI, GraphQL & REST APIs for Claude Desktop, Cursor, Windsurf, Cline & VS Code. AI-powered code generation creates type-safe TypeScript/Python MCP servers. Zero config setup - just paste a repo URL. Built for AI assistants & LLM tool integration.

31 ★5 forksTypeScriptUpdated 19d ago

What you need to know

Convert any GitHub repository into an MCP server in seconds, giving Claude, ChatGPT, Cursor, Windsurf, Cline, and other assistants instant access to a codebase.

Install

Web UI: paste a GitHub URL at github-to-mcp.vercel.app
CLI: npx @nirholas/github-to-mcp https://github.com/owner/repo
Programmatic: npm package @nirholas/github-to-mcp

Usage

  • Generate an MCP server from a repo, download it, and configure it for Claude Desktop/Cursor/VS Code
  • Generated servers provide get_readme, list_files, read_file, search_code plus extracted API/GraphQL/code tools

Key features

  • Repository classification (API, library, CLI, MCP server, docs)
  • Tool extraction from OpenAPI, GraphQL, gRPC/Protobuf, AsyncAPI, README, and source code
  • Generates TypeScript, Python, or Go MCP servers with client configs and Docker templates
  • Universal tools plus extracted endpoint/function tools
  • Apache 2.0 license

Best for

Turning any GitHub repo into an explorable MCP server for AI assistants.

Clients: Claude Desktop · Cursor · VS Code · ChatGPT · Windsurf · Cline
Documentation ↗

Reviewed 2026-08-11

Topics

aiai-toolsanthropicapiautomationclaudecursordeveloper-toolsgithubgraphqlllmmcpmodel-context-protocolopenapipythontypescript
Stars
31★
Forks
5
Language
TypeScript
License
NOASSERTION
Created
2026-01-17
Last push
2026-08-17