The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the OpenClaw Consensus listing page.
Multi-model consensus inside MCP clients: compare answers, surface disagreement, and escalate only when needed.
OpenClaw Consensus MCP wraps the OpenClaw Consensus API as three Model Context Protocol tools. It is designed for workflows where a maintainer wants a second opinion before accepting a risky answer, review summary, or routing decision.
OpenClaw runs the same prompt across multiple models, then returns:
This MCP server exposes those three capabilities as tools so Claude Desktop / Claude Code can call them mid-conversation.
A single model can produce a confident but incorrect answer. Comparing multiple responses does not prove correctness, but disagreement is a useful signal that a maintainer should review the output more carefully.
You also need a RapidAPI key for the OpenClaw Consensus API: https://rapidapi.com/yanmiayn/api/openclaw-consensus
Set it in your environment:
Add to ~/.claude/claude_desktop_config.json (macOS/Linux) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
For Claude Code:
consensus(prompt, mode="balanced")Get a 9-LLM consensus answer.
balanced) — deep (9 models), balanced (5), or fast (3).Returns
The consensus tool returns the upstream API response as-is. Fields may expand as the endpoint evolves.
disagreement_score(prompt)How much the deep consensus response disagrees on a prompt.
Returns
cheapest_route(prompt, target_quality=0.85)Try fast, balanced, and deep modes in order until the confidence threshold is met.
Returns
Smoke-test the server with the official MCP Inspector:
See CONTRIBUTING.md for the development workflow and docs/maintainer-workflow.md for triage, review, security, and release responsibilities.
Please report vulnerabilities privately using the process in SECURITY.md.
MIT — see LICENSE.