MCP.Market

whygit MCP server

by Srikarmk·io.github.Srikarmk/whygit·v0.1.2

Read-only Git explainer: what state a repo is in, what an error means, and the exact fix.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

0 stars385 downloads/wk

Reviews

Write one

Nobody has reviewed whygit yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

whygit tools (3)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • diagnose_repo

    Use when a repository seems stuck or broken: lists every problem found (conflicts, rebase in progress, detached HEAD, diverged branch, large or secret files...), most urgent first, each with a plain explanation and the commands for the user to run.

  • explain_git_error

    Use when a git command printed an error (push rejected, authentication failed, unrelated histories, merge conflict...): says what it means and the fix. Pass path to tailor the fix to the repository.

  • explain_state

    Use for a neutral plain-English summary of a repository: branch, upstream and ahead/behind (as of the last fetch), remotes, staged/changed/untracked files, and any operation in progress.

Public scan report

scanner v0.1.10 · 2026-10-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan12 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 6 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How whygit 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
Tools
3
the typical Developer tools server has 7
Tools that change things
0%
typical: 5%. Fewer write tools means less an agent can break
Downloads a week
385
more than 81% of 436 Developer tools servers with a package

What its tools let an agent do: 3 read

Install whygit in Claude Code, Cursor or VS Code

claude mcp add whygit -- uvx whygit
Add to Cursor

What the publisher says

From the whygit repository's README, as published. We do not edit it. Read it on GitHub

whygit

<!-- mcp-name: io.github.Srikarmk/whygit -->

What just happened to my Git repository, and how do I fix it?

whygit looks at a Git repository and tells you, in plain English, what state it is in and which commands will get you out of it: a merge conflict, a rebase stopped halfway, a detached HEAD, a rejected push, a login GitHub won't accept, a 120 MB CSV that GitHub will refuse. Paste it an error message and it explains that too.

It is written for people meeting Git for the first time. Git's own messages are accurate but hard to read; whygit turns them into a short explanation and the exact fix.

It only ever reads your repository. It never runs the fixes it suggests, so you stay in control and learn the commands as you go.

There are two ways to use it, built on the same engine:

reliable diagnosis instead of guessing from git status.

  • On the command line, with no AI tools involved: whygit.
  • As an MCP server, so an assistant such as Claude Code, Claude Desktop or Cursor gets a

Install

whygit needs Python 3.10 or newer and Git. Pick one:

uv tool install whygit     # with uv (https://docs.astral.sh/uv/)
pipx install whygit        # with pipx
uvx whygit                 # run once without installing

This works the same on macOS, Windows and Linux.

Use it from the terminal

Run it inside your project folder:

whygit                    # what's wrong here, most urgent first
whygit status             # a plain summary: branch, upstream, what's changed
whygit explain "fatal: refusing to merge unrelated histories"
git push 2>&1 | whygit explain -

Options: --path (or -C) to look at another folder, --json for machine-readable output, --no-color to turn off colour. Colour is only used in a real terminal and never when NO_COLOR is set.

Exit codes: 0 nothing blocking, 1 something blocking was found, 2 bad usage (for example the folder does not exist), 3 explain did not recognise the message.

Example

$ whygit
whygit: /Users/sam/ds3500/hw2 (branch main)

[BLOCKING] Merge in progress with conflicts in 1 file
  Git tried to combine two lines of work, but both changed the same part of these
  files, so it stopped and is waiting for you to choose what the result should be.
  Nothing is lost while you decide.
  Conflicted files:
    - analysis.py  (both changed)
  How to fix:
    Finish the merge:
      1. Open each file and find the blocks between <<<<<<< and >>>>>>>. The part
         above ======= is one version, the part below is the other. Keep what you
         want, and delete the three marker lines.
      2. git add analysis.py
         Marks the files as resolved
      3. git commit --no-edit
         Records the merge and finishes it
    Or cancel the merge:
      1. git merge --abort
         Puts everything back the way it was before the merge started
  Learn more: https://git-scm.com/docs/git-merge#_how_to_resolve_conflicts

1 blocking. whygit never runs these commands for you; copy the ones you want.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

whygit: common questions

Is whygit MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the whygit safety report
How do I install whygit?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does whygit need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is whygit maintained?
The last commit was 15 days ago (2026-10-20). The latest release is v0.1.2.
What can I use instead of whygit?
Servers from other publishers that do the same job: Sentry MCP server, GitHub MCP server and Gk CLI MCP server.
How does whygit compare with other Developer tools MCP servers?
safety score 92/100 (higher than 90% of 1,119 Developer tools servers); tools 3 (the typical Developer tools server has 7); tools that change things 0% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to whygit

Same job from other publishers: the closest match first, then the best rated.

  • Sentry
    MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
    A
  • GitHub
    Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
    A
  • Gk CLI
    The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
    B
  • Repowise
    Codebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.
    B
  • Git
    Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
    A