@iflow-mcp/rigour-labs-rigour
v2.12.0
Published
Quality gates for AI-generated code. Forces AI agents to meet strict engineering standards with PASS/FAIL enforcement.
Downloads
35
Readme
🛡️ Rigour MCP Server
The 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.
🚀 Overview
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.
Key Features:
- Quality Gates: Deterministic checks for file size, complexity, and hygiene.
- Context Memory: Persistent memory that tracks project rules and patterns across sessions.
- Pattern Reinvention Blocking: Warns or blocks the AI when it tries to rewrite existing utilities.
- Security Audits: Real-time CVE detection for dependencies the AI is suggesting.
- Zero Cloud: 100% local analysis. Your code never leaves your machine.
🛠️ Available Tools
Core Tools
| 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. |
Frontier Model Tools (v2.14+)
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. |
📦 Installation
1. Install via npm
npm install -g @rigour-labs/mcp2. Configure your IDE
Cursor / Claude Desktop
Add the following to your MCP settings:
{
"mcpServers": {
"rigour": {
"command": "npx",
"args": ["-y", "@rigour-labs/mcp"],
"env": {
"RIGOUR_CWD": "/path/to/your/project"
}
}
}
}📖 Documentation
For full configuration and advanced usage, visit docs.rigour.run.
📜 License
MIT © Rigour Labs
