# gitwhy-mcp

> Use this tool when you need to capture and share the reasoning behind code changes, or search for the context behind specific commits or pull requests. Gitwhy-mcp solves the problem of lost knowledge and context switching by providing a shared AI context engine for git, allowing coding agents to access the "why" behind every code change. It takes in commit and pull request data and outputs searchable, shareable context for more informed coding decisions.

Canonical page: https://skillsregistry.net/skills/gitwhy-cli-gitwhy-mcp  
JSON: https://api.skillsregistry.net/v1/skills/gitwhy-cli-gitwhy-mcp

## Description

The shared AI context engine for git — save, search, and share the reasoning behind code changes. Captures the why behind every commit and slide on PRs for coding agents.

## Trust

- **Trust score (0–1):** 0.89
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ij5288ar90)
- **Repository:** <https://github.com/gitwhy-cli/gitwhy-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "gitwhy-cli-gitwhy-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/gitwhy-cli-gitwhy-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/gitwhy-cli-gitwhy-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
