Rigour

v5.2.9Developer Toolsstable

Quality gates for AI agents. Lint, test, build checks with memory persistence.

agentic-workflowaiai-agentsclaude-codecode-quality
Share:
20
Stars
0
Downloads
0
Weekly
0/5

What is Rigour?

Rigour is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to quality gates for ai agents. lint, test, build checks with memory persistence.

Quality gates for AI agents. Lint, test, build checks with memory persistence.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Quality gates for AI agents. Lint, test, build checks with m

Use Cases

Code quality gates for agents
Linting, testing, and build validation
Agent memory persistence
rigour-labs

Maintainer

LicenseMIT
Languagetypescript
Versionv5.2.9
UpdatedApr 27, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @rigour-labs/mcp

Manual Installation

npx -y @rigour-labs/mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Rigour

Rigour is an MCP server that acts as a quality gate system for AI coding agents, providing automated lint, test, and build checks with persistent memory across sessions. It exposes 26 MCP tools covering security vulnerability detection (hardcoded secrets, SQL injection, XSS, CSRF), code complexity analysis, and AI-specific issues like hallucinated imports and phantom API usage. By integrating Rigour into your agent workflow, AI assistants can self-heal code quality issues without human intervention.

Prerequisites

  • Node.js 18 or later with npx available
  • An MCP-compatible client: Claude Desktop, Cursor, or Claude Code
  • A software project with TypeScript, JavaScript, Python, Go, Ruby, C#, Java, Kotlin, or Rust code
  • Optional: Claude API key (sk-ant-...) for deep AI-assisted analysis mode
1

Run a zero-config scan on your project

Use the Rigour CLI to perform an immediate scan of your codebase with no setup required. This identifies security issues, code quality problems, and AI-specific bugs.

npx rigour-scan
2

Initialize Rigour quality gates

Set up persistent quality gates for your project. This creates a configuration that AI agents will check against during code generation.

npx @rigour-labs/cli init
3

Add the MCP server to your AI client configuration

Add Rigour to your MCP client so AI agents can call quality gate checks automatically during coding sessions.

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

Run quality gate checks

Execute all configured quality gates. Use --deep for local AI-powered analysis that provides detailed fix instructions in JSON format for agent self-healing.

npx @rigour-labs/cli check
# or with AI analysis:
npx @rigour-labs/cli check --deep --provider claude -k sk-ant-xxx
5

Launch the monitoring dashboard

Open the Rigour Studio web dashboard to monitor quality gate results, track issues over time, and observe agent self-healing activity.

npx @rigour-labs/cli studio

Rigour Examples

Client configuration

MCP configuration block to add Rigour quality gates to Claude Desktop or Cursor.

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

Prompts to try

Example instructions to give your AI agent once Rigour is connected via MCP.

- "Run rigour quality gates on this file and fix any issues you find"
- "Check for hardcoded secrets or SQL injection vulnerabilities in the codebase"
- "Detect any hallucinated imports in the Python files I just wrote"
- "Run the lint and test gates, then report any failures with suggested fixes"
- "Scan for cyclomatic complexity issues and refactor the most complex functions"

Troubleshooting Rigour

npx @rigour-labs/mcp fails to start

Ensure Node.js 18+ is installed and your network can reach the npm registry. Try 'npm install -g @rigour-labs/mcp' for a global install, then set the command to 'rigour-mcp' in your client config.

Deep analysis mode returns no results

Deep mode requires a valid Claude API key passed via '--provider claude -k sk-ant-xxx'. Verify the key is active and has sufficient quota. Without --deep, basic static analysis still runs without an API key.

Memory persistence not working between sessions

Rigour stores gate state in the project directory. Ensure the working directory is consistent between sessions and the agent has write permissions to the project folder.

Frequently Asked Questions about Rigour

What is Rigour?

Rigour is a Model Context Protocol (MCP) server that quality gates for ai agents. lint, test, build checks with memory persistence. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Rigour?

Install via npm with the command: npx -y @rigour-labs/mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Rigour?

Rigour works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Rigour free to use?

Yes, Rigour is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

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

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Rigour?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides