Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
open sourceApache-2.0self-hostablefreeMCP
GitMCP turns any GitHub repository or GitHub Pages site into a remote MCP server, so an AI assistant can read the project's latest documentation and code instead of guessing. Use a project-specific URL (gitmcp.io/{owner}/{repo}) or the generic gitmcp.io/docs server that lets the agent choose the repository. It is free and needs no setup beyond adding the URL to your MCP client.
Problems it solves
- my AI assistant makes up APIs for a niche library it barely knows
- point my coding agent at a GitHub repo's docs without installing anything
- the library I'm using is too new for the model's training data
- give Cursor the README and docs of the exact repo I'm working with
- free docs lookup for agents for any open source project
- let the agent search code in a GitHub repo it doesn't have locally
- one URL per repository that my MCP client can use
- fewer hallucinations when using a three.js or other fast-moving library
Features
- per-repository MCP URLs
- generic docs server
- GitHub Pages support
- no install
Ways to run it
GitMCP (gitmcp.io)
free
Only in this edition
- nothing to set up: add a gitmcp.io URL to your MCP client
- no sign-up
- in-browser chat with a repository's docs
Self-hosted GitMCP
free
Not included
- a self-hosting guide: the README documents only local development
You arrange
- a Cloudflare account with Workers, Durable Objects, KV, R2, Vectorize, Workers AI, Queues and Analytics Engine
- a GitHub token
- a Groq API key
- your own domain and routes
- deploys and upgrades with Wrangler
Capabilities
| Has an MCP server | plan not known |
|---|
Alternatives
The same job
These do what GitMCP does.
