yarinkaul/mcp-rubberducking-server
If you are the rightful owner of mcp-rubberducking-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The MCP Rubberducking Server is an AI-powered service designed to assist developers by providing alternative perspectives on complex problems using advanced AI models.
MCP Rubberducking Server
An MCP server that provides AI-powered "rubberducking" service using Gemini 2.5 Pro and GPT-5 for alternative perspectives on complex problems.
Installation
npm install
Configuration
- Copy
.env.exampleto.env:
cp .env.example .env
- Add your API keys to
.env:
OPENAI_API_KEY: Your OpenAI API key for GPT-5 accessGOOGLE_API_KEY: Your Google AI API key for Gemini access
You can use either one or both models.
Building
npm run build
Usage with Claude Code
Important: This server must be run locally, not installed from npm.
- First, build the server:
npm run build
- Add to your Claude Code settings (
.claude/claude_desktop_config.json):
{
"mcpServers": {
"rubberducking": {
"command": "node",
"args": ["/Users/yarin/work/rubberduck/dist/index.js"],
"env": {
"OPENAI_API_KEY": "your-key",
"GOOGLE_API_KEY": "your-key"
}
}
}
}
Note: Replace /Users/yarin/work/rubberduck/dist/index.js with the actual absolute path to your built server.
Tool Usage
The server provides one tool: get_second_opinion
This tool will be automatically used by Claude Code when:
- Stuck on a complex problem
- Running in circles without progress
- Facing ambiguous requirements
- Encountering unexpected behavior
- Needing validation on approach
- Debugging complex issues
Parameters
problem_description(required): Clear description of the problemcontext(required): Relevant code, errors, or technical contextattempted_solutions(optional): What has been triedspecific_questions(optional): Specific questions to focus onuse_models(optional): Which models to use - 'gemini', 'gpt5', or 'both' (default: 'both')
Development
npm run dev
License
MIT