MCP Rubber Duck logo

MCP Rubber Duck

by nesquikm

Queries multiple LLM providers and CLI agents for comparisons, debates, voting, refinement, and rubber-duck debugging.

Install MCP Rubber Duck

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "nesquikm-mcp-rubber-duck": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-rubber-duck"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_VALUE_HERE",
        "GEMINI_API_KEY": "YOUR_VALUE_HERE",
        "GROQ_API_KEY": "YOUR_VALUE_HERE",
        "OPENAI_DEFAULT_MODEL": "YOUR_VALUE_HERE",
        "GEMINI_DEFAULT_MODEL": "YOUR_VALUE_HERE",
        "GROQ_DEFAULT_MODEL": "YOUR_VALUE_HERE",
        "DEFAULT_PROVIDER": "YOUR_VALUE_HERE",
        "DEFAULT_TEMPERATURE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 12 tools correctly ().

Overview

nesquikm/mcp-rubber-duck connects MCP clients to multiple OpenAI-compatible HTTP APIs and local CLI coding agents. It exposes tools for single-provider questions, context-aware chats, model comparisons, councils, voting, judging, debates, and iterative refinement. Providers can be monitored, compared, and queried with usage statistics, while the optional MCP Bridge lets ducks access other MCP servers subject to approvals. Reach for it when one model's answer is not enough or when you want several independent perspectives on a debugging or design problem.

Use cases

  • Compare answers from several LLM providers
  • Debug a problem by asking multiple AI agents
  • Run structured debates about technical choices
  • Refine a response between two models
  • Track provider usage and estimated costs

Key features

  • OpenAI-compatible HTTP provider support
  • Local CLI coding-agent support
  • Multi-provider comparison and council queries
  • Voting, judging, debates, and iterative refinement
  • Conversation history and usage tracking
  • Optional MCP bridge with approval controls

Tools12

What MCP Rubber Duck lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 94d

What it can do

From the 12 tools this server returned when we ran it; 12 declare their own safety hints.

Can delete or modify data · 1Handles credentials · 1Makes network requests · 10Read-only tools · 11
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age423 days
Maintainers1

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · mcp-rubber-duck (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars181Stargazers on the source repository.
npm downloads2.2kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed12Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Rubber Duck works

What nesquikm/mcp-rubber-duck does

nesquikm/mcp-rubber-duck gives an MCP client a panel of configurable LLM providers. It supports OpenAI-compatible HTTP endpoints, including services such as OpenAI, Google Gemini, Anthropic-compatible endpoints, Groq, Together AI, Perplexity, Azure OpenAI, Ollama, LM Studio, and custom endpoints. It can also invoke local command-line agents including Claude Code, Codex, Gemini CLI, Grok CLI, Aider, and custom agents.

The server is designed for explaining a problem to several AI participants and comparing their responses. It can preserve chat context, ask several providers the same question, collect all configured responses, request votes with reasoning and confidence, have one model rank other answers, pass a response between two models for refinement, or run a structured multi-round debate. Eight reusable MCP prompt templates support workflows such as identifying assumptions, finding blind spots, and comparing tradeoffs.

How it works

Configure one or more HTTP providers or local CLI agents, then expose the server to an MCP-compatible client. HTTP providers use OpenAI-compatible API endpoints; CLI providers run as local processes. The server can check provider health, list available models, record request and token usage, and estimate costs. If a primary provider fails, configured alternatives can provide failover.

The optional MCP Bridge allows ducks to connect to other MCP servers. Requests to use bridged tools can be reviewed through pending-approval and approval or denial tools. Guardrails can add rate limits, token limits, blocked-pattern checks, and PII redaction.

Four tools—compare_ducks, duck_vote, duck_debate, and get_usage_stats—can render interactive HTML panels in clients that support MCP Apps. Other clients receive the corresponding plain-text results.

Setup and configuration

Node.js 20 or newer is required, along with npm or yarn. Install the package globally with npm install -g mcp-rubber-duck, or run it with npx mcp-rubber-duck. Source installation uses the repository, followed by npm install, npm run build, and npm start.

Configuration can be stored in a .env file or config/config.json. At least one HTTP-provider API key or a locally installed CLI coding agent is needed. Common settings select provider credentials, default models, the default provider, temperature, logging, MCP server mode, bridge operation, custom providers, and enabled CLI agents. HTTP providers can use variables such as OPENAI_API_KEY, GEMINI_API_KEY, and GROQ_API_KEY; CLI agents use CLI_{AGENT}_ENABLED settings.

Tools and capabilities

  • ask_duck sends a question to one selected provider.
  • chat_with_duck maintains context across messages, while clear_conversations removes conversation history.
  • list_ducks reports configured providers and health; list_models reports available models.
  • compare_ducks queries selected providers in parallel, and duck_council queries all configured ducks.
  • duck_vote, duck_judge, duck_iterate, and duck_debate support voting, ranking, collaborative refinement, and structured debate.
  • get_usage_stats reports usage and estimated costs.
  • mcp_status, get_pending_approvals, and approve_mcp_request expose bridge status and approval controls.

Vision-capable models can receive images with prompts. Tool annotations and structured output schemas are included for clients that use those MCP features.

Limitations and notes

Provider availability depends on valid credentials, endpoint configuration, model availability, or installed local CLI agents. Interactive panels require MCP Apps support; clients without it still receive plain-text responses. The bridge introduces an approval flow for ducks' MCP tool requests, and its connected-server status is exposed through the MCP bridge tools.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Rubber Duck

nesquikm/mcp-rubber-duck is an MCP server that connects MCP clients to OpenAI-compatible HTTP APIs and local CLI coding agents. Its main tools ask individual ducks, maintain chats, compare providers, run councils, votes, judgments, iterative refinements, and debates, while also reporting models, health, usage, and bridge approvals.

Install it globally with `npm install -g mcp-rubber-duck`, or run it directly with `npx mcp-rubber-duck`. Node.js 20 or newer and npm or yarn are required. You can also clone the repository, install dependencies, build the project, and start it from source.

It supports any OpenAI-compatible API endpoint, including OpenAI, Google Gemini, Anthropic-compatible endpoints, Groq, Together AI, Perplexity, Azure OpenAI, Ollama, LM Studio, and custom providers. It also supports local Claude Code, Codex, Gemini CLI, Grok CLI, Aider, and custom CLI agents.

Yes. The setup guidance names Cursor as a supported MCP client. Configure the server in Cursor, then use its tools for provider queries, comparisons, debates, voting, usage statistics, and other multi-duck workflows.

Set provider credentials in a `.env` file or `config/config.json`. Common variables include `OPENAI_API_KEY`, `GEMINI_API_KEY`, and `GROQ_API_KEY`; you also select defaults with provider and model settings. At least one API key or a locally installed CLI agent is needed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Rubber Duck AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nesquikm-mcp-rubber-duck?style=directory)](https://allmcps.com/mcp/nesquikm-mcp-rubber-duck)
HTML Embed
<a href="https://allmcps.com/mcp/nesquikm-mcp-rubber-duck"><img src="https://allmcps.com/api/badge/nesquikm-mcp-rubber-duck?style=directory" alt="MCP Rubber Duck on AllMCPs" /></a>