OpenClaw Consensus

io.github.MICONNMPublished by GitHub account MICONNMv0.1.1Updated Oct 24, 2026

9-LLM consensus + disagreement scoring + cheapest-route picks to fight hallucinations.

The publisher's own server: OpenClaw Direct

VerifiedSTDIODesktop onlyDeveloper ToolsAI & ML

Overview

AI-generated overview

Wraps the OpenClaw Consensus API so an assistant can run a prompt across multiple LLMs, score disagreement, and pick the cheapest route.

What you can do
  • Get a multi-model consensus answer with confidence and per-model votes, choosing deep, balanced or fast mode
  • Score how much the deep multi-model response disagrees on a prompt
  • Pick the cheapest route by trying fast, balanced and deep modes until a target confidence is met
  • Return upstream API responses as-is, so fields may expand over time
When to use it
Useful when a maintainer wants a second opinion before accepting a risky answer, review summary or routing decision, or wants a disagreement signal to decide whether output needs closer review.
Requirements
Runs as a local Python package (pip or uv install) over stdio, with a Claude Desktop or Claude Code config entry. Needs a RapidAPI key supplied in the RAPIDAPI_KEY environment variable and network access to the OpenClaw Consensus API.
Before you install
Prompts are sent to a third-party API and across multiple models; the README warns not to send secrets, private source code or personal data unless the endpoint policy allows it. Network-backed tools may incur provider charges. Consensus is a review aid, not a correctness guarantee.

Installation

In SourceWeft

  1. Open OpenClaw Consensus in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

OpenClaw Consensus MCP

[CI] [PyPI] [License: MIT]

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.

What it does

OpenClaw runs the same prompt across multiple models, then returns:

  • a consensus answer with confidence and model response metadata,
  • a disagreement heuristic derived from the deep consensus response, and
  • a cheapest route recommendation that tries smaller model sets before escalating.

This MCP server exposes those three capabilities as tools so Claude Desktop / Claude Code can call them mid-conversation.

Why consensus?

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.

Install

bash
pip install openclaw-consensus-mcp# oruv 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:

bash
export RAPIDAPI_KEY="your-rapidapi-key"

Claude Desktop config

Add to ~/.claude/claude_desktop_config.json (macOS/Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "openclaw-consensus": {      "command": "openclaw-consensus",      "env": {        "RAPIDAPI_KEY": "your-rapidapi-key"      }    }  }}

For Claude Code:

bash
claude mcp add openclaw-consensus -- openclaw-consensus

Tools

consensus(prompt, mode="balanced")

Get a 9-LLM consensus answer.

  • prompt (string) — the question.
  • mode (string, default balanced) — deep (9 models), balanced (5), or fast (3).

Returns

json
{  "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

json
{  "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

json
{  "selected_mode": "balanced",  "models_used": 5,  "confidence": 0.9,  "answer": "string"}

Local development

bash
git clone https://github.com/MICONNM/openclaw-consensus-mcpcd openclaw-consensus-mcpuv venv && source .venv/bin/activateuv pip install -e ".[dev]"pytest

Smoke-test the server with the official MCP Inspector:

bash
npx @modelcontextprotocol/inspector openclaw-consensus

Publish

bash
uv builduv publish      # to PyPImcp-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.

Limitations

  • Consensus is a review aid, not a correctness guarantee.
  • Network-backed tools require a configured OpenClaw endpoint and may incur provider charges.
  • Do not send secrets, private source code, or personal data unless your endpoint policy explicitly allows it.

Security

Please report vulnerabilities privately using the process in SECURITY.md.

License

MIT — see LICENSE.

Source: README.md at commit 8f02319

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Openclaw integrations