Second Opinion MCP Server
@MCP-Mirror
Mirror of
Overview
What is Second Opinion MCP Server?
An MCP server that provides AI-powered assistance for coding problems by combining insights from Google's Gemini AI, Stack Overflow accepted answers, and Perplexity AI analysis. It is designed for developers who want multi-source solutions to coding issues.
How to use Second Opinion MCP Server?
Install dependencies with npm install, build with npm run build, then configure environment variables (GEMINI_API_KEY, PERPLEXITY_API_KEY, STACK_EXCHANGE_KEY optional) in MCP settings. The server exposes a single tool get_second_opinion that accepts parameters such as goal, error, code, solutionsTried, and filePath.
Key features of Second Opinion MCP Server
- Combines insights from Gemini AI, Stack Overflow, and Perplexity AI
- Automatic language detection from file extensions
- Code snippet extraction and formatting
- Markdown report generation for solutions
- Git-aware file context gathering
Use cases of Second Opinion MCP Server
- Debugging complex coding errors with multi‑source analysis
- Getting structured solutions for React or JavaScript problems
- Generating markdown reports of solutions for team documentation
- Leveraging Stack Overflow accepted answers without manual browsing
- Combining AI and community knowledge for robust problem solving
FAQ from Second Opinion MCP Server
What APIs does Second Opinion MCP Server use?
It uses Google's Gemini AI, Stack Overflow accepted answers, and Perplexity AI.
Do I need all three API keys?
Only GEMINI_API_KEY and PERPLEXITY_API_KEY are required; STACK_EXCHANGE_KEY is optional and uses anonymous access if not provided.
How do I configure Second Opinion MCP Server in my MCP client?
Add it to your MCP settings with command set to node, args pointing to the built index.js, and environment variables for the API keys.