What it does
commitcheck reads the most recent 50 commits in a git repository and checks subject length, placeholder subjects such as "wip" or ".", DCO Signed-off-by trailers, malformed trailers, and whether each subject follows the message style the repository already uses. Each finding names its rule and the short sha of the commit it came from. Findings are rated medium, low or info, and the verdict is CLEAN unless a medium finding exists.
It suits a review of commit history before merging, or a check that a repository following the DCO convention keeps its sign-offs. Sign-off is only flagged missing when at least half of the other commits in the range carry a well-formed trailer. A message style is only enforced when one style, conventional or capitalized imperative, covers at least 70 percent of non-merge commits. The same check is available as a CLI, with exit codes for clean, findings, usage error and closed output pipe, and as an MCP tool, check_commits, which takes a path and returns the full report as JSON.
Running it requires Node 20 or newer and git on PATH. Findings are printed newest first, in a deterministic order for a given history.
Limitations and requirements
Requires Node 20 or newer and git available on PATH. Only the last 50 commits are checked. Style detection is statistical, so a short or mixed history may produce no convention findings. Sign-off checks confirm that a Signed-off-by trailer with an email shape exists, not that the signer is the author or that any signature is genuine. Merge commits are identified by a "Merge" subject prefix, so a hand-written subject starting with "Merge" is reported as a merge.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.CloudCorpRecords/commitcheck
Commit message convention and DCO sign-off checker over a git history range.
v0.1.0As shown on registry.modelcontextprotocol.io when we last read it