Best pre-commit MCP Servers
A framework for managing and maintaining multi-language pre-commit hooks
Why this server?
Can be used as a pre-commit hook to automatically grade MCP servers before committing changes.
AlicenseAqualityCmaintenanceOpen 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.4228 npm8Apache 2.0Why this server?
Provides hooks for contract-driven test enforcement as a pre-commit step.

io.github.phoeniceofficial
AlicenseAqualityDmaintenanceContract-driven test enforcement and reporting for LLM-generated code via MCP, VS Code, Copilot CLI, Claude, Cursor, or Python SDK.14MITWhy this server?
Integrated as part of the contribution workflow to ensure code quality before submission.
AlicenseAqualityFmaintenanceMCP for Scorable Evaluation Platform312MITWhy 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.21301 npm3Business Source 1.1Why this server?
Supports integration with git pre-commit hooks for automatic graph regeneration to maintain current codebase maps without manual intervention.
AlicenseAqualityAmaintenanceStructural graph map of any codebase. Scans entities, relationships, and feature flows across 13 languages so LLMs navigate by structure instead of reading everything.6458 PyPI87MITWhy this server?
Provides a pre-commit hook configuration to run OKF lint on commits; the hook is lint-only.
AlicenseBqualityBmaintenanceAn MCP server and CLI that checks, maintains, imports, and upgrades Open Knowledge Format bundles — directories of Markdown concepts with YAML frontmatter — reporting findings and applying mechanical repairs locally. It runs one contract for agents, CI, and terminals, with no network access and no writes to git.30Apache 2.0Why this server?
Integrates with pre-commit hooks to refuse commits that introduce duplicate code or documentation, or exceed file size budgets, via `ce precommit` and `ce commitmsg`.
AlicenseBqualityBmaintenanceRead-only reports on a codebase's LLM-induced entropy: exact and near-miss clone blocks, duplicated documentation, dead code with a liveness verdict, size and complexity metrics, architecture and structure axes, merge suggestions and an erase plan. 21 tools over the local ce and ce-core binaries; no model, no network.2120Apache 2.0Why this server?
Enforces policy-as-code checks as a pre-commit hook layer, including secret patterns, doc coverage, and deploy verification.
AlicenseAqualityBmaintenanceEnables AI coding agents to access live operational context like processes, containers, and git state, while providing a tamper-evident audit log and policy-as-code compliance hooks locally.22301 npmBusiness Source 1.1Why this server?
Configures the Governed Agent verification gate as a pre-commit hook for running fail-closed checks on staged files.
AlicenseAqualityAmaintenanceAdaptive Epistemic Triage & Recall Engine (AETRE) — Bayesian Value-of-Information (VOI) and queueing operations engine for academic peer review, grant study sections, and venture capital dealflow.20AGPL 3.0