Second Opinion MCP Server
joewilsonai/second-opinion-mcp-server ยท 15 stars ยท TypeScript
MCP server
Install
The repo has no one-line install. Follow its README.
Files
๐ง 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.
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 build
Configure 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 |
|---|---|---|
GEMINI_API_KEY |
aistudio.google.com | Required |
PERPLEXITY_API_KEY |
perplexity.ai/settings/api | Required |
STACK_EXCHANGE_KEY |
stackapps.com/apps/oauth/register | 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
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 15
- Language
- TypeScript
- Last push
- 2026-05-10
- Forks
- 8
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling๐ท๏ธ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k