GitMCP
A remote MCP server that gives the agent docs and code of any public GitHub repository with nothing to install
- 8,495 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Agent queries go to an external cloud service
- The agent reads third-party pages linked from documentation
Install
- Works in
Manual install
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/{owner}/{repo}"
}
}
}File ~/.cursor/mcp.json. Fill in owner and repo or use https://gitmcp.io/docs.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Agent queries go to an external cloud service
- The agent reads third-party pages linked from documentation
This is third-party code. Review the repository files before installing.
What it does
GitMCP turns a public repository or a GitHub Pages site into an MCP server at an address like gitmcp.io/owner/repo. The agent gets tools to fetch the docs, search them, search the code through GitHub and read links referenced in the docs. The server prefers llms.txt, then an AI-oriented docs version, then the README. A generic gitmcp.io/docs endpoint lets the agent pick the repository per request.
Who it is for. For developers working with new or niche libraries the model knows little about.
Good fit when
- The agent gets the API of a new or obscure library wrong
- You want a project's docs connected without any local install
- You need an implementation example from someone else's repository
Not a fit when
- The repository is private
- Code and queries must not go to an external service
Example request
Check the langgraph docs through GitMCP and add memory to my agentMCP
- Transport
- sse, http
- Authentication
- not required
Limitations
Works only with public GitHub repositories. The service is cloud hosted, so it depends on gitmcp.io being reachable; you can self-host it. With the generic endpoint the agent may pick the wrong repository.
How to disable. Remove the gitmcp block from your client's MCP configuration.
FAQ
Do I need an account?
No. The service is free and needs no authentication; the authors say queries are not stored.
Where do the docs come from?
From llms.txt when present, otherwise from an AI-oriented docs version or the README.
Discussion
No questions or reviews yet.
Related
MCP serversDocs MCP Server
Grounded Docs MCP Server
A local MCP server that indexes docs from websites, GitHub, npm, PyPI and files and gives the agent version-aware search
An MCP server for GitLab and self-hosted instances: projects, merge requests, issues, pipelines, wiki and releases
Ref's MCP server: documentation search for APIs and libraries that hands the agent only the relevant parts of pages
mcpdoc
MCP LLMS-TXT Documentation Server
An MCP server from LangChain that serves docs from the llms.txt files you choose, with auditable tool calls
GitVerse MCP: code review and PRs
GitVerse MCP Server
A GitVerse MCP server with 25 bitbucket-mcp-style tools: pull requests, inline code review with verdicts and running GitVerse Actions CI pipelines
An MCP server and CLI for code research: search and understand your project and all of GitHub with fewer tokens
README in short
The README covers two modes: a server per repository and a generic server for any project. It gives configs for Cursor, Claude Desktop via mcp-remote, Windsurf, VS Code, Cline and other clients. It lists the four tools and the order in which documentation sources are picked. It also covers the README badge, privacy and local development. Apache 2.0 licensed.