MCP Rubber Duck MCP Server

An MCP server that bridges to multiple OpenAI-compatible LLMs - your AI rubber duck debugging panel

Local serverstdio

What is the MCP Rubber Duck MCP Server?

An MCP server that bridges to multiple OpenAI-compatible LLMs - your AI rubber duck debugging panel

What the server does

An MCP (Model Context Protocol) server that acts as a bridge to query multiple LLMs -- both OpenAI-compatible HTTP APIs and CLI coding agents. Just like rubber duck debugging, explain your problems to various AI "ducks" and get different perspectives!

  • Universal OpenAI Compatibility — -- Works with any OpenAI-compatible API endpoint
  • CLI Agent Support — -- Use CLI coding agents (Claude Code, Codex, Gemini CLI, Grok, Aider) as ducks
  • Multiple Ducks — -- Configure and query multiple LLM providers simultaneously
  • Conversation Management — -- Maintain context across multiple messages
  • Duck Council — -- Get responses from all your configured LLMs at once
  • Consensus Voting — -- Multi-duck voting with reasoning and confidence scores

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • OpenAI — Google Gemini
  • ask_duck — Ask a single question to a specific LLM provider
  • chat_with_duck — Conversation with context maintained across messages
  • clear_conversations — Clear all conversation history
  • list_ducks — List configured providers and health status
  • list_models — List available models for providers
  • compare_ducks — Ask the same question to multiple providers simultaneously
  • duck_council — Get responses from all configured ducks
  • get_usage_stats — Usage statistics and estimated costs
  • duck_vote — Multi-duck voting with reasoning and confidence
  • duck_judge — Have one duck evaluate and rank others' responses
  • duck_iterate — Iteratively refine a response between two ducks

Credentials and setup notes

  • Node.js 20 or higher - npm or yarn - At least one API key for an HTTP provider, or a CLI coding agent installed locally

Recorded tools

  • ask_duck — Ask a single question to a specific LLM provider
  • chat_with_duck — Conversation with context maintained across messages
  • clear_conversations — Clear all conversation history
  • list_ducks — List configured providers and health status
  • list_models — List available models for providers
  • compare_ducks — Ask the same question to multiple providers simultaneously
  • duck_council — Get responses from all configured ducks
  • get_usage_stats — Usage statistics and estimated costs
  • duck_vote — Multi-duck voting with reasoning and confidence
  • duck_judge — Have one duck evaluate and rank others' responses
  • duck_iterate — Iteratively refine a response between two ducks
  • duck_debate — Structured multi-round debate between ducks
  • mcp_status — MCP Bridge status and connected servers

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ask_duckAsk a single question to a specific LLM provider
chat_with_duckConversation with context maintained across messages
clear_conversationsClear all conversation history
list_ducksList configured providers and health status
list_modelsList available models for providers
compare_ducksAsk the same question to multiple providers simultaneously
duck_councilGet responses from all configured ducks
get_usage_statsUsage statistics and estimated costs
duck_voteMulti-duck voting with reasoning and confidence
duck_judgeHave one duck evaluate and rank others' responses
duck_iterateIteratively refine a response between two ducks
duck_debateStructured multi-round debate between ducks
mcp_statusMCP Bridge status and connected servers

How to install the MCP Rubber Duck MCP Server

{
  "mcpServers": {
    "rubber-duck": {
      "command": "npx",
      "args": ["-y", "directly"],
      "env": {
        "OPENAI_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "GROQ_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 20 or higher - npm or yarn - At least one API key for an HTTP provider, or a CLI coding agent installed locally
VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes
GROQ_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use MCP Rubber Duck to OpenAI.”
  • “Use MCP Rubber Duck to ask duck.”
  • “Use MCP Rubber Duck to chat with duck.”

Frequently asked questions

An MCP server that bridges to multiple OpenAI-compatible LLMs - your AI rubber duck debugging panel Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.