
GitMCP Server: Setup for Claude, Cursor and Other Apps
Lets Claude, Cursor and other assistants read the latest docs and code of any public GitHub project.
GitMCP is a free hosted server that turns a public GitHub project into a documentation source for your assistant. You add a URL, such as the generic one for any repo or one for a single repo, and the assistant reads docs and searches code from the source instead of guessing. No sign-up or API key is needed.
It is a community project, not made by GitHub, and it is open source under Apache 2.0, so you can host it yourself. It only reads public content. Use a single-repo URL when you want the assistant locked to one project.
Good for
- Developers who work with libraries that are new or change often and want answers from the current docs
- People who want an assistant to search a repo's code without cloning it
- Anyone who wants a free, no-account setup: paste one URL
Works in
14 should work
Tap an app to see how to set it up and any known problems.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Install git MCP
Claude Code
- 1
Copy this prompt.
Add the git MCP server to Claude Code. Run this command: claude mcp add --transport http git https://gitmcp.io/docs Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Built from the package data we hold. Not yet tested by us.
Tools
Finds the GitHub owner and repo for a library name
Turns a library name such as "react" into the GitHub owner and repo that the other tools need. If it finds nothing, the assistant tries the name directly.
Try: “Which GitHub repo is the three.js library?”
Network ·
match_common_libs_owner_repo_mappingGets the main docs for any GitHub repo
Retrieves the primary documentation of a repo you name by owner and project. The README says it prefers an llms.txt file and falls back to the README.
Try: “Fetch the docs for the langchain-ai/langgraph repo and tell me what it is for.”
Network ·
fetch_generic_documentationSearches a repo's docs for the part you need
Runs a meaning-based search through a repo's documentation, so the assistant gets only the relevant parts instead of the whole file.
Try: “Search the Playwright MCP docs for how to run in headless mode.”
Network ·
search_generic_documentationSearches the code of a GitHub repo
Searches a repo's code using GitHub code search and returns matching files, 30 results per page.
Try: “Find where retries are implemented in the openai/whisper repo.”
Network ·
search_generic_codeOpens a link mentioned in the docs and returns its text
Fetches the content of any absolute URL, such as a page the docs point to, while respecting that site's robots.txt rules.
Try: “Open the link from that README about the API reference and summarize it.”
Network ·
fetch_generic_url_content
Read from the source code
Permissions
low risk · 3 things to watch
Low risk
The assistant can only read public docs and code, but your questions go through a hosted service run by the project. Do not put private details in prompts you send through it, and use a single-repo URL if you want it limited to one project.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only modeHow to turn it on
Watch out for
Your queries go to a third-party server
Requests run on gitmcp.io. The README says it does not store queries or personal data, and that you can self-host it. github.com
It can open any link in the docs
The URL tool fetches any absolute address the assistant gives it, respecting robots.txt. Keep it to public pages. github.com
Public repos only
It reads content that is already public and only when you ask. It does not scrape on its own. github.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Turning on read-only | All five tools only fetch or search public content; none writes to GitHub or your machine. There is no write tool to turn off. |
|---|---|
| Talks to | gitmcp.io (hosted by the project). GitHub and GitHub Pages sites you ask about |
| Sign-in and keys | No account or API key. The README says it does not require authentication. |
Questions
Is GitMCP official?
No. It is a community project, not made by GitHub. The README says it is not affiliated with GitHub or any of the AI tools it works with.
Is GitMCP free?
Yes. The README says it is free with no costs, and the code is open source under Apache 2.0.
Do I need an account or API key?
No. The README says it needs no sign-up or authentication. You paste the URL into your assistant.
What URL do I use?
Use gitmcp.io/docs for any repo, gitmcp.io/{owner}/{repo} for one repo, or {owner}.gitmcp.io/{repo} for a GitHub Pages site. The generic URL lets the assistant pick the repo per request.
Is the tool list the same for every URL?
No. A single-repo URL gives tools named after that repo for docs and code, plus the URL fetcher. The generic URL gives the five tools listed here, which take an owner and repo each time.
Can I run it on my own server?
Yes. The README says it can be self-hosted, and the repo has local development steps.
Which apps does it work with?
Any app that supports MCP, per the README, which has setup steps for Cursor, Claude Desktop, Windsurf, VS Code and Cline. Use the install box above for your app.
Information
updated Nov 2, 2026
- Publisher
- Community
- Endpoint
https://gitmcp.io/docs- Transport
- Streamable HTTP
- Auth
- None
- License
- Apache-2.0
- Last commit
- May 8, 2026
- Open issues
- 61
Other Git MCP servers
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 4Hide
- GitMCP README · github.com
- Shared tools · github.com
- Generic endpoint tools · github.com
- Live tools/list on the hosted generic endpoint (2026-11-02) · gitmcp.io