# diffpilot

Reviews Git changes locally before pushing, detects leaked credentials, and crafts conventional commit messages. Operates entirely offline without external APIs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 5
- Author: bkalafat
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/bkalafat/DiffPilot
- Updated: 2026-01-18
- HTML: https://affpapa.org/en/nevibecode/mcp/diffpilot

## What it does

DiffPilot runs static checks and code reviews over your local Git workspace before you open a pull request. It resolves the base branch automatically, picking `main`, `master`, or `develop`. All scans happen on the local machine. This design keeps proprietary code safe inside air-gapped environments or private Azure DevOps repositories.

The server exposes 9 tools through MCP. These tools compose pull request summaries, suggest test cases, calculate line statistics, and draft Conventional Commits. A built-in scanner redacts passwords, JWTs, AWS credentials, and API keys before they reach the review output. It also caps traffic at 120 requests per minute to prevent overload.

Running DiffPilot requires Git and the .NET 9 SDK. Without .NET 9 present on your machine, the binary cannot start.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- review local branch changes before opening a pull request
- spot leaked credentials and tokens before creating a commit
- generate pull request descriptions with review checklists
- get pattern-based test recommendations for altered files

## Example prompts
- Review my staged changes with focus on security and error handling
- Scan changed files for API keys and tokens before committing
- Generate a conventional commit message for the staged changes

## Similar
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [Serena MCP: the IDE for your agent](https://affpapa.org/en/nevibecode/mcp/serena-mcp-the-ide-for-your-agent.md) — MCP server · ★ 30739
- [Repomix](https://affpapa.org/en/nevibecode/mcp/repomix.md) — MCP server · ★ 29037
- [Repowise](https://affpapa.org/en/nevibecode/mcp/repowise.md) — MCP server · ★ 7925
- [sem](https://affpapa.org/en/nevibecode/mcp/sem.md) — MCP server · ★ 3427

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
