Git Why MCP server
io.github.alliecatowo/git-why·v0.2.0Finds the Git commits that explain why code is the way it is: semantic and full-text history search.
not scanned yet
0 stars
Reviews
Write oneNobody has reviewed Git Why yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Git Why tools
No tool declarations could be read from the package source. They show once the server is installed.
How Git Why compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 1,119 Developer tools servers
Release history: 2 versions in the registry since 2026-10-03, latest 2026-10-04, typically one every 1 day.
Install Git Why in Claude Code, Cursor or VS Code
Runs npx -y @alliecatowo/git-why on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add git-why -- npx -y @alliecatowo/git-why
What the publisher says
From the Git Why repository's README, as published. We do not edit it. Read it on GitHub
Git Why
git blame tells you who changed the code. git why finds the history that explains it.
Local-first semantic + full-text search over Git history. It returns the actual commit, its author's real words, and the relevant diff. It retrieves evidence; it does not generate an explanation of its own.
Real output from mise run demo, which rebuilds a small fixture repository from bench/fixtures/demo/build.mjs and runs these two queries against it. Nothing here is hand-written, and you can reproduce it in one command.
For output against real repositories — curl, zod, redis — including a worked case where this is the wrong tool, see docs/examples.md or the recorded terminal sessions.
$ git why "that bizarre bug where reconnecting subscribed twice"
1. 7deab42 Stop duplicate subscriptions after reconnect
2025-11-20 · Maya Chen
Reconnecting re-ran the subscribe handler without clearing the previous
registration, so every reconnect doubled the delivered events.
src/net/socket.ts
-export function connect(url) { return new Socket(url); }
+export function connect(url) {
+ const s = new Socket(url);
+ s.on('reconnect', () => resubscribeOnce(s));
+ return s;
+}$ git why "why do we keep the session when the refresh token is empty?"
1. f17db20 Fix infinite token-refresh loop
2025-11-03 · Maya Chen
Provider X can return an empty refresh token while the current access
token remains valid. Retrying here puts clients into an infinite loop.
src/auth/refresh.ts
export function refresh(session, refreshToken) {
- if (!refreshToken) throw new InvalidTokenError();
+ if (!refreshToken) return session;
return exchange(refreshToken);
}Install
Install from npm (Node >= 22.12):
npm install -g @alliecatowo/git-whyOr with Homebrew (macOS and Linux; pulls in node):
brew install alliecatowo/tap/git-whyOr build from source:
git clone https://github.com/alliecatowo/git-why.git
cd git-why
npm ci
npm run build
npm install -g .The package installs a git-why executable, which Git dispatches as the subcommand git why. No alias setup needed. More install paths — pinned versions, a GitHub release tarball, building from source, uninstalling — are in docs/install.md.
Use it with an agent
Two plugins ship in plugins/:
OpenCode users get opencode/ — an opencode.json with the MCP registration and an AGENTS.md fragment.
What the skill actually teaches is when not to reach for history. It tells an agent to use git log -S when it can name the symbol, because that is a case this tool measurably loses (Hit@10 0.950 against 0.350), and to use code search rather than history for the current state of the code. A skill that claims its own tool is always best makes an agent worse at its job.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Git Why: common questions
- Is Git Why MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Git Why safety report
- How do I install Git Why?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Git Why need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Git Why maintained?
- The last commit was 32 days ago (2026-10-03). The latest release is v0.2.0.
- What can I use instead of Git Why?
- Servers from other publishers that do the same job: Repowise MCP server, Git MCP server and SoloMD MCP server.
Alternatives to Git Why
Same job from other publishers: the closest match first, then the best rated.
RepowiseCodebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.not reviewedEstablishedB- GitComprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.not reviewedEstablishedA
- SoloMDRead and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history.not reviewedEstablishedB
- argotRead-only context and complete checks against patterns learned from git history. Local; no LLM.not reviewedEstablishedB
Obsidian EverywhereGraph context, semantic search, guarded edits, and reviewable Git for local Obsidian vaults.not reviewedGrowingA