Best pre-commit MCP Servers
A framework for managing and maintaining multi-language pre-commit hooks
Why this server?
Integrated as part of the contribution workflow to ensure code quality before submission.
AlicenseAqualityFmaintenanceMCP for Scorable Evaluation Platform312MITWhy this server?
Provides hooks for contract-driven test enforcement as a pre-commit step.

io.github.phoeniceofficial
AlicenseAqualityCmaintenanceContract-driven test enforcement and reporting for LLM-generated code via MCP, VS Code, Copilot CLI, Claude, Cursor, or Python SDK.14MITWhy this server?
Provides pre-commit hooks to enforce compliance (e.g., commit discipline, documentation).

ContextEngineofficial
AlicenseAqualityAmaintenancePersistent memory and mechanical enforcement for AI coding agents — so they stop repeating your mistakes.211,576 npm3Business Source 1.1Why this server?
Provides a pre-commit hook that runs prumo checks before each commit.
AlicenseAqualityAmaintenanceChecks the context files a coding agent reads (CLAUDE.md, AGENTS.md, SKILL.md, .cursor/rules) against the git index of a repository, and reports wrong letter case, broken links, missing paths, commands nothing defines and agent configuration that points at nothing. Two more tools report which sections drifted from the code and what each file costs; zero dependencies, stdio, Node 18 or newer.243,143 npm2MITWhy this server?
Can be used as a pre-commit hook to automatically grade MCP servers before committing changes.

Polygraphofficial
AlicenseAqualityAmaintenanceOpen behavioral litmus for MCP servers — grades A–F across tool-output injection, egress, sensitive-data, and adversarial-input, with reproducible, content-addressed evidence. Tools: run_litmus, verify_attestation.4120 npm8Apache 2.0Why this server?
Integrates with pre-commit hooks to block insecure code before it reaches the repository.
Why this server?
Provides a pre-commit hook to automatically scan staged changes for security issues before committing.
AlicenseBqualityBmaintenanceMCP server that enables AI coding tools to scan projects for security vulnerabilities, secret leaks, and compliance issues, generating Korean-language audit reports.119PolyForm Noncommercial 1.0.0Why this server?
Mentioned as part of the contribution workflow, allowing developers to enforce code quality standards through pre-commit hooks.
AlicenseBqualityDmaintenanceLLM Driven Trading Platform Orchestration - Strategy Design, Research & Implementation50120PythonMITWhy this server?
Enables automated Mermaid diagram validation within pre-commit hooks to maintain documentation quality and prevent syntax errors from being committed to a codebase.
AlicenseBqualityDmaintenanceA tool for validating Mermaid diagram syntax through CLI and MCP interfaces, providing real-time error checking and line-specific feedback. It enables AI assistants to self-validate and debug generated diagrams across all Mermaid types, ensuring valid visual documentation.125 npm2MIT