git-mcp

MCP.Pizza Chef: idosal

When an assistant invents a function that does not exist, it is usually guessing at a library it half-remembers. GitMCP fixes that by fetching the current documentation and code straight from the repository, so answers match the version that actually shipped. It runs in the cloud for free — you paste a web address of the form gitmcp.io/owner/repo into Cursor, Claude Desktop, VS Code, Windsurf, or Cline. Nothing to download, no signup, and it stores neither your identity nor your questions.

Coding
Web/Research

Use This MCP server To

Get answers based on a library's current documentation Stop the assistant inventing functions that do not exist Ask questions about a brand-new open-source project Chat with a repository's docs in the browser Point my editor at the exact project I am using

README

GitMCP

image

What is GitMCP • Features • Getting Started • How It Works • Badge • Examples • FAQ • Privacy • Contributing • License

GitMCP Twitter Follow Twitter Follow

Pulse MCP Badge

🤔 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 -

git-mcp FAQ

Do I need an account or a key?
No — GitMCP is free, runs in the cloud, and asks for no signup.
Which apps does this work in?
Cursor, Claude Desktop, VS Code, Windsurf, Cline, Highlight AI, and Augment Code, among others.
Can I use this to learn a library that came out last month?
Yes — it reads the project's documentation live, so recent releases are covered.
How hard is setup?
You paste a short snippet containing the project's address into your assistant's settings. There is nothing to install.
What can it read?
Public GitHub repositories and GitHub Pages documentation sites. You can also run your own copy.
Is my activity recorded?
The project states that it collects no personal information and does not store queries.
Do I have to pick one project up front?
Not necessarily — there is a general address that lets you switch between repositories as you go.