Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyAI, memory and agents

MCP Rubber Duck

Lets your AI agent ask several other AI models and CLI coding agents at once, then compare, vote and debate their answers.

180 stars on GitHubby nesquikmLicense MITUpdated 21 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add rubber-duck -- npx -y mcp-rubber-duck

What to fill in

NameWhat it isRequired
OPENAI_API_KEYOpenAI API key (starts with sk-)No
GEMINI_API_KEYGoogle Gemini API keyNo
GROQ_API_KEYGroq API key (starts with gsk_)No
DEFAULT_PROVIDERDefault LLM provider to useNo

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Ask all my ducks how to structure this database schema and show their answers side by side.
Have three ducks vote on whether I should use Postgres or MongoDB, with their reasoning.

What it is

MCP Rubber Duck connects your agent to several LLMs, called ducks, such as OpenAI, Gemini, Groq, Ollama and CLI agents like Claude Code, Codex or Aider. You can ask one duck, ask all of them, have them vote, judge each other or debate. It gives you different views on a problem.

What it can do

  • ask_duck and chat_with_duck: ask one model, with conversation memory
  • compare_ducks and duck_council: ask several or all models at once
  • duck_vote: voting with reasoning and confidence
  • duck_judge: have one duck rank others' answers
  • duck_iterate and duck_debate: refine or debate between ducks
  • list_ducks and list_models: see providers and health
  • get_usage_stats: usage and estimated cost

When to use

  • β€ΊWhen you want a second or third opinion on a design or bug from other models
  • β€ΊWhen you need a decision and want several models to vote
  • β€ΊWhen you want to compare how different providers answer the same question

What you need

Node.js 20 or higher and at least one API key for an OpenAI-compatible provider, or a CLI coding agent installed locally.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes, it is MIT licensed. Each provider charges its own fees.

Which providers work?

Any OpenAI-compatible API, including OpenAI, Gemini, Groq, Together AI, Perplexity, Azure, Ollama and LM Studio, plus CLI agents.

Does it have failover?

Yes. It falls back to other providers if the primary fails.

Can ducks use other MCP tools?

Yes, through the MCP Bridge, with per-server approval controls.

Are there safety features?

A guardrails layer supports rate limiting, token limits, pattern blocking and PII redaction.

Any known issue?

OpenAI gpt-5.6 and gpt-6 models fail with the MCP Bridge. The readme advises gpt-5.4 for now.

If it does not work

  • β€ΊCheck that the API key for the provider is set correctly and run list_ducks with check_health true.
  • β€ΊFor local providers such as Ollama or LM Studio, make sure they are running.
  • β€ΊUse gpt-5.4 or gpt-5.4-mini if gpt-5.6 or gpt-6 models fail with the MCP Bridge.

5 new skills a week. 1 minute to read.