GitMCP▌
by idosal
Supercharge your AI code assistant with GitMCP—get accurate, up-to-date code and API docs from any GitHub project. Free,
Stop vibe-hallucinating and start vibe-coding—GitMCP empowers your AI assistant with instant, up-to-date documentation and code from any GitHub project. This free, open-source server eliminates code hallucinations, providing reliable API usage, accurate code examples, and effective support for even new or niche libraries. With smart search tools and a privacy-first approach, GitMCP helps AIs deliver trustworthy answers by pulling information straight from the source. Enjoy enhanced productivity with lightning-fast access to the latest content, all while keeping your projects secure and your workflow smooth.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / Developers working with unfamiliar or new libraries
- / AI coding assistants needing accurate code examples
- / Teams requiring up-to-date API documentation access
capabilities
- / Fetch documentation from GitHub repositories
- / Search code across any GitHub project
- / Match library names to their repository locations
- / Retrieve content from GitHub Pages and documentation URLs
- / Search documentation semantically with specific queries
what it does
Provides AI assistants with real-time access to documentation and source code from any GitHub repository to eliminate code hallucinations and provide accurate programming information.
about
GitMCP is an official MCP server published by idosal that provides AI assistants with tools and capabilities via the Model Context Protocol. Supercharge your AI code assistant with GitMCP—get accurate, up-to-date code and API docs from any GitHub project. Free, It is categorized under developer tools. This server exposes 5 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install GitMCP in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.
license
Apache-2.0
GitMCP is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
GitMCP
<p align="center"> <img width="884" alt="image" src="https://github.com/user-attachments/assets/2bf3e3df-556c-49c6-ab7b-36c279d53bba" /> </p> <p align="center"> <a href="#-what-is-gitmcp">What is GitMCP</a> • <a href="#-features">Features</a> • <a href="#-getting-started">Getting Started</a> • <a href="#-how-it-works">How It Works</a> • <a href="#-badge">Badge</a> • <a href="#-examples">Examples</a> • <a href="#-faq">FAQ</a> • <a href="#-privacy">Privacy</a> • <a href="#-contributing">Contributing</a> • <a href="#-license">License</a> </p> <div align="center"> </div> <div align="center"> <a href="https://www.pulsemcp.com/servers/idosal-git-mcp"><img src="https://www.pulsemcp.com/badge/top-pick/idosal-git-mcp" width="400" alt="Pulse MCP Badge"></a> </div>🤔 What is GitMCP?
Stop vibe-hallucinating and start vibe-coding!
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms any GitHub project (repositories or GitHub pages) into a documentation hub. It enables AI tools like Cursor to access up-to-date documentation and code, even if the LLM has never encountered them, thereby eliminating code hallucinations seamlessly.
GitMCP supports two flavors -
- Specific Repository (
gitmcp.io/{owner}/{repo}or{owner}.gitmcp.io/{repo}): Use these when you primarily work with a select number of libraries. This ensures your AI assistant always targets the correct project, enhancing security and relevance by preventing access to unintended repositories. - Generic Server (
gitmcp.io/docs): Use this for maximum flexibility when you need to switch between different repositories frequently. The AI assistant will prompt you (or decide based on context) which repository to access for each request. Be mindful that this relies on correctly identifying the target repository each time.
With GitMCP:
- AI assistants access the latest documentation and code directly from the source.
- Get accurate API usage and reliable code examples.
- Work effectively even with niche, new, or rapidly changing libraries.
- Significantly reduced hallucinations and improved code correctness.
For example, this side-by-side comparison shows the result for the same one-shot prompt in Cursor when creating a three.js scene -
https://github.com/user-attachments/assets/fbf1b4a7-f9f0-4c0e-831c-4d64faae2c45
✨ Features
- 😎 Latest Documentation on ANY GitHub Project: Grant your AI assistant seamless access to the GitHub project's documentation and code. The built-in smart search capabilities help find exactly what the AI needs without using too many tokens!
- 🧠 No More Hallucinations: With GitMCP, your AI assistant can provide accurate and relevant answers to your questions.
- ☁️ Zero Setup: GitMCP runs in the cloud. Simply add the chosen GitMCP URL as an MCP server in your IDE — no downloads, installations, signups, or changes are required.
- 💬 Embedded Chat: Start quickly by chatting directly with the repository's documentation through our in-browser chat!
- ✅ Open, Free, and Private: GitMCP is open-source and completely free to use. It doesn't collect personal information or store queries. You can even self-host it!
<video src="https://github.com/user-attachments/assets/2c3afaf9-6c08-436e-9efd-db8710554430"></video>
🚀 Getting Started
Using GitMCP is easy! Simply follow these steps:
Step 1: Choose the type of server you want
Choose one of these URL formats depending on what you want to connect to:
- For GitHub repositories:
gitmcp.io/{owner}/{repo} - For GitHub Pages sites:
{owner}.gitmcp.io/{repo} - For a generic tool that supports any repository (dynamic):
gitmcp.io/docs
Replace {owner} with the GitHub username or organization name, and {repo} with the repository name.
For your convenience, you can also use the conversion tool on the landing page to format the GitHub URL into an MCP URL!
Step 2: Connect your AI assistant
Select your AI assistant from the options below and follow the configuration instructions:
Connecting Cursor
Update your Cursor configuration file at ~/.cursor/mcp.json:
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/{owner}/{repo}"
}
}
}
Connecting Claude Desktop
- In Claude Desktop, go to Settings > Developer > Edit Config
- Replace the configuration with:
{ "mcpServers": { "gitmcp": { "command": "npx", "args": [ "mcp-remote", "https://gitmcp.io/{owner}/{repo}" ] } } }
Connecting Windsurf
Update your Windsurf configuration file at ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"gitmcp": {
"serverUrl": "https://gitmcp.io/{owner}/{repo}"
}
}
}
Connecting VSCode
Update your VSCode configuration file at .vscode/mcp.json:
{
"servers": {
"gitmcp": {
"type": "sse",
"url": "https://gitmcp.io/{owner}/{repo}"
}
}
}
Connecting Cline
Update your Cline configuration file at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json:
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/{owner}/{repo}",
"disabled": false,
"autoApprove": []
}
}
}
Connecting Highlight AI
- Open Highlight AI and click the plugins icon (@ symbol) in the sidebar
- Click Installed Plugins at the top of the sidebar
- Select Custom Plugin
- Click Add a plugin using a custom SSE URL
Plugin name: gitmcp
SSE URL: https://gitmcp.io/{owner}/{repo}
For more details on adding custom MCP servers to HighlightAI, refer to the documentation.
Connecting Augment Code
- Open Augment Code settings
- Navigate to the MCP section
- Add a new MCP server with the following details:
Name the MCP server: git-mcp Docs
Use this command:
npx mcp-remote https://gitmcp.io/{owner}/{repo}
Or use the following configuration:
{
"mcpServers": {
"git-mcp Docs": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{owner}/{repo}"
]
}
}
}
Connecting Msty AI
- Open Msty Studio
- Go to Tools > Import Tools from JSON Clipboard
- Paste the following configuration:
{
"mcpServers": {
"git-mcp Docs": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{owner}/{repo}"
]
}
}
}
For more details on configuring MCP servers in Augment Code, visit the Augment Code documentation.
Note: Remember to replace
{owner}and{repo}with the actual GitHub username/organization and repository name. You can also use the dynamic endpointhttps://gitmcp.io/docsto allow your AI to access any repository on demand.
⚙ How It Works
GitMCP connects your AI assistant to GitHub repositories using the Model Context Protocol (MCP), a standard that lets AI tools request additional information from external sources.
What happens when you use GitMCP:
- You provide the GitMCP URL to your AI assistant (e.g.,
gitmcp.io/microsoft/typescript). GitMCP exposes tools like documentation fetching, smart search, code search, etc. - Prompt the AI assistant on documentation/code-related questions.
- Your AI sends requests to GitMCP to use its tools (with your approval).
- GitMCP executes the AI's request and returns the requested data.
- Your AI receives the information and generates a more accurate, grounded response without hallucinations.
Supported Documentation
GitMCP currently supports the following documents (in order of priority):
- llms.txt
- AI-optimized version of the project's documentation
README.md/root
💡 Examples
Here are some examples of how to use GitMCP with different AI assistants and repositories:
Example 1: Using Windsurf with a specific repository
For the GitHub repository https://github.com/microsoft/playwright-mcp, add https://gitmcp.io/microsoft/playwright-mcp as an MCP server to Windsurf.
Prompt to Claude:
"How do I use the Playwright MCP"
Windsurf will pull the relevant documentation from GitMCP to implement the memory feature correctly.
Example 2: Using Cursor with a GitHub Pages site
For the GitHub Pages site langchain-ai.github.io/langgraph, add https://langchain-ai.gitmcp.io/langgraph as an MCP server to Cursor.
Prompt to Cursor:
"Add memory to my LangGraph agent"
Cursor will pull the relevant documentation and code from GitMCP to correctly implement the memory feature.
Example 3: Using Claude Desktop with the dynamic endpoint
You don't have to pick specific repositories. The generic gitmcp.io/docs endpoint allows AI to pick the GitHub project on the fly!
Prompt to any AI assistant:
"I want to learn about the OpenAI Whisper speech recognition model. Explain how it works."
Claude will pull the data from GitMCP and answer the question.
🛠️ Tools
GitMCP provides AI assistants with several valuable tools to help them access, understand, and query GitHub repositories.
fetch_<repo-name>_documentation
This
FAQ
- What is the GitMCP MCP server?
- GitMCP is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for GitMCP?
- This profile displays 72 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.7 out of 5—verify behavior in your own environment before production use.
Use Cases▌
Extended AI Capabilities
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Context Enhancement
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Workflow Automation
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Implementation Guide▌
Prerequisites
- ›Claude Desktop 0.7.0+ or Cursor IDE with MCP support
- ›Basic understanding of MCP architecture and capabilities
- ›Access credentials for integrated services (if required)
- ›Willingness to experiment and iterate on configuration
Time Estimate
15-60 minutes depending on server complexity
Installation Steps
- 1.Install MCP server: npm install -g [package-name] or via GitHub
- 2.Add server configuration to ~/.claude/mcp.json
- 3.Provide required credentials and configuration
- 4.Restart Claude Desktop to load new server
- 5.Test basic functionality with simple prompts
- 6.Explore capabilities and experiment with use cases
- 7.Document successful patterns for reuse
Troubleshooting
- ⚠MCP server not loading: Check config syntax, verify installation
- ⚠Connection errors: Check network, firewall, credentials
- ⚠Feature not working: Read server docs, check required parameters
- ⚠Performance issues: Monitor resource usage, check for network latency
- ⚠Conflicts with other servers: Check port assignments, namespace collisions
Best Practices▌
✓ Do
- +Read server documentation thoroughly before setup
- +Start with simple use cases to validate functionality
- +Test in non-production environment first
- +Monitor resource usage and performance
- +Keep servers updated for bug fixes and new features
- +Document configuration for team members
- +Use environment variables for sensitive configuration
✗ Don't
- −Don't grant overly permissive access to MCP servers
- −Don't skip reading security considerations in docs
- −Don't expose sensitive data without proper controls
- −Don't run untrusted MCP servers without code review
- −Don't ignore error messages—investigate root cause
💡 Pro Tips
- ★Combine multiple MCP servers for powerful workflows
- ★Create custom MCP servers for your specific needs
- ★Share successful configurations with team
- ★Use MCP inspector for debugging
- ★Join MCP community for tips and troubleshooting
Technical Details▌
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
- Model Context Protocol (MCP)
- JSON-RPC 2.0
- stdio or HTTP transport
Compatibility
- Claude Desktop
- Cursor IDE
- Custom MCP clients
When to Use This▌
✓ Use When
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid When
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.
Integration▌
- →Tool composition: Chain multiple MCP tools in workflows
- →Context augmentation: Provide AI with relevant external data
- →Action delegation: Let AI execute tasks on external systems
- →Bidirectional sync: Keep AI context and external systems in sync
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
List & Promote Your MCP Server
Share your MCP server with the developer community
Ratings
4.7★★★★★72 reviews- ★★★★★Meera Flores· Dec 28, 2024
I recommend GitMCP for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Arjun Sharma· Dec 24, 2024
Useful MCP listing: GitMCP is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Dhruvi Jain· Dec 20, 2024
We evaluated GitMCP against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Aisha Smith· Dec 20, 2024
We wired GitMCP into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Meera Sanchez· Dec 12, 2024
GitMCP is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Meera Johnson· Dec 8, 2024
GitMCP reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Arjun Martin· Nov 27, 2024
GitMCP is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Oshnikdeep· Nov 11, 2024
Useful MCP listing: GitMCP is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Hassan Smith· Nov 11, 2024
According to our notes, GitMCP benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Hassan Johnson· Nov 3, 2024
GitMCP reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 72