git-mcp
GitMCP is a free, open-source MCP server that connects AI assistants (Claude, Cursor, Copilot) to GitHub repositories, enabling them to access current documentation and code without hallucinations. It runs remotely in the cloud with zero setup—just add a URL to your AI tool's configuration.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | idosal/git-mcp |
| Owner | idosal |
| Primary language | TypeScript |
| License | Apache-2.0 — OSI-approved |
| Stars | 8.2k |
| Forks | 732 |
| Open issues | 75 |
| Latest release | Unknown |
| Last updated | 2026-05-08 |
| Source | https://github.com/idosal/git-mcp |
What git-mcp is
GitMCP implements the Model Context Protocol (MCP) standard to expose GitHub repository data as tools to LLM-powered IDEs and assistants. It supports smart search, documentation fetching (llms.txt, AI-optimized docs, README), and code search, routing requests to GitHub APIs without local installation or authentication setup.
Get the git-mcp source
Clone the repository and explore it locally.
git clone https://github.com/idosal/git-mcp.gitcd git-mcp# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Configuration is JSON-based and IDE-specific (Cursor, Claude Desktop, Windsurf, VSCode, Cline); choose the correct format for your AI assistant to avoid silent failures.
- Generic mode (`gitmcp.io/docs`) provides flexibility but requires clear prompting or context to prevent the AI from accessing unintended repositories; repository-specific URLs (`gitmcp.io/{owner}/{repo}`) are more secure.
- Depends on GitHub's public API; rate limits, outages, or changes to GitHub's API or repository structure may affect availability or require updates.
- Documentation quality depends on the target repository providing llms.txt, structured docs, or a good README; poorly documented projects may still produce suboptimal AI responses.
- No explicit versioning or release cycle documented; pinning or monitoring the remote URL for breaking changes is recommended in production environments.
When to avoid it — and what to weigh
- Private repositories requiring authentication — GitMCP accesses public GitHub repositories only. Private repos or those requiring GitHub tokens are not currently supported based on available documentation.
- Strict data residency or offline-only requirements — GitMCP runs remotely in the cloud and makes live requests to GitHub APIs. Organizations with strict data residency, air-gapped networks, or offline mandates should self-host or avoid.
- Need for guaranteed SLA or commercial support — Project is free and open-source with no stated SLA, support tiers, or commercial backing. Issues (75 open) and no formal release cycle may indicate best-effort maintenance.
- Requirement for granular access control or audit logging — No documentation of fine-grained permissions, audit logs, or approval workflows. The generic mode relies on the AI to 'decide' which repo to access, risking context confusion.
License & commercial use
Licensed under Apache License 2.0 (Apache-2.0), a permissive OSI-approved license. Allows commercial use, modification, and distribution with proper attribution and license inclusion.
Apache-2.0 is a permissive open-source license that explicitly permits commercial use. However, GitMCP is offered as-is with no commercial support, SLA, or warranty. Organizations embedding GitMCP in production workflows assume full responsibility for maintenance, security patches, and feature gaps. Consider self-hosting or contributing back if commercial viability is critical.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Adequate |
| License clarity | Clear |
| Deployment complexity | Low |
| DEV.co fit | Good |
| Assessment confidence | High |
Cloud-hosted service makes live requests to public GitHub repos on behalf of users. README states no personal data collection or query storage, but no formal security policy, audit logs, or third-party penetration testing documented. Users trust GitMCP's cloud infrastructure; supply-chain risk (npm dependencies, API endpoint compromise) and data-in-transit protection should be reviewed before production use. Self-hosting mitigates cloud provider trust but requires securing GitHub API credentials.
Alternatives to consider
Codebase RAG (local or private embeddings)
Self-hosted semantic search over private codebases. No cloud dependency, but requires setup, embedding model hosting, and manual sync of repo changes.
GitHub Copilot / native IDE code intelligence
Copilot uses GitHub's own model and codebase indexing. Built-in, no config, but less flexible for niche libraries and subject to GitHub's training data cutoff.
LangChain / LlamaIndex retrieval agents
Programmatic frameworks for injecting external docs into LLM context. More control and customization, but requires engineering effort and won't integrate as seamlessly into IDEs.
Build on git-mcp with DEV.co software developers
Connect your IDE to live GitHub repositories with GitMCP. Add one URL to Cursor, Claude Desktop, or Windsurf and get accurate, current code examples instantly.
Talk to DEV.coRelated open-source tools
Surfaced by semantic similarity across the DEV.co open-source index.
Related on DEV.co
Explore the category and the services that help you build with it.
git-mcp FAQ
Does GitMCP require GitHub authentication or API tokens?
What data does GitMCP collect from users?
Can I self-host GitMCP?
Which AI assistants are supported?
Custom software development services
DEV.co helps companies turn open-source tools like git-mcp into production software. Our software development services cover the full lifecycle — architecture, web development, integration, and maintenance — delivered by software developers and web developers who ship. Engage our software development agency to implement or customize it for your ai frameworks stack.
Stop AI Hallucinations Today
Connect your IDE to live GitHub repositories with GitMCP. Add one URL to Cursor, Claude Desktop, or Windsurf and get accurate, current code examples instantly.