GitMCP Server

GitMCP is a free, open-source MCP server that transforms any GitHub project into a documentation hub, enabling AI tools to access up-to-date documentation and code to eliminate hallucinations.

Get this MCP server

GitMCP is a free, open-source MCP server that transforms any GitHub project into a documentation hub, enabling AI tools to access up-to-date documentation and code to eliminate hallucinations.

Installation

Direct URL

Use URL format: gitmcp.io/{owner}/{repo} or {owner}.gitmcp.io/{repo} or gitmcp.io/docs

Configuration

Cursor

{
  "mcpServers": {
    "gitmcp": {
      "url": "https://gitmcp.io/{owner}/{repo}"
    }
  }
}

Claude Desktop

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

Windsurf

{
  "mcpServers": {
    "gitmcp": {
      "serverUrl": "https://gitmcp.io/{owner}/{repo}"
    }
  }
}

VSCode

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

Available Tools

Tool Description
fetch_<repo-name>_documentation Retrieves primary documentation from a GitHub repository, providing a project overview
search_<repo-name>_documentation Performs intelligent searches across repository documentation to find relevant sections
fetch_url_content Extracts content from links mentioned in documentation and converts it to a readable format
search_<repo-name>_code Performs searches across the current repository code using GitHub code search to find implementation details

Capabilities

  • Access the latest documentation from any GitHub project with intelligent search capabilities
  • Eliminate AI hallucinations with accurate and up-to-date information
  • Zero setup — runs in the cloud with no downloads or installations required
  • Built-in chat for direct interaction with documentation
  • Open source, completely free, and privacy-focused
  • Supports both specific repositories and dynamic repository selection
  • Works with any public GitHub repository without modifications
  • Prioritizes llms.txt files and uses README.md as a fallback

Usage Examples

How do I use the Playwright MCP
Add memory to my LangGraph agent
I want to learn about the OpenAI Whisper speech recognition model. Explain how it works

Notes

GitMCP supports two modes: specific repository URLs for targeted access and a general server for maximum flexibility. It supports llms.txt, AI-optimized documentation, and README.md files in priority order. The service includes a repository badge system and respects robots.txt rules for GitHub Pages sites.

Comments (0)

Sign In Sign in to leave a comment.

Spark Drops

Weekly picks: best new AI tools, agents & prompts

Venture Crew
Terms of Service

© 2026, Venture Crew