LABSCO SUMMARY
A different model with different training, one call away.
When an assistant is confidently wrong, more turns with the same model rarely help. Pulling three sources with genuinely different failure modes — another model, live web results, and human-accepted answers — is the useful shape, and the git-aware context means you do not have to paste the surrounding files yourself.
What it is
An MCP server that combines three different sources — a second model, web-grounded search, and accepted answers from real engineers — into one synthesised answer, so you can unblock a stuck conversation without switching apps.
What you get
- Multi-source synthesis: Google Gemini for an alternative model perspective, Perplexity for fresh web-grounded analysis, Stack Overflow for accepted answers
- Automatic language detection from file extensions, and code snippet extraction with clean formatting
- Git-aware context gathering that pulls in nearby files when relevant
- Markdown report generation for the solution
- One tool call, so the model gathers your code and context and returns a combined take
Requirements
TypeScript and Node.js 18+. Clone, npm install, npm run build, then register node build/index.js in claude_desktop_config.json. Two keys are required: GEMINI_API_KEY from aistudio.google.com and PERPLEXITY_API_KEY from perplexity.ai. STACK_EXCHANGE_KEY is optional — without it the Stack Exchange calls fall back to anonymous. Restart Claude Desktop after adding the config. MIT.
Setup effort
Build from source — git clone https://github.com/joewilsonai/second-opinion-mcp-server
USE CASES
01
Getting unstuck when the model keeps repeating itself
Ask for a second opinion on the problem and get a combined answer from three different sources.
02
Checking a fix against what engineers actually did
Have Stack Overflow's accepted answers pulled in alongside the model's suggestion before you commit to one.
03
Keeping the solution after you find it
Generate a Markdown report of the answer so the reasoning survives the conversation.
BEFORE YOU INSTALL
What to know first
Requires
- GEMINI_API_KEY in your environment
- PERPLEXITY_API_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
TERMINAL
git clone https://github.com/joewilsonai/second-opinion-mcp-server
cd second-opinion-mcp-server
npm install
npm run buildMCP Clients
Claude Desktop
CLAUDE DESKTOP · JSON
{
"mcpServers": {
"second-opinion": {
"command": "node",
"args": [
"<YOUR_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>"
}
}
}
}