
Git MCP Server
A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs
context tax
~1,139 tok/turn12 tools
security
95/100
cold start
3022 ms
freshness
Active31d ago
Our reading of Git, from the data
Git is a version control MCP server from modelcontextprotocol.
Its 12 tools add about 1,139 tokens to every model turn, in line with the version control median of 1,256 tokens across 54 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 31 days ago (2026-10-11). For comparison, 65% of version control servers are active or maintained.
With 91,356 GitHub stars it ranks #1 of 725 version control servers we index.
It runs locally on your machine over stdio.
Install Git MCP server
Install in Claude Code
claude mcp add git -- uvx mcp-server-gitInstall in Cursor
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"git": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test pypi:mcp-server-git
Context tax
Connecting this server adds ~1,139 tokens of tool definitions to every model turn (moderate, 12 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $4.56 | $0.228 |
| Claude Sonnet 5.5 | $2.28 | $0.228 |
| Claude Haiku 5.5 | $0.114 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (12)
git_log261 tokShows the commit logs
git_branch191 tokList Git branches
git_create_branch95 tokCreates a new branch from an optional base branch
git_diff78 tokShows differences between branches or commits
git_diff_unstaged76 tokShows changes in the working directory that are not yet staged
git_show76 tokShows the contents of a commit, or of a file or directory given as <revision>:<path>
git_add74 tokAdds file contents to the staging area
git_diff_staged70 tokShows changes that are staged for commit
git_checkout61 tokSwitches branches
git_commit60 tokRecords changes to the repository
git_reset48 tokUnstages all staged changes
git_status47 tokShows the working tree status
Security signals
95/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No license detected-5
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 31d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-11 · 31d ago · GitHub
Latest release
2026-10-11 · 31d ago · GitHub · v1.0.0
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
How it compares in Version Control
Against the most-starred version control servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Git (this) | 91,356 | 12 | 1,139 | Active | local |
| PostHog | 40,338 | — | not measured | Active | local + hosted |
| GitHubcompare | 33,740 | 46 | 11,509 | Active | local + hosted |
| GitDiagram | 18,313 | 3 | 864 | Active | hosted |
| Skill Seekers | 15,180 | — | not measured | Active | — |
| Plg Handler | 14,805 | — | not measured | Active | — |
FAQ
›How do I install the Git MCP server in Claude Code?
Run: claude mcp add git -- uvx mcp-server-git. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Git require an API key?
No required environment variables are declared in its published metadata.
›Can I use Git as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Git in the official MCP registry?
No. It was indexed from pypi, awesome-mcp-servers (punkpeye), awesome-mcp-servers (wong2).
›How many tokens does Git add to my context?
Its tool definitions total about 1,139 tokens, resent on every turn.
Sources and method
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Git
Other version control MCP servers.