1. Conduid
  2. Developer Tools
  3. Rigour
MCP server · Developer Tools

Rigour

The immune system for AI coding agents

57Fair

Scored 21 hours ago · breakdown

About Rigour

Rigour is an MCP server published by rigour-labs in the Developer Tools category: the immune system for AI coding agents. Conduid read 36 tools from its source: grep, read_file, rigour_agent_deregister, rigour_agent_register, rigour_brief, rigour_cache_stats and 30 more. No package is published for it, so it installs from a source checkout.

The repository has 29 stars and 1 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v7.0.13 (16 Oct 2026): Memory's numbers and filter chips count the same lessons; JSON lines measure a tab as 2 columns and keep CRLF endings (c2fb35e) re-pinning a version in a committed JSON… It follows v7.0.12 (16 Oct 2026), and the 5 most recent releases go back to v7.0.9 (16 Oct 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include agentic-workflow, developer-productivity, guardrails, cli, devtools and code-quality.

Install

From source
git clone https://github.com/rigour-labs/rigour

Tools (36)

grepSearch tracked files with an extended regular expression. Returns path:line:text matches.
ParameterTypeDescription
path_globstringOptional pathspec, e.g. "src/**/*.ts".
pattern *string
read_fileRead lines of a repository file, numbered. Use it to check callers, callees, types and constants before claiming a defect.
ParameterTypeDescription
end_lineintegerLast line (at most ${MAX_READ_LINES} lines per call).
path *stringRepository-relative path.
start_lineintegerFirst line, 1-based (default 1).
rigour_agent_deregisterDeregister an agent from the multi-agent session. Use when an agent completes its work or needs to release its scope for another agent.
ParameterTypeDescription
agentId *stringID of the agent to deregister.
rigour_agent_registerRegister an agent in a multi-agent session. Use this at the START of agent execution to claim task scope and enable cross-agent conflict detection. Required for Agent Team Governance.
ParameterTypeDescription
agentId *stringUnique identifier for this agent (e.g., 'agent-a', 'opus-frontend').
taskScope *arrayGlob patterns defining the files/directories this agent will work on (e.g., ['src/api/**', 'tests/api/**']).
rigour_briefBefore writing: with goal, the team's rules, lessons and settled points for the task (max 10, cited); with only files, its word on each file you will edit. A [must] you break blocks at review.
ParameterTypeDescription
filesarrayOptional. Files the task will touch.
goalstringWhat the task is for: the request or the ticket summary.
rigour_cache_statsReturns detailed performance stats across all 4 cache layers (exact hits, semantic hits, partial hits, misses, hit rate, tokens served from cache).
rigour_checkRun quality gate checks on the project. MUST be called before declaring any coding task complete. By default it judges your change as the stop hook and push gate will: FAIL means something in it must be fixed. **Always show the user the headline summary from this tool's output** — it tells them what Rigour caught. If FAIL, call rigour_get_fix_packet for what to fix, with exact file:line.
ParameterTypeDescription
apiBaseUrlstringCustom API base URL for self-hosted/proxy deep endpoints.
apiKeystringOptional cloud API key for deep analysis.
deepstringDeep mode: 'off' (default), 'quick' (deep enabled with lite model), 'full' (deep enabled, combine with pro=true for full deep model).
filesarrayOptional file paths (relative to cwd) to limit scan scope for both deterministic and deep checks.
modelNamestringOverride cloud model name for deep analysis.
probooleanUse full deep model (Qwen2.5-Coder-1.5B) instead of lite (Qwen2.5-Coder-0.5B) when deep is enabled.
providerstringCloud provider for deep analysis (claude, openai, gemini, groq, mistral, together, deepseek, ollama, etc.).
scopestring'change' (default): your change, as the stop hook judges it. 'repo': the whole repository, for an audit, not a fix loop.
rigour_check_deepRun quality gates WITH deep LLM-powered analysis. Three-step pipeline: AST extracts facts → LLM interprets → AST verifies. Local-first by default (Qwen2.5-Coder-0.5B lite sidecar), or bring your own API key for any cloud provider.
ParameterTypeDescription
apiBaseUrlstringCustom API base URL for self-hosted or proxy endpoints.
apiKeystringAPI key for cloud LLM provider. If provided, uses cloud instead of local sidecar.
modelNamestringOverride the default model name for the chosen provider.
probooleanUse full deep model (Qwen2.5-Coder-1.5B) instead of default lite model (Qwen2.5-Coder-0.5B).
providerstringCloud provider name (e.g., 'claude', 'openai', 'gemini', 'groq', 'mistral', 'together', 'fireworks', 'deepseek', 'perplexity', 'ollama', 'lmstudio'). Default: 'claude' when apiKey is provided.
rigour_check_patternCALL THIS BEFORE creating any new function, component, hook, or class. Checks if it already exists in the codebase (prevents duplication), checks for known security vulnerabilities, and BLOCKS writes to protected paths (.github/, CI/CD configs, rigour.yml). Always pass the target file path.
ParameterTypeDescription
filestringTarget file path (relative to cwd) where the code will be written. Used to enforce protected path rules — writes to .github/, rigour.yml, etc. will be BLOCKED.
intentstringWhat the code is for (e.g., 'format dates', 'user authentication').
keywordsarrayOptional. Words for what it does, e.g. ['retry', 'backoff'].
name *stringThe name of the function, class, or component you want to create.
signaturestringOptional. The signature you plan to write, e.g. '(items: T[], size: number) => T[][]'. Matches existing code by shape, not only by name.
typestringThe type of pattern (e.g., 'function', 'component', 'hook', 'type').
rigour_checkpointRecord a quality checkpoint during long-running agent execution. Use periodically (every 15-30 min) to enable drift detection, quality monitoring, and compact subagent handoffs. Triggers incremental pattern index refresh when filesChanged is provided. Essential for GPT-5.3 coworking mode — call BEFORE rigour_handoff to compress context under 2K tokens.
ParameterTypeDescription
agentIdstringOptional agent ID for checkpoint packet binding.
filesChangedarrayList of files modified since last checkpoint. Triggers incremental index refresh.
progressPct *numberEstimated progress percentage (0-100).
qualityScore *numberSelf-assessed quality score (0-100). Be honest - artificially high scores trigger drift detection.
summary *stringBrief description of work done since last checkpoint.
taskIdstringOptional task ID for checkpoint metrics.
rigour_context_explainAudits why specific files/services were included or excluded, cache hit/miss status, invalidation reasons, and prior agent requests.
ParameterTypeDescription
target *stringFile path, service name, or query term to explain.
taskIdstringOptional Task ID to restrict audit trace.
rigour_context_scopeCALL THIS BEFORE reading source files. Returns a minimal editScope (3-10 files) with signatures from the pattern index instead of full file bodies. Uses semantic search when embeddings are available. If index is missing, instructs to call rigour_index first. Highest-impact token saver in the Rigour protocol.
ParameterTypeDescription
agentIdstringOptional agent ID for context telemetry attribution.
limitnumberMaximum number of pattern matches to return (default: 10).
query *stringNatural-language description of what you need to work on (e.g. 'add priority field to task service').
taskIdstringOptional task ID for context telemetry attribution.
rigour_context_statsReturns context retrieval efficiency, candidate tokens vs returned tokens, potential avoided tokens, cache hit rate, and repeated reads prevented.
ParameterTypeDescription
taskIdstringOptional Task ID (e.g. 'CTP-142') to filter statistics.
rigour_deep_statsGet deep analysis statistics from SQLite storage. Returns recent scan scores, top issues, and score trends for a repository.
ParameterTypeDescription
limitnumberNumber of recent scans to return (default: 10).
rigour_explainExplain WHY quality gates failed in human-readable language. Use this to understand the reasoning behind each violation before fixing. For machine-readable fix instructions, use rigour_get_fix_packet instead.
rigour_forgetRemove a stored memory by key.
ParameterTypeDescription
key *stringKey of the memory to remove.
scopestringWhich memory to remove it from. Default: repo.
rigour_get_configReturns the current Rigour configuration (rigour.yml) for agent reasoning.
rigour_get_fix_packetAfter rigour_check FAILs: your change's must-fix items (they block you), then optional notes, paged, each with file:line and the fix. Stay in your change unless a must-fix item names a file. Page with next_offset; re-run rigour_check.
ParameterTypeDescription
limitintegerViolations per page (default 5, maximum 10).
offsetintegerZero-based violation offset. Start at 0, then use the next offset in the response.
rigour_handoffHandoff task to another agent in a multi-agent workflow. Use when delegating a subtask or completing your scope. Enables verified handoff governance.
ParameterTypeDescription
contextstringAdditional context for the receiving agent.
filesInScopearrayFiles relevant to the handoff.
fromAgentId *stringID of the agent initiating the handoff.
taskDescription *stringDescription of the task being handed off.
toAgentId *stringID of the agent receiving the handoff.
rigour_handoff_acceptAccept a pending handoff from another agent. Use to formally acknowledge receipt of a task and verify you are the intended recipient.
ParameterTypeDescription
agentId *stringID of the accepting agent (must match toAgentId in the handoff).
handoffId *stringID of the handoff to accept.
rigour_hooks_checkRun the fast hook checker on specific files. Same checks that run inside IDE hooks (Claude, Cursor, Cline, Windsurf). Catches: hardcoded secrets, hallucinated imports, command injection, file size. Completes in <100ms. NEW: Pass 'text' param for DLP mode — scans user input for credentials (AWS keys, API tokens, database URLs, private keys, JWTs) before agent processing.
ParameterTypeDescription
agentstringAgent name for DLP audit trail (e.g., 'claude', 'cursor'). Only used in DLP mode.
filesarrayList of file paths (relative to cwd) to check.
textstringText to scan for credentials (DLP mode). When provided, scans text instead of files. Use this to validate user input before agent processing.
timeoutnumberOptional timeout in milliseconds (default: 5000).
rigour_hooks_initGenerate hook configs for AI coding tools (Claude, Cursor, Cline, Windsurf). Installs real-time quality checks and non-blocking DLP credential warnings by default. Pass dlp=false to disable DLP hooks only.
ParameterTypeDescription
dlpbooleanGenerate DLP hooks for pre-input credential warnings (default: true). Set false to skip DLP hooks.
dryRunbooleanPreview changes without writing files (default: false).
forcebooleanOverwrite existing hook files (default: false).
tool *stringTarget tool: 'claude', 'cursor', 'cline', or 'windsurf'.
rigour_indexBuild or update the Rigour pattern index (.rigour/patterns.json). CALL THIS when the index is missing or stale — before rigour_context_scope or rigour_check_pattern. One AST pass extracts functions, classes, routes, and signatures for reuse, embedded locally so rigour_check_pattern can match by intent; semantic=false skips the embeddings.
ParameterTypeDescription
forcebooleanForce a full rebuild instead of incremental update. Default: false.
outputstringCustom path for the index file.
semanticbooleanEmbed patterns so an intent can find them (local Transformers.js model). Default: true; false records an explicit opt-out.
rigour_list_gatesLists all configured quality gates and their thresholds for the current project.
rigour_mcp_get_settingsGet Rigour MCP runtime settings for this repository (.rigour/mcp-settings.json).
rigour_mcp_set_settingsSet Rigour MCP runtime settings for this repository. Currently supports deep_default_mode: off | quick | full.
ParameterTypeDescription
deep_default_mode *stringDefault deep mode applied to rigour_check when deep is not passed.
rigour_recallLoad stored conventions. At the START of a task, call it with 'query' describing the task to get the few memories that match by meaning, plus promoted team knowledge when team mode is on. With 'key' it returns that memory; with neither, every repository and user memory.
ParameterTypeDescription
keystringOptional. Key of specific memory to retrieve.
querystringOptional. What you are about to do, e.g. 'add retry to the payments client'. Returns the closest memories by meaning.
rigour_rememberStore an instruction or convention to remember across sessions. Provide 'key' (short snake_case) and 'value' (the full text). scope: 'repo' (default, this repository), 'user' (all your repositories), or 'team' (this repository, and shared as a team candidate that teammates' agents receive once a person promotes it). Values containing credentials are refused.
ParameterTypeDescription
key *stringA short snake_case identifier for this memory, e.g. 'api_response_format', 'naming_convention', 'testing_strategy'. This is used to retrieve the memory later.
scopestringWhere the memory applies. Default: repo.
value *stringThe full instruction or convention text to persist. This is the content that will be recalled in future sessions.
rigour_reviewReview the change you just made before calling it done: runs Rigour's gates and keeps only findings on changed lines, each with file, line and a suggested fix. With no diff it reads your uncommitted work from git (new files included); pass base to review the whole branch (e.g. 'main'). Same verdict as `rigour review` in CI.
ParameterTypeDescription
basestringReview this branch against a base ref instead of uncommitted work, e.g. 'main'.
diffstringA unified diff to review instead of reading git. Rarely needed.
filesarrayReview exactly these files instead of the ones the change touches.
modestring"agent": also return review_task, the risky changed functions for you to review yourself, with what to check in each. No model is called by Rigour.
rigour_review_ackRecord that you reviewed a function from rigour_review's review_task: verdict "fixed" (you fixed a defect) or "no_issue", with a note saying what you checked. Covers the function's current code only; editing it later puts it back in the task.
ParameterTypeDescription
file *stringRepository-relative path, as in review_task.
function *stringFunction name, as in review_task.
note *stringWhat you checked, e.g. 'callers pass a non-empty cursor; upsert conflict key matches the unique index'.
verdict *string
rigour_reviewer_verdictWhat the model reviewer last decided for this branch: the confirmed items to fix (with id, file:line, consequence and evidence), the disputed ones that are not work, which mode ran, and whether the verdict is for the current commit. Read-only: never runs a model, never dismisses.
rigour_runExecute a command under Rigour supervision. This tool can be INTERCEPTED and ARBITRATED by the Governance Studio.
ParameterTypeDescription
command *stringThe command to run (e.g., 'npm test', 'pytest').
silentbooleanIf true, hides the command output from the agent.
rigour_run_supervisedRun a command under FULL Supervisor Mode. Iteratively executes the command, checks quality gates, and returns fix packets until PASS or max retries reached. Use this for self-healing agent loops.
ParameterTypeDescription
command *stringThe agent command to run (e.g., 'claude "fix the bug"', 'aider --message "refactor auth"').
dryRunbooleanIf true, simulates the loop without executing the command. Useful for testing gate checks.
maxRetriesnumberMaximum retry iterations (default: 3).
rigour_security_auditRuns a live security audit (CVE check) on the project dependencies.
rigour_statusQuick PASS/FAIL check with JSON-friendly output for polling current project state.
rigour_task_costRigour's estimate of the context and cost its scoped reads avoided for a task, beside any model usage recorded for it.
ParameterTypeDescription
taskIdstringOptional Task ID (e.g. 'CTP-142') to filter cost stats.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
  • !No dynamic code executionScanned 593 source files and found 10 calls to eval or shell execution, in packages/rigour-core/src/firewall/typed-command.ts:41, packages/rigour-core/src/gates/deprecated-apis-rules-lang.ts:50 and packages/rigour-core/src/gates/deprecated-apis-rules-node.ts:177 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiopackages/rigour-mcp/src/gateway/server.ts:2
Starts other programs
127 callspackages/rigour-cli/src/commands/brief.ts:118, packages/rigour-cli/src/commands/brief.ts:124, packages/rigour-cli/src/commands/demo.ts:90
Outbound network calls
17 callspackages/rigour-cli/src/commands/demo-injections.ts:69, packages/rigour-cli/src/commands/demo-injections.ts:175, packages/rigour-cli/src/commands/demo-scaffold.ts:79
Writes or deletes files
238 callspackages/rigour-cli/src/commands/brief.ts:161, packages/rigour-cli/src/commands/brief.ts:162, packages/rigour-cli/src/commands/check.ts:45
Lockfile
pnpm-lock.yaml

Pattern matches on the source text of 593 files: places to read, not proof of what the code does at run time.

Releases

v7.0.13v7.0.13 · 16 Oct 20267.0.13 (2026-10-16) Bug Fixes Memory's numbers and filter chips count the same lessons; JSON lines measure a tab as 2 columns and keep CRLF endings (c2fb35e) re-pinning a version in a committed JSON config changes only that string, and a…
v7.0.12v7.0.12 · 16 Oct 20267.0.12 (2026-10-16) Bug Fixes Studio reads clearly at a real team's scale: titled memories, paging, search and filters on every long list (#323) (c05eece) studio: decision hints above their buttons, compact empty coverage, icon rail below…
v7.0.11v7.0.11 · 16 Oct 20267.0.11 (2026-10-16) Bug Fixes a login without the function grant is told the GRANT to run, and init-schema grants every other login when one named in memberships does not exist (96a17b9) a member proposes team candidates of their own;…
v7.0.10v7.0.10 · 16 Oct 20267.0.10 (2026-10-16) Bug Fixes Studio shows what Rigour records, page by page, from the first edit to the merge (#317) (48a7356) studio: a Governance page (coverage, decisions, rules, review use, team) and This week on the page kit…
v7.0.9v7.0.9 · 16 Oct 20267.0.9 (2026-10-16) Bug Fixes an agent's team candidates reach Studio on every checkout of the repository, and a save says whether it was sent (d100009) an SSH checkout sees and decides on what an https clone saved, and a save says whether…

README

The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Rigour

How do I install Rigour?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Rigour safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 593 source files found that it serves MCP over stdio, starts other programs (127 calls), makes outbound network calls (17 calls) and writes or deletes files (238 calls). Its dependencies are pinned by pnpm-lock.yaml. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Rigour still maintained?

Yes — the latest release is v7.0.13 (16 Oct 2026), and the last commit was 12 hours ago. The repository has 29 stars and 6 open issues.

What tools does Rigour provide?

Conduid read 36 tools from the source: grep, read_file, rigour_agent_deregister, rigour_agent_register, rigour_brief, rigour_cache_stats, rigour_check, rigour_check_deep and 28 more. 28 of them publish their parameters, listed under Tools above.

What license is Rigour released under?

The repository declares the MIT license. That applies to the latest release, v7.0.13, as well.