Skip to content

GitMCP

by Ido SalomonConnectorWrite code

Gives your AI assistant the current docs and code of any GitHub project from one URL

View on GitHub

The problem it solves

You ask your assistant how to use a tool, and it confidently describes options that were renamed two versions ago.

For People coding with AI assistantsDevelopers using new or niche libraries

Before
You copy README sections into the chat by hand, or correct the assistant's outdated answers one by one.
After
Your assistant fetches and searches the project's current docs and code on GitHub before it answers.
Stars
★ 8.5k
License
Apache-2.0
Cost
Free
Level
Intermediate
Runs
Cloud

Overview

GitMCP is a free, hosted MCP server that turns a GitHub repository or GitHub Pages site into a documentation source for your AI assistant. You add a URL such as gitmcp.io/owner/repo to your client, or the generic gitmcp.io/docs; the assistant can then fetch and search that project's current docs and code when it answers. It suits people who use AI assistants with libraries and tools that change often or are too new for the model to know.

It needs no download or sign-up: you paste one URL, and the project says it does not store your queries.

Try these first

Start with the first one: it is a small task you can check easily.

  1. Using the GitMCP docs for microsoft/playwright-mcp, how do I install Playwright MCP?First try · read-only

  2. Search the [owner/repo] docs for how to configure [setting] and quote the relevant section.

  3. Find the code example in [owner/repo] that shows [task] and explain it step by step.

Example prompts written by Agent Flows Hub.

Capabilities

From the creator's documentation.

ToolsetWhat your agent can doAccess
Documentation fetchingReads llms.txt, AI-optimised docs or the README of the connected projectPublic GitHub
Documentation searchSearches inside the docs so the assistant uses fewer tokensPublic GitHub
Code searchSearches the project's code for examplesPublic GitHub
Any repositoryThe gitmcp.io/docs endpoint lets the assistant choose a repository per requestPublic GitHub

Good to know

Ask your assistant how to use a library it may not know well. With the project's GitMCP URL connected, it reads the llms.txt file, the docs or the README from GitHub before it answers.

Limits

  • The generic gitmcp.io/docs endpoint relies on the assistant picking the right repository each time; a repository-specific URL keeps it on one project.
  • It reads public GitHub content only, in this order: llms.txt, an AI-optimised docs version, then the README.

Notes by (original project name: GitMCP), written from the creator's documentation, not from running it ourselves. GitMCP README · GitMCP website

Stuck setting it up?

Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.

Get help

Other connectors

  • Google Workspace MCP Lets your AI agent work in Gmail, Calendar, Drive, Docs, Sheets and other Google apps
  • Granola MCP Lets your AI assistant search and answer questions from your Granola meeting notes
  • ha-mcp for Home Assistant Lets your AI assistant control, build and fix automations in your Home Assistant
  • Korean Law MCP Lets your AI agent look up Korean laws and court decisions and check legal citations
  • Linear MCP Lets your AI agent find, create and update issues, projects and comments in Linear
  • Make MCP Server Lets your AI assistant run the automations you built in Make

See all 52 connectors · An MCP server is missing or disconnected

GitHub