# GitMCP

> Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

Source: https://talira.ai/catalog/gitmcp-4916vgtw
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: MCP server
- Categories: [ai / agents / docs for agents](https://talira.ai/categories/ai/agents/docs-for-agents), [ai / mcp / servers](https://talira.ai/categories/ai/mcp/servers)
- Platforms: web
- Licence: Apache-2.0
- Pricing: Free
- Free tier: yes
- Self-hostable: yes
- Cloud hosted: yes
- MCP server: yes
- Supports: [MCP](https://talira.ai/standards/mcp.md)

GitMCP turns any [GitHub](https://talira.ai/catalog/github-ppcgj756.md) 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.

## Links

- Website: https://gitmcp.io
- GitHub: https://github.com/idosal/git-mcp
- Docs: https://gitmcp.io

## 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. Price: 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: https://gitmcp.io

### Self-hosted GitMCP

You run it, Apache-2.0. Price: 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: https://github.com/idosal/git-mcp#local-development-setup

## Capabilities

- Has an MCP server: plan not known

## Trust

Overall: 0.40 out of 1.
Signals: maintenance 0.27, adoption 0.79, momentum 0.80, community 0.49, backing 0.00, extensibility 0.20.

- 8.5k GitHub stars
- 16 contributors
- has an MCP server for agents

Warnings:

- last commit 6 months ago

## Alternatives

- [Context7](https://talira.ai/catalog/context7-7maq508q.md): Up-to-date docs for AI agents
- [DeepWiki](https://talira.ai/catalog/deepwiki-1hdwzsq3.md): AI-generated documentation and Q&A for public GitHub repositories, with a free MCP server
- [llms.txt](https://talira.ai/catalog/llms-txt-7hp5kn2g.md): The /llms.txt file, helping language models use your website
- [Repomix](https://talira.ai/catalog/repomix-wb28vn59.md): Pack a whole repository into one AI-friendly file
