The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Git Context MCP listing page.
A local Model Context Protocol (MCP) server that provides structured, high-signal insight into a Git repository, enabling AI coding agents to understand project state, structure, activity, and risk — without uploading or modifying the codebase.
Note
This README was generated usinggit-context-mcpitself, by connecting an AI assistant to the repository through the exposed MCP tools.
AI coding agents (Claude Code, Cursor, Codex, Gemini, etc.) are powerful, but they lack situational awareness when working with non-trivial codebases.
They often struggle to answer questions like:
git-context-mcp solves this by turning Git history and repository structure into explicit, machine-readable context that AI agents can consume before writing or reviewing code.
git-context-mcp is a local-first MCP server focused on development context extraction, not repository manipulation.
It exposes Git-based analysis tools that help AI coding agents quickly understand:
Snapshot of the current Git repository state.
Structured directory tree with identification of important files.
Analysis of Git history to surface frequently modified files.
High-level summary of recent development and technical debt.
Detection of large, complex, or high-churn files.
Transport Type: STDIO
Command:
Arguments:
| Tool | Purpose |
|---|---|
| project_status | Repository state awareness |
| code_map | Structural understanding |
| recent_activity | Development churn analysis |
| work_summary | High-level progress overview |
| risk_scan | Maintenance risk detection |
All tools operate in read-only mode.
MIT License