GitMCP

GitMCP

gitmcp.io is a generic remote MCP server to connect to ANY GitHub repository or project documentation effortlessly

7,034
Stars
587
Forks
0
Releases

Overview

GitMCP is a free, open-source remote MCP server that transforms any GitHub project (repositories or GitHub pages) into a documentation hub. It enables AI tools like Cursor to access up-to-date documentation and code, even if the LLM has never encountered them, thereby eliminating code hallucinations. GitMCP supports two flavors: a Specific Repository flavor (gitmcp.io/{owner}/{repo} or {owner}.gitmcp.io/{repo}) for targeting a small set of libraries, and a Generic Server flavor (gitmcp.io/docs) for flexible, on-demand access to any repository. With GitMCP, AI assistants get the latest docs directly from the source, providing accurate API usage and reliable code examples, and it helps when working with niche or rapidly changing libraries. It prioritizes the llms.txt documentation when present and gracefully falls back to README.md or other pages. It runs in the cloud with zero setup; you simply add the MCP URL to your IDE. Because it is open-source, it can also be self-hosted, and GitMCP emphasizes privacy by not collecting personal data or queries.

Details

Owner
idosal
Language
TypeScript
License
Apache License 2.0
Updated
2025-12-07

Features

Latest Documentation on ANY GitHub Project

Grant your AI assistant seamless access to the GitHub project's documentation and code, with built-in smart search to locate what you need efficiently.

No More Hallucinations

AI assistants obtain accurate, relevant answers by querying the source docs through MCP, reducing hallucinations.

Zero Setup

GitMCP runs in the cloud; simply add the MCP URL to your IDE as a server—no downloads or signups required.

Embedded Chat

Chat directly with the repository's documentation through an in-browser chat interface.

Open, Free, and Private

Open-source and free to use; does not collect personal data or store queries, and can be self-hosted.

Audience

AI assistantsAccess up-to-date GitHub docs and code across AI assistants via MCP.
DevelopersSelf-host and integrate GitMCP into IDEs and workflows to enhance accuracy.
Product teamsUse GitMCP in product development to keep docs synchronized for AI features.

Tags

MCPGitMCPGitHubdocumentationAI assistantsremote serveropen-sourceprivacyself-hosttwo flavorsCursorClaudeWindsurfVSCode