Official reference serverLocalFree

Git MCP server

modelcontextprotocol/git

Tools to read, search, and manipulate Git repositories.

91,711 GitHub stars12k forks

Install Git in Claude Code

Claude Code
claude mcp add git -- uvx mcp-server-git
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}

Frequently asked questions

What does the Git MCP server do?

Tools to read, search, and manipulate Git repositories.

Is the Git MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Git run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Git to Claude Code?

Run: claude mcp add git -- uvx mcp-server-git

More version control MCP servers

View all