Quality gates for AI-generated code. Forces AI agents to meet strict engineering standards with PASS/FAIL enforcement.
npm install @rigour-labs/mcpThe Quality Gate for AI-Assisted Engineering.
Rigour is a local-first Model Context Protocol (MCP) server that forces AI agents (Claude, Cursor, Windsurf, etc.) to meet strict engineering standards before marking tasks as complete.


---
Rigour moves code quality enforcement from the "Post-Commit" phase to the "In-Progress" phase. By running as an MCP server inside your editor, it provides the AI with a deterministic PASS/FAIL loop, preventing "Vibe Coding" and broken builds.
---
| Tool | Description |
|:---|:---|
| rigour_check | Runs all configured quality gates on the current workspace. |
| rigour_explain | Explains why a specific gate failed and provides actionable fix instructions. |
| rigour_check_pattern | Checks if a proposed code pattern already exists in the codebase. |
| rigour_remember | Stores project-specific context or rules in Rigour's persistent memory. |
| rigour_recall | Retrieves stored context to guide AI generation. |
| rigour_security_audit | Runs a live CVE check on project dependencies. |
For next-gen multi-agent workflows (Opus 4.6, GPT-5.3-Codex):
| Tool | Description |
|:---|:---|
| rigour_agent_register | Register agent in session with scope conflict detection. |
| rigour_agent_deregister | Remove agent from session when work is complete. |
| rigour_checkpoint | Record quality checkpoint with drift detection. |
| rigour_handoff | Initiate task handoff to another agent. |
| rigour_handoff_accept | Accept a pending handoff from another agent. |
---
bash
npm install -g @rigour-labs/mcp
`$3
#### Cursor / Claude Desktop
Add the following to your MCP settings:
`json
{
"mcpServers": {
"rigour": {
"command": "npx",
"args": ["-y", "@rigour-labs/mcp"],
"env": {
"RIGOUR_CWD": "/path/to/your/project"
}
}
}
}
``---
For full configuration and advanced usage, visit docs.rigour.run.
---
MIT © Rigour Labs