MCP server
by idosal
Supercharge your AI code assistant with GitMCP—get accurate, up-to-date code and API docs from any GitHub project. Free,
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.
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.
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.
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.
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
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
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
Share your MCP server with the developer community
I recommend GitMCP for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Useful MCP listing: GitMCP is the kind of server we cite when onboarding engineers to host + tool permissions.
We evaluated GitMCP against two servers with overlapping tools; this profile had the clearer scope statement.
We wired GitMCP into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
GitMCP is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
GitMCP reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
GitMCP is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Useful MCP listing: GitMCP is the kind of server we cite when onboarding engineers to host + tool permissions.
According to our notes, GitMCP benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
GitMCP reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 72
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 -
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.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:
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
<video src="https://github.com/user-attachments/assets/2c3afaf9-6c08-436e-9efd-db8710554430"></video>
Using GitMCP is easy! Simply follow these steps:
Choose one of these URL formats depending on what you want to connect to:
gitmcp.io/{owner}/{repo}{owner}.gitmcp.io/{repo}gitmcp.io/docsReplace {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!
Select your AI assistant from the options below and follow the configuration instructions:
Update your Cursor configuration file at ~/.cursor/mcp.json:
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/{owner}/{repo}"
}
}
}
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{owner}/{repo}"
]
}
}
}
Update your Windsurf configuration file at ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"gitmcp": {
"serverUrl": "https://gitmcp.io/{owner}/{repo}"
}
}
}
Update your VSCode configuration file at .vscode/mcp.json:
{
"servers": {
"gitmcp": {
"type": "sse",
"url": "https://gitmcp.io/{owner}/{repo}"
}
}
}
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": []
}
}
}
Plugin name: gitmcp
SSE URL: https://gitmcp.io/{owner}/{repo}
For more details on adding custom MCP servers to HighlightAI, refer to the documentation.
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}"
]
}
}
}
{
"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.
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:
gitmcp.io/microsoft/typescript). GitMCP exposes tools like documentation fetching, smart search, code search, etc.GitMCP currently supports the following documents (in order of priority):
README.md/rootHere are some examples of how to use GitMCP with different AI assistants and repositories:
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.
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.
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.
GitMCP provides AI assistants with several valuable tools to help them access, understand, and query GitHub repositories.
fetch_<repo-name>_documentationThis
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ 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.