GitMCP: Live Documentation MCP Server for Any GitHub Project

Turn any GitHub repo or Pages site into an up-to-date documentation hub for AI assistants, eliminating code hallucinations.

Source repo
idosal/git-mcp
Stars
★ 8.5k
Last updated
6mo ago
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
Hosted serviceMCP serverSelf-hosted service
Works with
Universal · cross-platformChatGPT · Claude Code · Claude.ai
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
npx (for remote MCP clients)Network access
Typical use
A developer working with a specific repository (e.g., microsoft/playwright-mcp) wants to query the latest API usage in Cursor.
Not a fit if
  • Teams needing private repository access
  • Teams requiring fully offline or local-only data
  • Projects with poor or missing documentation
Website
gitmcp.io ↗ set on GitHub
Maintenance
No commits for 6+ monthslast commit 2026-05-08+0.7 ★/day over 7 days

What does this agent do, and when should you use it?

GitMCP is a free, open-source, hosted remote MCP (Model Context Protocol) server that gives AI coding tools like Cursor, Claude Desktop, Windsurf, and others access to the latest documentation and code from any public GitHub repository. It prioritizes llms.txt files, falls back to README.md or other pages, and offers smart search and code search tools, enabling AI to get accurate information and dramatically reduce hallucinations. The service requires zero setup, is private (no auth, no query storage), respects robots.txt for GitHub Pages sites, and can be self-hosted. Licensed under Apache-2.0.

GitMCP receives requests from AI assistants via the MCP protocol and responds with tool calls: fetching the repository's primary documentation (fetch_<repo>_documentation, typically from llms.txt or README.md); searching documentation intelligently (search_<repo>_documentation); fetching content from links referenced in documentation (fetch_url_content); and searching code via GitHub's code search (search_<repo>_code). For the dynamic endpoint gitmcp.io/docs, tools are named fetch_generic_documentation, search_generic_documentation, and search_generic_code, and require additional repository info. The flow: user provides the GitMCP URL, AI sends tool calls, GitMCP fetches from GitHub and returns data, AI generates grounded answers.

  1. A developer working with a specific repository (e.g., microsoft/playwright-mcp) wants to query the latest API usage in Cursor.
  2. A developer using GitHub Pages documentation (e.g., langchain-ai.github.io/langgraph) wants to correctly implement a memory feature in Cursor.
  3. A user who frequently switches between multiple repositories wants to use the dynamic endpoint gitmcp.io/docs so the AI can pick the right repo on the fly.
  4. A Claude Desktop user wants to integrate GitMCP via npx mcp-remote as a bridge.
  5. A team using Windsurf or VS Code wants to configure MCP to avoid code hallucinations in their daily work.
  6. A user wants to chat directly with a repo's documentation via the embedded in-browser chat without any IDE setup.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Config files
~/.cursor/mcp.json ~/.codeium/windsurf/mcp_config.json .vscode/mcp.json

How do you install or deploy this agent?

No installation is required; GitMCP runs in the cloud. Choose one of these URL formats: for GitHub repositories, use https://gitmcp.io/{owner}/{repo}; for GitHub Pages sites, use https://{owner}.gitmcp.io/{repo}; for a dynamic endpoint, use https://gitmcp.io/docs. Then configure your AI assistant: for Cursor, add the URL to ~/.cursor/mcp.json; for Claude Desktop, add {"command": "npx", "args": ["mcp-remote", "https://gitmcp.io/{owner}/{repo}"]} to the config; for Windsurf, edit ~/.codeium/windsurf/mcp_config.json with "serverUrl"; for VS Code, edit .vscode/mcp.json with type "sse". No registration or credentials needed.

How do you use this agent?

After configuring the MCP server, simply ask your AI assistant questions; it will automatically call GitMCP tools when needed. For example, with Windsurf connected to gitmcp.io/microsoft/playwright-mcp, prompt "How do I use the Playwright MCP". For a GitHub Pages site, add https://langchain-ai.gitmcp.io/langgraph and prompt "Add memory to my LangGraph agent". For the dynamic endpoint, just ask about a specific repository and the AI will query it automatically.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Provides up-to-date documentation and code from any public GitHub repo, significantly reducing AI hallucinations.
  • Zero setup: no downloads, installs, or signups; works instantly.
  • Open-source and free, with self-hosting options for privacy.
  • Supports a wide range of AI tools including Cursor, Claude Desktop, Windsurf, VS Code, Cline, Highlight AI, Augment Code, and Msty AI.
  • Built-in smart search and code search to optimize token usage.
Limitations
  • Dependent on GitMCP cloud service; may be unavailable during outages or network issues.
  • Only supports public GitHub repositories; private repos are not accessible.
  • Documentation quality depends on the repo's llms.txt or README.md; poorly documented repos may yield limited results.
  • For the dynamic endpoint, the AI may misidentify the target repository, leading to inaccurate responses.
  • As a free service, there may be rate limits or future monetization changes.

How does this agent compare with similar options?

