Skip to content
  1. Home
  2. MCP servers
  3. GitMCP

GitMCP

Remote server that turns any GitHub repo into a docs source for agents

What it is

A free hosted MCP server: point a client at gitmcp.io/{owner}/{repo} and the agent can read that project's llms.txt, README and docs and search its code. A generic /docs endpoint lets the agent pick the repository itself. Can be self-hosted. Useful for libraries the model does not know well.

Good for

  • Give an agent docs for a niche library
  • Search a public repo's documentation
  • Switch between repos via the generic endpoint

Install or run

npx mcp-remote https://gitmcp.io/{owner}/{repo}

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

None for the hosted service; Node.js if the client needs mcp-remote

Worth knowingCovers public GitHub repositories and Pages; answer quality depends on how well the target project is documented.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • REA: Reverse Engineer Anything

    morluto/rea

    MCP server and CLI for agent-driven reverse engineering of apps and binaries

    MCP serverGitHub stars: 456k
  • Context7

    upstash/context7

    Version-specific library docs and code examples fetched into the agent

    MCP serverGitHub stars: 65k
  • Chrome DevTools for agents

    ChromeDevTools/chrome-devtools-mcp

    Lets a coding agent control and inspect a live Chrome via DevTools

    MCP serverGitHub stars: 55k
  • GitNexus

    abhigyanpatwari/GitNexus

    Indexes a codebase into a graph of symbols, calls and execution flows

    MCP serverGitHub stars: 48k