直接在Claude对话中,从多个AI模型(OpenAI、Gemini、Grok、Claude、HuggingFace、DeepSeek和OpenRouter)获得即时的二次意见。
本MCP服务器允许Claude向其他AI模型咨询不同视角的意见,可应用于以下场景:
通过OpenRouter的统一API访问300多个AI模型,包括:
anthropic/claude-3-5-sonnet - 最新的Claude 3.5 Sonnet。openai/gpt-4 - 通过OpenRouter使用的GPT - 4。meta-llama/llama-3.1-405b-instruct - 庞大的405B Llama模型。google/gemini-pro-1.5 - Gemini Pro 1.5。通过推理API访问HuggingFace Hub上的800,000多个模型。使用前沿的开源模型,如:
meta-llama/Llama-3.3-70B-Instructmicrosoft/DialoGPT-largeQwen/Qwen2.5-72B-Instruct从DeepSeek强大的推理模型获取意见:
deepseek-chat(DeepSeek - V3) - 快速高效。deepseek-reasoner(DeepSeek - R1) - 高级推理。访问xAI最新的具有增强推理能力的思考模型:
grok-3 - 最新的旗舰模型。grok-3-thinking - 逐步推理模型。grok-3-mini - 具有reasoning_effort控制的轻量级思考模型。发起多AI讨论,让模型能够看到并回应彼此的输入:
> "使用GPT - 4.1、Claude - 4和Gemini发起关于AI未来的小组讨论"
max_tokens增加到4000,防止回复被截断。git clone https://github.com/ProCreations-Official/second-opinion.git
cd second-opinion
pip install -r requirements.txt
{
"mcpServers": {
"second-opinion": {
"command": "python3",
"args": ["/path/to/your/main.py"],
"env": {
"OPENAI_API_KEY": "your_openai_key_here",
"GEMINI_API_KEY": "your_gemini_key_here",
"GROK_API_KEY": "your_grok_key_here",
"CLAUDE_API_KEY": "your_claude_key_here",
"HUGGINGFACE_API_KEY": "your_huggingface_key_here",
"DEEPSEEK_API_KEY": "your_deepseek_key_here",
"OPENROUTER_API_KEY": "your_openrouter_key_here"
}
}
}
}
注意:您只需为要使用的服务添加API密钥。缺少的密钥只会禁用特定功能。 5. 重启Claude桌面版
配置完成后,您可以向Claude提出以下问题:
> "从GPT - 4.1获取关于此编码方法的二次意见"
> "Grok - 3 - thinking会如何看待这个解决方案?"
> "比较Claude - 4 - opus和gemini - 2.0 - flash如何解决这个问题"
> "从HuggingFace上的meta - llama/Llama - 3.3 - 70B - Instruct获取意见"
> "DeepSeek - reasoner如何看待这个数学问题?"
> "从OpenRouter上的anthropic/claude - 3 - 5 - sonnet获取意见"
> "列出OpenRouter上Anthropic的所有可用模型"
> "使用GPT - 4.1、Claude - 4和OpenRouter上的meta - llama/llama - 3.1 - 405b - instruct发起关于AI伦理的小组讨论"
> "使用GPT - 4.1、Claude - 4、Gemini和DeepSeek发起关于AI伦理的小组讨论"
> "对所有可用模型进行此算法的跨平台比较"
get_openai_opinion - 从任何OpenAI模型获取意见。get_gemini_opinion - 从任何Gemini模型获取意见。get_grok_opinion - 从任何Grok模型(包括思考模型)获取意见。get_claude_opinion - 从任何Claude模型获取意见。get_huggingface_opinion - 从任何HuggingFace模型获取意见。get_deepseek_opinion - 从DeepSeek模型获取意见。get_openrouter_opinion - 从任何OpenRouter模型(300多个可用)获取意见。list_openrouter_models - 浏览所有可用的OpenRouter模型。compare_openai_models - 比较多个OpenAI模型。compare_gemini_models - 比较多个Gemini模型。compare_grok_models - 比较多个Grok模型。compare_claude_models - 比较多个Claude模型。cross_platform_comparison - 在OpenAI、Gemini、Grok、Claude、HuggingFace、DeepSeek和OpenRouter之间进行比较。group_discussion - 具有共享上下文的AI模型之间的多轮讨论(现在支持2个及以上模型)。list_conversation_histories - 查看活跃的对话线程。clear_conversation_history - 重置特定模型的对话记忆。为了进行更深入的推理,可使用思考模型:
> "以高推理努力从Grok - 3 - thinking获取关于这个复杂数学问题的意见"
reasoning_effort参数控制思考深度:
low - 具有基本推理的更快回复。high - 具有逐步思考的更深入分析。创建AI辩论和协作问题解决:
> "使用GPT - 4.1、Claude - 4、Gemini和DeepSeek进行3轮关于可再生能源解决方案的小组讨论"
每个AI可以看到之前的回复并继续讨论。
访问前沿的开源模型:
> "从microsoft/DialoGPT - large获取关于聊天机器人设计模式的意见"
非常适合测试专业模型或比较开源AI与专有AI。
您的API密钥在本地机器上保持私密。MCP服务器仅将模型回复发送给Claude,绝不会发送您的凭证。
pip install -r requirements.txt安装所有依赖项。max_tokens以防止截断。欢迎提出问题和提交拉取请求!这是一个面向AI社区的开源项目。
为希望随时随地访问整个AI生态系统的开发者打造 🧠✨