The README mentions the GitHub repository mrdoob/three.js as an example but does not name any alternative MCP servers or similar tools, so no comparison is provided.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
GitMCP: Live Documentation MCP Server for Any GitHub Project This agent 53 · Major gaps Hosted serviceFree ★ 8.5k 6mo ago TypeScript ChatGPT · Claude Code · Claude.ai
ContextStream MCP Server 52 · Major gaps — ★ 49 today Rust ChatGPT · Codex · Claude Code · Claude.ai
wcgw Local Coding Terminal 47 · Major gaps MCP serverFree + model costs ★ 678 2mo ago Python Claude.ai
aisync 70 · Some gaps CLIFree ★ 53 2d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
53/ 100 5-point scale 2.7 / 5
Trust 12/29
Reliability 5/14
Adaptability 14/18
Convention 10/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The tools are described as reading repository documentation, code, and linked content; the README says they use public content and follow robots.txt for GitHub Pages. This supports reasonable scope and visible external effects. The README says AI requests require user approval, but the code shown has no confirmation mechanism, and the dynamic endpoint can target different repositories per request, so confirmation and target constraints are only partial. Privacy claims are mainly assertions in the README; the supplied code does not show logging, retention, secret handling, or the full network boundary. The dependency list contains no security audit evidence. Source attribution is described generally as access to GitHub projects, but per-result provenance is not shown. No rollback or recovery process is evidenced.

Reliability5 / 14 · 1.8/5

The README's setup and tool descriptions broadly align with the registration entry point, but it claims documentation and code search while the supplied implementation does not show the handlers. package.json says 1.0.0 while the MCP server declares 1.1.0, an unexplained inconsistency. CI workflow files show test jobs, but the lockfile is only referenced, not supplied, and no results are provided; dependency availability therefore remains partly evidenced. The sample shows little user-facing failure handling.

Adaptability14 / 18 · 3.9/5

The README addresses multiple MCP clients and documentation/code lookup scenarios, with both fixed-repository and dynamic-repository modes and several usage examples. Tool responsibilities and a read-only hint are described, but the generic URL fetcher accepts any absolute URL and the sample does not show its complete boundary checks. Documentation priority and client configuration are useful, while hosted-service, compatibility, and environment prerequisites remain partly unspecified.

Convention10 / 18 · 2.8/5

The README has a clear table of contents and sections for setup, workflow, tools, examples, FAQ, privacy, and contribution. Setup covers several clients and local development, though dependency and runtime details are limited. Tool names combine repository-specific dynamic names with a generic URL tool; the test sample also shows an exception, so naming stability is weakly evidenced. The README identifies Apache-2.0 and the repository includes that license text, but package.json says ISC, so license metadata conflicts and earns only partial credit. A version is present but no changelog is supplied. A vulnerability reporting route exists, while maintenance ownership and update commitments remain general.

Effectiveness9 / 13 · 3.5/5

Repository-specific or dynamic documentation and code search, plus fetching linked pages, can provide useful context to coding assistants; the README explains the tools and intended use. Claims of reduced hallucinations, accuracy, and low token use are product assertions without adequate independent support in this sample. A free hosted endpoint and self-hosting option lower adoption costs, but external-service dependence and self-hosting maintenance costs are not quantified.

Verifiability3 / 8 · 1.9/5

The tool-registration code and README partly corroborate the product's main function. Test examples show expected tool names and content assertions, but this static review does not claim that tests passed. Accuracy, privacy, and performance benefits are mainly asserted in the README, and the supplied code does not establish some privacy behaviors. The documentation distinguishes steps, tools, and examples, but does not clearly separate product claims from verified facts, so only partial credit is warranted.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • The README and package.json disagree on the license (Apache-2.0 versus ISC); verify the applicable license before use or redistribution.
  • The dynamic endpoint and generic URL fetcher broaden the accessible target scope; the supplied sample does not show complete URL validation or network boundary enforcement.
  • Privacy and accuracy benefits are mainly documentation claims; the supplied code sample does not establish query retention, logging, or result-level provenance.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision c487a29895dc
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/git-mcp.svg)](https://followagents.com/en/agents/git-mcp)
<a href="https://followagents.com/en/agents/git-mcp"><img src="https://followagents.com/badge/git-mcp.svg" alt="FARS review"></a>

FAQ

Is GitMCP free to use?
Yes, GitMCP is a free service with no associated costs and no registration required.
How does GitMCP handle privacy?
GitMCP does not collect personally identifiable information, does not store queries, and only accesses publicly available content when a user queries it. For GitHub Pages, it respects robots.txt rules, and you can self-host for full control.
Does my repository need special configuration to be indexed by GitMCP?
No, but adding an llms.txt file is recommended for optimal results; otherwise it falls back to the README.md or documentation pages.
Does GitMCP work with private repositories?
No, GitMCP currently only supports public GitHub repositories.
What happens if the GitMCP service is down?
You can self-host it by cloning the repository and running the local development server, but you will need to maintain your own deployment.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts