</>MCP Agents Market
MCP Server

git-mcp

by idosal8.3kTypeScriptUpdated 2026-05-08

Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

CursorClaude DesktopWindsurfVSCodeClineHighlight AIAugment CodeMsty AI

GitMCP is a cloud-hosted MCP server that connects AI assistants to any GitHub repository's documentation and source code. It eliminates code hallucinations by providing AI tools with access to current documentation, README files, and code directly from GitHub repositories or GitHub Pages sites. Developers simply add a GitMCP URL to their AI assistant's configuration—no installation, authentication, or downloads required. The server supports both repository-specific endpoints for focused work and a generic endpoint for dynamic multi-repository access.

Key Features

Zero-setup cloud deployment accessible via simple URL configuration
Access to latest documentation from any public GitHub repository or GitHub Pages site
Smart search capabilities that locate relevant documentation without excessive token usage
Repository-specific endpoints (gitmcp.io/{owner}/{repo}) for targeted library access
Generic endpoint (gitmcp.io/docs) for dynamic multi-repository queries
Supports llms.txt, AI-optimized documentation, and README.md files in priority order
Documentation search, code search, and URL content fetching tools
Privacy-focused design with no authentication, personal data collection, or query storage

Use Cases

  • 01Accessing accurate API documentation for libraries not in the AI model's training data
  • 02Working with rapidly evolving frameworks that frequently change their APIs
  • 03Getting reliable code examples from niche or newly released open-source projects
  • 04Integrating documentation from GitHub Pages sites into AI-assisted development workflows
  • 05Reducing hallucinations when building with specialized or domain-specific libraries
  • 06Switching between multiple library documentations during polyglot development

Related MCP Servers

View more

git-mcp — FAQ

What is GitMCP?+

GitMCP is a free, open-source remote MCP server that transforms any GitHub repository or GitHub Pages site into a documentation hub accessible by AI assistants. It provides tools for fetching documentation, searching code, and retrieving content to eliminate code hallucinations.

How do I connect GitMCP to Cursor or Claude Desktop?+

For Cursor, add the GitMCP URL to ~/.cursor/mcp.json under mcpServers with the format gitmcp.io/{owner}/{repo}. For Claude Desktop, configure the MCP settings using npx mcp-remote with the same URL pattern. Both require replacing {owner} and {repo} with actual GitHub values.

Which AI clients work with GitMCP?+

GitMCP works with any AI assistant supporting the Model Context Protocol, including Cursor, Claude Desktop, Windsurf, VSCode, Cline, Highlight AI, Augment Code, and Msty AI.

Does GitMCP require API keys or authentication?+

No, GitMCP requires no API keys, authentication, sign-ups, or downloads. It accesses only publicly available GitHub content and runs entirely in the cloud.

Is GitMCP free to use?+

Yes, GitMCP is completely free and open-source under the Apache License 2.0. It can also be self-hosted if you prefer to run it in your own environment.

What documentation formats does GitMCP support?+

GitMCP prioritizes llms.txt files first, then AI-optimized documentation versions, and finally README.md files or root documentation pages. It works with any public GitHub repository without requiring modifications.

How do I install git-mcp?+

Open the source repository on GitHub and follow its README. git-mcp is a mcp server — MCP Agents Market links you directly to the official repo.

Is git-mcp free?+

git-mcp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches