@paretools/git
v0.16.2
Published
MCP server for Git — structured status, log, diff, and branch data for AI agents
Maintainers
Readme
@paretools/git
Structured, token-efficient git output for AI agents. Up to 92% fewer tokens than raw git CLI output.
Part of the Pare suite of MCP servers.
Tools (10)
| Tool | Description |
| ---------- | -------------------------------------------------------------------- |
| status | Working tree status (branch, staged, modified, untracked, conflicts) |
| log | Commit history as structured data |
| diff | File-level diff stats, optional full patch content |
| branch | List, create, or delete branches |
| show | Commit details and diff stats for a given ref |
| add | Stage files for commit |
| commit | Create a commit with structured result (hash, stats) |
| push | Push commits to a remote repository |
| pull | Pull changes from a remote with conflict detection |
| checkout | Switch branches or restore files |
Quick Start
npx -y @paretools/gitAdd to your MCP client config:
{
"mcpServers": {
"pare-git": {
"command": "npx",
"args": ["-y", "@paretools/git"]
}
}
}Example
status output:
{
"branch": "main",
"upstream": "origin/main",
"ahead": 2,
"staged": [{ "file": "src/index.ts", "status": "modified" }],
"modified": ["README.md"],
"untracked": ["temp.log"],
"clean": false
}All Pare Servers (240 tools)
| Package | Tools | Wraps | | -------------------------------------------------------------------- | --------------------------------------------------------------------------- | ---------------------------------- | | @paretools/git | status, log, diff, branch, show, add, commit, push, pull, checkout | git | | @paretools/test | run, coverage | pytest, jest, vitest, mocha | | @paretools/npm | install, audit, outdated, list, run, test, init | npm | | @paretools/build | tsc, build, esbuild, vite-build, webpack | tsc, esbuild, vite, webpack | | @paretools/lint | lint, format-check, prettier-format, biome-check, biome-format | eslint, prettier, biome | | @paretools/python | pip-install, mypy, ruff-check, pip-audit, pytest, uv-install, uv-run, black | pip, mypy, ruff, pytest, uv, black | | @paretools/docker | ps, build, logs, images, run, exec, compose-up, compose-down, pull | docker, docker compose | | @paretools/cargo | build, test, clippy, run, add, remove, fmt, doc, check | cargo | | @paretools/go | build, test, vet, run, mod-tidy, fmt, generate | go, gofmt |
Compatible Clients
Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex
