MCP.so
Sign In

Rigour

@rigour-labs

About Rigour

Deterministic quality gates for AI coding agents. Rigour runs 23 automated checks on every file AI writes — structural analysis, security scanning, AI-drift detection, and agent governance.

Basic information

Category

Other

Transports

stdio

Publisher

rigour-labs

Submitted by

ASHUTOSH SINGH

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "rigour": {
      "command": "npx",
      "args": [
        "-y",
        "@rigour-labs/mcp"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Rigour?

Rigour is an MCP server that forces AI coding agents (Claude, GPT, Copilot) to write production-grade code. It runs 23 automated quality checks on every file the agent writes, returning PASS/FAIL results that the agent must address before proceeding.

How to use Rigour?

Add Rigour to your Claude Desktop or Cursor config by inserting the JSON snippet under mcpServers with "command": "npx" and "args": ["-y", "@rigour-labs/mcp"]. It runs automatically when the agent writes a file.

Key features of Rigour

  • 23 automated quality checks per file
  • Two-score system: AI Health and Structural scores
  • Detects structural issues (complexity, nesting, long functions)
  • Scans for security vulnerabilities (SQL injection, hardcoded secrets)
  • Identifies AI-drift patterns (hallucinated imports, duplicated functions)
  • Supports TypeScript, JavaScript, Python, Go, Ruby, C#

Use cases of Rigour

  • Enforce production-quality code gates during AI code generation
  • Catch hallucinated imports and duplicated functions across files
  • Prevent hardcoded secrets and security vulnerabilities before commit
  • Ensure consistent error handling and stop retry loops in agents
  • Maintain code quality standards when using multiple AI coding tools

FAQ from Rigour

What checks does Rigour perform?

Rigour runs 23 checks covering structural issues (file size, cyclomatic complexity, deep nesting, long functions), security vulnerabilities (SQL injection, XSS, hardcoded secrets, command injection, path traversal), AI-drift patterns (duplicated functions, hallucinated imports, inconsistent error handling), and agent governance (retry loop breaking, checkpoint enforcement, environment alignment).

How are the two scores calculated?

Both the AI Health Score and Structural Score use severity-weighted deductions: critical issues cost 20 points, high issues cost 10 points, and medium issues cost 5 points.

What programming languages are supported?

Rigour supports TypeScript, JavaScript, Python, Go, Ruby, and C#.

How do I install Rigour?

Install Rigour by adding the provided JSON configuration to your MCP client (e.g., Claude Desktop or Cursor). The server runs via npx -y @rigour-labs/mcp.

Where can I find more information?

The README links to the GitHub repository (github.com/rigour-labs/rigour), npm packages (@rigour-labs/cli, @rigour-labs/core, @rigour-labs/mcp), and the website rigour.run.

Comments

More Other MCP servers