9-LLM consensus + disagreement scoring + cheapest-route picks to fight hallucinations.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"openclaw-consensus": {
"env": {
"RAPIDAPI_KEY": "your-rapidapi-key"
},
"command": "openclaw-consensus"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
9-LLM consensus inside Claude — a hallucination guardrail you can call as a tool.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'openclaw-consensus-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked openclaw-consensus-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
An autonomous agent that conducts deep research on any data using any LLM providers
🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, distributed swarm intelligence, RAG integration, and native Claude Code / Codex Integration
MCP Security Weekly
Get CVE alerts and security updates for io.github.MICONNM/openclaw-consensus-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
pip install openclaw-consensus-mcp
# or
uv pip install openclaw-consensus-mcp
You also need a RapidAPI key for the OpenClaw Consensus API: https://rapidapi.com/yanmiayn/api/openclaw-consensus
Set it in your environment:
export RAPIDAPI_KEY="your-rapidapi-key"
Add to ~/.claude/claude_desktop_config.json (macOS/Linux) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"openclaw-consensus": {
"command": "openclaw-consensus",
"env": {
"RAPIDAPI_KEY": "your-rapidapi-key"
}
}
}
}
For Claude Code:
claude mcp add openclaw-consensus -- openclaw-consensus
consensus(prompt, mode="balanced")Get a 9-LLM consensus answer.
balanced) — deep (9 models), balanced (5), or fast (3).Returns
{
"consensus": "string",
"confidence": 0.0,
"models_responded": 5,
"votes": []
}
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
{
"disagreement": 0.0,
"confidence": 1.0,
"models_responded": 9,
"votes": []
}
cheapest_route(prompt, target_quality=0.85)Try fast, balanced, and deep modes in order until the confidence threshold is met.
Returns
{
"selected_mode": "balanced",
"models_used": 5,
"confidence": 0.9,
"answer": "string"
}
git clone https://github.com/MICONNM/openclaw-consensus-mcp
cd openclaw-consensus-mcp
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest
Smoke-test the server with the official MCP Inspector:
npx @modelcontextprotocol/inspector openclaw-consensus
uv build
uv publish # to PyPI
mcp-publisher publish # to the official MCP Registry
See CONTRIBUTING.md for the development workflow and docs/maintainer-workflow.md for triage, review, security, and release responsibilities.