Rigour
Quality gates for AI agents. Lint, test, build checks with memory persistence.
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
Maintainer
Works with
Installation
NPM
npx -y @rigour-labs/mcpManual Installation
npx -y @rigour-labs/mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-scanInitialize 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 initAdd 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"]
}
}
}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-xxxLaunch 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 studioRigour 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.
Rigour Alternatives — Similar Developer Tools Servers
Looking for alternatives to Rigour? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Rigour in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.