@antonbabenko/deliberation-mcp

中文文档
4.1.1发布于 2026/11/04MITCommonJS零依赖构建来源已验证近 30 天下载 3978

Deliberation for Claude Code and any MCP host - GPT, Gemini, Grok, and OpenRouter expert subagents.

原始使用文档
文档目录7 节
  1. What it does
  2. Install
  3. Provider setup
  4. Tools
  5. How consensus stays honest
  6. More
  7. License

deliberation-mcp

Get a second opinion from GPT, Gemini, Grok, and 400+ OpenRouter models - and let them reach a cross-model consensus - from inside any MCP host (Claude Code, Cursor, Codex, Kiro, VS Code, Windsurf, Zed, ...).

One model is a guess. Three that agree is a plan.

This is the standalone MCP server. For the Claude Code plugin, one-click install buttons, and full docs, see the repo: https://github.com/antonbabenko/deliberation**

What it does

You stay the primary agent. When a task needs a second opinion or cross-model review, call one of the tools below, read the result, and apply your own judgment. Eight expert personas (architect, code reviewer, security analyst, and five more) shape the review. GPT and Gemini can also implement changes; Grok and OpenRouter only advise.

Install

Add the server to your MCP host (most hosts use the mcpServers key):

{
  "mcpServers": {
    "deliberation": {
      "command": "npx",
      "args": ["-y", "@antonbabenko/deliberation-mcp"],
      "env": {
        "XAI_API_KEY": "xai-...",
        "OPENROUTER_API_KEY": "sk-or-v1-..."
      }
    }
  }
}

Per-host config location and key:

HostConfigKey
Claude Codeclaude mcp add deliberation -- npx -y @antonbabenko/deliberation-mcpmcpServers
Cursor~/.cursor/mcp.json or project .cursor/mcp.jsonmcpServers
Codex CLI~/.codex/config.toml (e.g. [mcp_servers.deliberation])mcp_servers
Gemini CLI~/.gemini/settings.jsonmcpServers
VS Code.vscode/mcp.json (each entry needs "type": "stdio")servers
Windsurf~/.codeium/windsurf/mcp_config.jsonmcpServers
Zedsettings.jsoncontext_servers

Provider setup

Set only the providers you use:

  • GPT - install the Codex CLI and run codex login (codex login --device-auth on a remote machine), or set CODEX_ACCESS_TOKEN (ChatGPT Business/Enterprise). OPENAI_API_KEY is never used.
  • Gemini - install the Antigravity CLI (agy) and run it once to sign in.
  • Grok - set XAI_API_KEY (https://console.x.ai).
  • OpenRouter - set OPENROUTER_API_KEY and declare models in ~/.config/deliberation/config.json (Windows: %APPDATA%\deliberation\config.json; override with DELIBERATION_CONFIG). OpenRouter is advisory-only.

A starter config writer ships as a bin:

npx -y --package @antonbabenko/deliberation-mcp deliberation-setup

It writes a starter config.json (never overwrites an existing one).

Tools

  • ask-all - one question to every configured provider in parallel; get each answer back independently (no cross-talk).
  • consensus - run the full multi-round convergence loop with a provider arbiter (blind pass + peer review -> adjudicate -> revise) and return the converged verdict. Pass synthesizeAlways: true for a single synthesis pass instead of the loop (best for open questions), or maxRounds to cap the loop.
  • consensus-step - drive the loop yourself as the arbiter, one action per call (init -> record_blind -> dispatch_peers -> submit_adjudication -> submit_revision).
  • ask-gpt / ask-gemini / ask-grok / ask-openrouter - one question to one provider.
  • Experts: architect, plan-reviewer, scope-analyst, code-reviewer, security-analyst, researcher, debugger, writing-editor - call directly, or pass expert on the fan-out tools to apply one persona to every delegate.
  • Session tools (opt-in sessions.persist): session-get, session-revisit, session-annotate.

Every tool takes a prompt - give it full context (the goal, relevant code/paths, prior attempts), since the experts do not share your session.

How consensus stays honest

The orchestrator commits a blind verdict before seeing the panel, cannot reach consensus on its own vote alone (at least one external must approve), and records a reason for every dismissed issue. The loop stops on agreement or at consensus.maxRounds (default 5).

More

Configuration reference, the Claude Code plugin, per-host guides, and architecture docs are in the repo: https://github.com/antonbabenko/deliberation** (see docs/tool-guide.md for the tool guide and TECHNICAL.md for the full config reference).

License

MIT

版本与发布记录

@antonbabenko/deliberation-mcp 共发布 60 个版本,首次发布于 2026/05/31;过去 12 个月发布了 60 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
4.1.1latest2026/11/041 天前
4.1.02026/11/041 天前
4.0.02026/10/289 天前
3.32.02026/10/279 天前
3.31.02026/10/1521 天前
3.30.02026/10/1225 天前

关于 @antonbabenko/deliberation-mcp 的常见问题

@antonbabenko/deliberation-mcp 是什么?

Deliberation for Claude Code and any MCP host - GPT, Gemini, Grok, and OpenRouter expert subagents.

如何安装 @antonbabenko/deliberation-mcp?

在项目目录运行 npm install @antonbabenko/deliberation-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 deliberation-mcp、deliberation-setup,可以用 npx deliberation-mcp 直接运行。

@antonbabenko/deliberation-mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/antonbabenko__deliberation-mcp 是否存在。

@antonbabenko/deliberation-mcp 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@antonbabenko/deliberation-mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.22.1。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@antonbabenko/deliberation-mcp 可以商用吗?

@antonbabenko/deliberation-mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@antonbabenko/deliberation-mcp 的下载量有多少?

根据 npm 官方下载统计,@antonbabenko/deliberation-mcp 在 2026/10/06 – 2026/11/04 这 30 天内被下载 3,978 次,日均约 133 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@antonbabenko/deliberation-mcp 还在维护吗?

最新版本 4.1.1 发布于 2026/11/04(1 天前);至今共发布 60 个版本,其中过去 12 个月发布了 60 个;首次发布于 2026/05/31。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。