talira

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)

Hosted by the maker

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

Pricing

Self-hosted GitMCP

You run it, Apache-2.0

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

Self-hosting docs

Capabilities

Has an MCP serverplan not known

Alternatives

The same job

These do what GitMCP does.

  1. Context7 Up-to-date docs for AI agents
  2. DeepWiki AI-generated documentation and Q&A for public GitHub repositories, with a free MCP server
  3. llms.txt The /llms.txt file, helping language models use your website
  4. Repomix Pack a whole repository into one AI-friendly file

Compare GitMCP with the top 3