git-mcp

git-mcp

GitMCP is a free, open-source remote MCP server that turns any GitHub project into a documentation hub.

MCPDevOpen sourceGitHubMCP文档中心
Type
MCP
Transport
sse
Open source
Yes
GitHub Stars
★ 8.2k
Source
mcp-github

Overview

GitMCP is a free, open-source remote MCP server that converts any GitHub project (repository or GitHub Pages) into a documentation center. It enables AI tools like Cursor to access up-to-date documentation and code, eliminating code hallucinations even when the LLM has never encountered the content before. GitMCP supports two modes: repository-specific and general server. With GitMCP, AI assistants can directly retrieve the latest documentation and code from source, providing accurate API usage guidance and reliable code examples, significantly reducing hallucinations and improving code correctness.

Capabilities

  • Access the latest documentation and code from any GitHub project
  • Intelligent search functionality to help AI quickly find required information
  • Eliminate code hallucinations with accurate answers
  • No installation required—runs entirely in the cloud
  • Supports embedded chat for quick start

Use cases

Assist developers in accessing up-to-date documentation while writing codeProvide reliable code examples when working with new or rapidly changing librariesIntegrate into IDEs to boost coding efficiency

Setup

Requires:
Depending on your AI assistant, update the corresponding configuration file to add the GitMCP URL. For example, in Cursor, update the `~/.cursor/mcp.json` file:
```json
["mcpServers": {
  "gitmcp": {
    "url": "https://gitmcp.io/{owner}/{repo}"
  }
}]```

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

No, GitMCP runs in the cloud—just configure the URL to get started.

No, GitMCP runs in the cloud—just configure the URL to get started.

Is GitMCP收费?

GitMCP is completely free and open-source.

Related skills