# Git MCP Server

Inspect Git history, branches and repository changes through MCP\.

Canonical: https://claudelist.com/listings/mcp-modelcontextprotocol-servers-git

Category: MCP Servers

Source: official · Model Context Protocol

Source checked: 2026-10-14

Website: https://github.com/modelcontextprotocol/servers/tree/main/src/git

Inspect Git history, branches and repository changes through MCP. The linked upstream repository contains the current server source and configuration guidance.

## Install or set up

Install uv. Replace `/absolute/path/to/repo` in the command with a repository path that this server may read. Run the command in Claude Code, then use `/mcp` to confirm the connection. The upstream README also documents broader repository access options.

```sh
claude mcp add git -- uvx mcp-server-git --repository /absolute/path/to/repo
```

Installation guide: https://github.com/modelcontextprotocol/servers/tree/main/src/git
