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
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT · Claude Code · Claude.ai
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- 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
- Source review
- 53/100 · Major gaps 1 safety controls not found
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.
- A developer working with a specific repository (e.g., microsoft/playwright-mcp) wants to query the latest API usage in Cursor.
- A developer using GitHub Pages documentation (e.g., langchain-ai.github.io/langgraph) wants to correctly implement a memory feature in Cursor.
- 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.
- A Claude Desktop user wants to integrate GitMCP via npx mcp-remote as a bridge.
- A team using Windsurf or VS Code wants to configure MCP to avoid code hallucinations in their daily work.
- 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)
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
FAQ
Is GitMCP free to use?
How does GitMCP handle privacy?
Does my repository need special configuration to be indexed by GitMCP?
Does GitMCP work with private repositories?
What happens if the GitMCP service is down?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.