git-mcp
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
GitMCP is a versatile tool designed to enhance AI assistants by providing them with direct access to the latest documentation and code from GitHub repositories. It eliminates the issue of code hallucinations by ensuring that AI tools like Cursor can access accurate and relevant information, even for niche or rapidly changing libraries. GitMCP supports two main configurations: specific repository access for targeted use and a generic server for flexible access across multiple repositories. This tool is particularly beneficial for developers who frequently switch between different projects or work with specialized libraries. GitMCP is cloud-based, requiring no setup, and is open-source, free, and private, ensuring user data is not collected or stored. It supports various AI assistants, including Cursor, Claude Desktop, Windsurf, VSCode, Cline, Highlight AI, and Augment Code, making it a versatile addition to any developer's toolkit.
Features
- Latest Documentation on ANY GitHub Project: Provides seamless access to project documentation and code with smart search capabilities.
- No More Hallucinations: Ensures AI assistants provide accurate and relevant answers.
- Zero Setup: Cloud-based service requiring no downloads or installations.
- Embedded Chat: Allows direct interaction with repository documentation through an in-browser chat.
- Open, Free, and Private: Open-source and free to use, with no personal data collection.
MCP Tools
- {'fetch_
_documentation': 'Retrieves primary documentation from a GitHub repository.'} - {'search_
_documentation': "Allows AI to search through a repository's documentation with a specific query."} - {'fetch_url_content': 'Retrieves content from links mentioned in the documentation.'}
- {'search_
_code': "Searches through the actual code in the repository using GitHub's code search."}
Usage with Different Platforms
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}"
}
}
}
Cline
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/{owner}/{repo}",
"disabled": false,
"autoApprove": []
}
}
}
Frequently Asked Questions
What is the Model Context Protocol?
The Model Context Protocol is a standard that allows AI assistants to request and receive additional context from external sources in a structured manner, enhancing their understanding and performance.
Does GitMCP work with any AI assistant?
Yes, GitMCP is compatible with any AI assistant supporting the Model Context Protocol, including tools like Cursor, VSCode, Claude, etc.
Is GitMCP compatible with all GitHub projects?
Absolutely! GitMCP works with any public GitHub repository without requiring any modifications.
Does GitMCP cost money?
No, GitMCP is a free service to the community with no associated costs.
Related MCP Servers
View all developer_tools servers →context7
by upstash
Context7 MCP provides up-to-date, version-specific documentation and code examples directly into your prompt, enhancing the capabilities of LLMs by ensuring they use the latest information.
exa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
github-mcp-server
by github
The GitHub MCP Server is a Model Context Protocol server that integrates with GitHub APIs for automation and interaction.
deepwiki-mcp
by regenrek
This is an unofficial Deepwiki MCP Server that processes Deepwiki URLs, crawls pages, converts them to Markdown, and returns documents or lists by page.
terraform-mcp-server
by hashicorp
The Terraform MCP Server is a Model Context Protocol server that integrates with Terraform Registry APIs for advanced automation in Infrastructure as Code development.
Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a comprehensive test server designed to demonstrate the full capabilities of the Model Context Protocol (MCP). It is not intended for production use but serves as a valuable tool for developers building MCP clients.