# GitPeak

> GitPeak is an open-source MCP server. Git context for AI agents: status, staged diff, commit log, repo health, merge risk, line history. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/awalhadi/gitpeak/tree/HEAD/packages/gitpeak-mcp
- **MCP Registry name:** io.github.awalhadi/gitpeak
- **Listing updated:** 2026-11-13

## About

Git context for AI agents: status, staged diff, commit log, repo health, merge risk, line history

## Install

### Claude Code (Terminal)

```sh
claude mcp add gitpeak -- npx -y gitpeak-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gitpeak": {
      "command": "npx",
      "args": [
        "-y",
        "gitpeak-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gitpeak": {
      "command": "npx",
      "args": [
        "-y",
        "gitpeak-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gitpeak": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gitpeak-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gitpeak": {
      "command": "npx",
      "args": [
        "-y",
        "gitpeak-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gitpeak": {
      "command": "npx",
      "args": [
        "-y",
        "gitpeak-mcp"
      ]
    }
  }
}
```

## FAQ

### Is GitPeak free?

Yes. GitPeak is open source, so you can use and self-host it for free.

### How do I add GitPeak to Claude Code?

Run this command in your terminal: claude mcp add gitpeak -- npx -y gitpeak-mcp

---
Source: https://ai-powered.com/mcp/gitpeak
