Skip to content
mcp/skillhub

Git MCP Server

by modelcontextprotocol

A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs

91kPythonstdio

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-git

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

ModelPer 1,000 turnsWith 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 tok

    Shows the commit logs

  • git_branch191 tok

    List Git branches

  • git_create_branch95 tok

    Creates a new branch from an optional base branch

  • git_diff78 tok

    Shows differences between branches or commits

  • git_diff_unstaged76 tok

    Shows changes in the working directory that are not yet staged

  • git_show76 tok

    Shows the contents of a commit, or of a file or directory given as <revision>:<path>

  • git_add74 tok

    Adds file contents to the staging area

  • git_diff_staged70 tok

    Shows changes that are staged for commit

  • git_checkout61 tok

    Switches branches

  • git_commit60 tok

    Records changes to the repository

  • git_reset48 tok

    Unstages all staged changes

  • git_status47 tok

    Shows 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.

  1. Last commit (default branch)

    2026-10-11 · 31d ago · GitHub

  2. Latest release

    2026-10-11 · 31d ago · GitHub · v1.0.0

  3. Package published

    no data · npm/PyPI

  4. 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.

ServerStarsToolsTokens / turnFreshnessRuns
Git (this)91,356121,139Activelocal
PostHog40,338—not measuredActivelocal + hosted
GitHubcompare33,7404611,509Activelocal + hosted
GitDiagram18,3133864Activehosted
Skill Seekers15,180—not measuredActive—
Plg Handler14,805—not measuredActive—
All version control MCP servers

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
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.

View all