Rubber Duck MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Rubber Duck MCPlisten as I explain why this state management logic is failing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rubber Duck MCP
Description
Rubber Duck MCP is a Model Context Protocol (MCP) tool that brings the power of rubber duck debugging to your AI development environment. Rubber duck debugging is a proven technique in software engineering, where articulating a problem in natural language—often to an inanimate object like a rubber duck—can illuminate solutions and clarify thought processes. This method, first popularized in The Pragmatic Programmer (Hunt & Thomas, 1999), is widely recognized for its effectiveness in:
Revealing hidden assumptions and logical errors
Encouraging step-by-step reasoning
Facilitating deeper understanding through explanation
Reducing cognitive load by externalizing thought
"In describing what the code is supposed to do and observing what it actually does, any incongruity between these two becomes apparent." — Wikipedia: Rubber Duck Debugging
By integrating this method into an LLM-powered IDE, Rubber Duck MCP enables developers and AI agents to:
Debug more effectively by explaining problems to a non-judgmental, always-available listener
Enhance LLM reasoning by prompting the model to articulate and reflect on its own logic
Accelerate problem-solving by surfacing solutions through structured self-explanation
For further reading:
Related MCP server: AI Conversation Logger
Installation
Prerequisites
Python 3.8+
fastmcp (install via pip)
Steps
Clone the repository:
git clone https://github.com/Omer-Sadeh/RubberDuckMCP.git cd RubberDuckMCPCreate and activate a virtual environment (recommended):
python3 -m venv .venv source .venv/bin/activateInstall dependencies:
pip install -r requirements.txtAdd Rubber Duck MCP to Cursor (or another AI IDE supporting MCP):
Open your
.cursor/mcp.jsonfile (or the equivalent configuration for your IDE).Add an entry for Rubber Duck MCP, specifying the venv's Python executable and the path to
RubberMCP.py. For example:{ "mcpServers": { "rubber-duck": { "command": "/absolute/path/to/RubberDuckMCP/.venv/bin/python", "args": [ "/absolute/path/to/RubberDuckMCP/RubberMCP.py" ] } } }Adjust the
commandandargsfields to match your virtual environment's Python executable and the path toRubberMCP.pyon your system.Save the file and restart Cursor (or your IDE) to load the new MCP server.
Usage
Once configured, use the explain_to_duck tool to articulate your problem or code issue. The Rubber Duck MCP will listen and respond, helping you clarify your thinking and uncover solutions.
License
This project is licensed under the MIT License. Everyone is welcome to contribute, fork, and copy this repository. Collaboration and open-source contributions are highly encouraged!
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared debugging memory for AI coding agents
- OolkinOAuthcom.oolkin
AI colleagues that keep your standards, your project and their reasoning between sessions
Turn PRDs and product ideas into structured specs so coding agents build your intent, not theirs.
Lints + auto-fixes how AI coding agents discover any new product. 24 rules, 6 tools, score 0-100.
Related MCP Servers
- AlicenseAqualityAmaintenanceA fully featured coding agent that uses symbolic operations (enabled by language servers) and works well even in large code bases. Essentially a free to use alternative to Cursor and Windsurf Agents, Cline, Roo Code and others.2942,914 PyPI29,397MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to automatically log and manage conversation history with developers in structured markdown format. Provides powerful search and context suggestions to help AI understand project history and maintain continuity across sessions.41-
- AlicenseNot gradedqualityDmaintenanceProvides AI-powered development assistance with continuous chain-of-thought reasoning (CoConuT), automated task planning and execution, quality validation, and persistent memory of project context and decisions.10 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants like Cursor and Claude to engage in real-time two-way dialogue, allowing them to pause for clarification and request user confirmation before executing tasks. It features a modern UI for managing interaction prompts, predefined options, and project analysis to reduce errors and API costs.16MIT