Second Opinion MCP Server
Uses git awareness to gather file context for better understanding of coding problems
Integrates with Google's Gemini AI to provide AI-powered assistance for coding problems
Integrates with Perplexity AI to provide analysis for coding solutions
Fetches accepted answers from Stack Overflow to provide insights for coding problems
Click on "Install 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., "@Second Opinion MCP ServerI'm getting a 'TypeError: Cannot read properties of undefined' in my React component. Here's my code: const user = props.user.name;"
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.
🧠 Second Opinion MCP Server
Stuck on a problem? Get a second opinion from a different model.
An MCP server that combines Gemini, Perplexity, and Stack Overflow to give Claude (or any MCP client) a multi-source second take on tough coding problems.
Why
When Claude gets stuck — or just confidently wrong — the fastest unblocker is a different model with different training. This server makes that one tool call away:
🟦 Google Gemini for an alternative model perspective
🟪 Perplexity for fresh web-grounded analysis
🟧 Stack Overflow for accepted answers from real engineers
You stay in your Claude conversation. The second opinion comes to you.
Related MCP server: Enhanced Gemini MCP Server
Features
🌐 Multi-source synthesis — combines insights from three different sources into one answer
🔤 Automatic language detection from file extensions
📋 Code snippet extraction and clean formatting
📄 Markdown report generation for solutions
🧠 Git-aware context gathering — includes nearby files when relevant
⚡ Single tool call — no need to context-switch between chat apps
Install
git clone https://github.com/joewilsonai/second-opinion-mcp-server
cd second-opinion-mcp-server
npm install
npm run buildConfigure in Claude Desktop
Edit your claude_desktop_config.json:
{
"mcpServers": {
"second-opinion": {
"command": "node",
"args": ["/absolute/path/to/second-opinion-mcp-server/build/index.js"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key",
"PERPLEXITY_API_KEY": "your-perplexity-api-key",
"STACK_EXCHANGE_KEY": "your-stack-exchange-key"
}
}
}
}Restart Claude Desktop.
Required environment variables
Variable | Source | Notes |
| Required | |
| Required | |
| Optional — falls back to anonymous |
Usage
Once installed, just ask Claude:
"Get a second opinion on this race condition I'm hitting in our worker pool."
Claude will call the tool, pass your code + context, and synthesize a response from all three sources.
Stack
TypeScript + Node.js 18+
@modelcontextprotocol/sdk
@google/generative-ai (Gemini)
Perplexity API
Stack Exchange API
Related MCP servers
🔍 mcp-perplexity-server (⭐ 14) — Perplexity-only, lighter weight
🐙 github-meta-mcp-server — Natural-language GitHub repo management
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables intelligent code analysis and debugging through the Perplexity AI's API, offering detailed error analysis, pattern detection, and comprehensive solutions, with integration support for the Claude desktop client.Last updated11,43113MIT
- Alicense-qualityDmaintenanceLeverages Google's Gemini AI with a 1M token context window for comprehensive codebase analysis, enabling intelligent code search, architecture analysis, and targeted improvement suggestions.Last updatedMIT
- Flicense-qualityDmaintenanceProvides instant access to a searchable knowledge base of 16,000+ community-driven troubleshooting solutions for common coding problems. Includes community feedback and smart ranking to help AI assistants find the most effective solutions.Last updated
- AlicenseBqualityCmaintenanceIntegrates Google's Gemini AI with Claude Code to provide advanced development assistance including code analysis, implementation planning, technical explanations, debugging support, and strategic development guidance.Last updated10538MIT
Related MCP Connectors
Shared debugging memory for AI coding agents
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/joewilsonai/second-opinion-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server