mcp-second-opinion
Allows querying Google Gemini models for second opinions by asking a single model or the whole panel
Allows querying OpenAI models for second opinions by asking a single model or the whole panel
Click on "Deploy 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., "@mcp-second-opinion ask the panel to review my SQL query for performance issues"
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.
mcp-second-opinion
Let your MCP-aware agent consult rival LLMs mid-conversation. One simple MCP server, four providers — OpenAI, Google Gemini, Anthropic, xAI/Grok — unified behind two tools.
Install
pip install mcp-second-opinionor with uv:
uv add mcp-second-opinionRelated MCP server: LLM Council MCP
Configure
Set at least one of these environment variables:
Variable | Provider |
| OpenAI |
| Google Gemini |
| Anthropic |
| xAI/Grok |
Providers without a key set are gracefully disabled — they appear in panel responses with a friendly error field rather than crashing the server.
Optional:
Variable | Default | Purpose |
|
|
|
| unset | Provider key to omit from panel ( |
|
| Per-provider timeout in seconds. |
|
| Cap on rival output length. |
Register with your MCP client
Claude Desktop / Claude Code (mcp_settings.json or equivalent):
{
"mcpServers": {
"second-opinion": {
"command": "mcp-second-opinion",
"env": {
"OPENAI_API_KEY": "sk-...",
"GEMINI_API_KEY": "...",
"ANTHROPIC_API_KEY": "...",
"XAI_API_KEY": "..."
}
}
}
}Tools
ask_other_model(question, model, context?, system_prompt?)
Ask one specific rival.
question: "is this regex correct? /^[a-z]+$/"
model: "gpt-5" | "gemini-2.5-pro" | "claude-opus-4-7" | "grok-4" | ...
context: optional — code snippets, prior reasoning, files
system_prompt: optional — persona/framingReturns:
{
"answer": "...",
"model": "gpt-5",
"latency_ms": 842,
"tokens": {"input": 47, "output": 92},
"cost_usd": 0.0014
}ask_the_panel(question, context?, system_prompt?)
Fan out to every enabled provider in parallel.
question: "what's wrong with this approach?"
context: optional
system_prompt: optional — applied uniformly to all panelistsReturns:
{
"responses": {
"openai": {"answer": "...", "model": "gpt-5", "latency_ms": 800, "cost_usd": 0.001, "error": null},
"gemini": {"answer": "...", "model": "gemini-2.5-pro", "latency_ms": 750, "cost_usd": 0.0008, "error": null},
"anthropic": {"answer": null, "model": "claude-opus-4-7", "error": "skipped (self)"},
"grok": {"answer": null, "model": "grok-4", "error": "XAI_API_KEY not set"}
},
"total_cost_usd": 0.0018,
"total_latency_ms": 800
}How it works
The server is a thin layer over LiteLLM, which provides a unified OpenAI-shaped interface to all four providers. Cost calculation comes from LiteLLM's pricing table.
License
MIT
Available Tools
2 toolsask_other_modelAsk Other ModelB
Ask a single rival LLM for a second opinion.
Inputs: model (required), question (required), context, system_prompt. Returns: object
ask_the_panelAsk The PanelA
Convene a panel of all enabled rival LLMs in parallel.
Returns labeled answers from each enabled provider, with per-slot error fields for any that failed or are not configured.
Inputs: question (required), context, system_prompt. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clear boundaries: ask_other_model queries a single rival LLM, while ask_the_panel convenes all enabled LLMs in parallel. There is no meaningful overlap between the two modes.
Both tool names follow a consistent 'ask_<target>' pattern with distinct nouns. This makes the tool set predictable and easy to understand.
Two tools is on the thin side, but it exactly matches the server's stated purpose: get a single second opinion or a panel opinion. Each tool earns its place with no redundancy.
The core use cases of requesting a single rival model or all enabled models are fully covered. A minor gap is the absence of a way to select a specific subset of models, but that may be configuration-level rather than tool-level.
Maintenance
Related MCP Connectors
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
MCP delegation fallback for AI agents to discover capabilities, knowledge, tools, and collaborators.
AI-to-AI knowledge network. Agents share insights, ask questions, build reputation over MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to consult with multiple AI models (GPT, Gemini, Grok, etc.) through OpenRouter with intelligent auto-selection, conversation history, and caching. Allows your AI assistant to seek expert opinions from specialized models for different tasks like coding, analysis, or general questions.21MIT

LLM Council MCPofficial
AlicenseNot gradedqualityDmaintenanceEnables Claude Code to consult external LLMs (GPT, Gemini) through multi-turn sessions for second opinions, parallel consultations, and web-grounded research.MIT- FlicenseNot gradedqualityDmaintenanceEnables two local LLMs (Qwen and Llama) to communicate via MCP, allowing one model to consult the other for second opinions or additional reasoning.1-
- AlicenseAqualityCmaintenanceAn MCP server that seats multiple LLMs as a council, letting your assistant query them in parallel or in sequence, relay answers for cross-critique, and merge conclusions within one conversation.62MIT