Back to MCP Servers

Git Context

Local MCP server that provides structured Git repository analysis (project status, recent activity, code map, and risk hotspots) for AI coding agents.

version-controlaiagent

Installation

npx -y git-context-mcp

Configuration

{
  "mcpServers": {
    "git-context-mcp": {
      "command": "npx",
      "args": ["-y", "git-context-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub