Skip to content

GitMCP: install, tools and limits

Better Design

Direct answer

GitMCP is a free hosted MCP server at gitmcp.io that turns any public GitHub repository or GitHub Pages site into a documentation source, so a coding agent reads the project's current docs and code instead of guessing. It runs over remote HTTP from gitmcp.io, with SSE in the README's VS Code example, needs no sign-in, and exposes 4 tools.

A hand-drawn terminal that connects a coding agent to GitMCP, with the server's name and tool count written beside it.

What GitMCP does

GitMCP is a free hosted MCP server at gitmcp.io that turns any public GitHub repository or GitHub Pages site into a documentation source, so a coding agent reads the project's current docs and code instead of guessing. It is a community project by idosal, not part of the MCP organization, and it is a different project from the reference Git server mcp-server-git, which works on a local repository.

idosal (an individual developer) maintains it. It is licensed under Apache-2.0.

How a coding agent uses GitMCP

The agent asks, GitMCP acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to GitMCP and back: How does this component library handle theming?, Fetches and searches the repository's docs and code, The current docs passages and code.
  1. The agent asks: How does this component library handle theming?
  2. GitMCP acts: Fetches and searches the repository's docs and code
  3. The result comes back: The current docs passages and code

Install GitMCP in Cursor

~/.cursor/mcp.json
{
  "mcpServers": {
    "gitmcp": {
      "url": "https://gitmcp.io/{owner}/{repo}"
    }
  }
}

Install GitMCP in VS Code

.vscode/mcp.json
{
  "servers": {
    "gitmcp": {
      "type": "sse",
      "url": "https://gitmcp.io/{owner}/{repo}"
    }
  }
}

Install GitMCP in Claude Desktop (through mcp-remote)

Claude Desktop (through mcp-remote)
{
  "mcpServers": {
    "gitmcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://gitmcp.io/{owner}/{repo}"
      ]
    }
  }
}

The 4 tools GitMCP gives your agent

GitMCP lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.

  • fetch_<repo-name>_documentation
  • search_<repo-name>_documentation
  • fetch_url_content
  • search_<repo-name>_code

Settings worth knowing in GitMCP

gitmcp.io/{owner}/{repo}
What it changes

Serves the docs and code of one repository.

Server

GitMCP

{owner}.gitmcp.io/{repo}
What it changes

The second documented URL form for one repository.

Server

GitMCP

gitmcp.io/docs
What it changes

A generic endpoint for any repository, with the tools fetch_generic_documentation, search_generic_documentation and search_generic_code.

Server

GitMCP

Documentation order
What it changes

GitMCP reads llms.txt first, then an AI-optimized version of the docs, then README.md.

Server

GitMCP

README badge
What it changes

Shows how many tool calls GitMCP served for a repository.

Server

GitMCP

Sign-in, limits and caveats for GitMCP

Sign-in: None. The README says GitMCP doesn't require authentication.

Limits and price: GitMCP is free; its README says it has 'no associated costs'. Its FAQ limits it to public repositories.

  • The reference Git server mcp-server-git (PyPI, MIT, from the Model Context Protocol project) is a different project: it works on a local repository with 14 tools, such as git_status, git_diff, git_commit and git_merge. Do not mix its install steps with GitMCP's.
  • mcp-server-git without --repository can read and change any repository the process can reach, through git_add, git_commit, git_reset, git_checkout and git_merge; its README says it is 'in early development'.
  • The tool names include the repository name, such as fetch_<repo-name>_documentation; the generic gitmcp.io/docs endpoint uses _generic_ names instead.
  • The README documents no Claude Code or Codex setup; any client that speaks remote MCP can use the gitmcp.io URL.

Use GitMCP for interface work

It lets an agent read a UI library's current docs, such as a component library's repository, before it writes code against that library.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "GitMCP: install, tools and limits" at https://better-design.com/blog/git-mcp and help me apply it to my project.

GitMCP is a free hosted MCP server at gitmcp.io that turns any public GitHub repository or GitHub Pages site into a documentation source, so a coding agent reads the project's current docs and code instead of guessing. It runs over remote HTTP from gitmcp.io, with SSE in the README's VS Code example, needs no sign-in, and exposes 4 tools.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does GitMCP do?

GitMCP is a free hosted MCP server at gitmcp.io that turns any public GitHub repository or GitHub Pages site into a documentation source, so a coding agent reads the project's current docs and code instead of guessing. It is a community project by idosal, not part of the MCP organization, and it is a different project from the reference Git server mcp-server-git, which works on a local repository.

Does GitMCP need an API key or sign-in?

None. The README says GitMCP doesn't require authentication.

Is GitMCP free?

GitMCP is free; its README says it has 'no associated costs'. Its FAQ limits it to public repositories.

Which coding agents can use GitMCP?

Its documentation shows a setup for Cursor, VS Code. Any client that speaks MCP over remote HTTP from gitmcp.io, with SSE in the README's VS Code example can connect.

Where these GitMCP facts come from

Each fact on this page comes from GitMCP's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

GitMCP gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.