(锵锵四人行) A Model Context Protocol (MCP) server that queries multiple Ollama models and combines their responses, providing diverse AI perspectives on a single question. This creates a "council of advisors" approach where Claude can synthesize multiple viewpoints alongside its own to provide more comprehensive answers. Features - Query multiple Ollama models with a single question - Assign different roles/personas to each model - View all available Ollama models on your system - Customize system prompts for each model - Configure via environment variables - Integrate seamlessly with Claude for Desktop Prerequisites - Node.js 16.x or higher - Ollama installed and running (see Ollama installation) - Claude for Desktop (for the complete advisory experience) Installation Installing via Smithery To install multi-ai-advisor-mcp for Claude Desktop automatically via Smithery: Manual Installation 1. Clone this repository: 2. Install dependencies: 3. Build the project: 4. Install required Ollama models: Configuration Create a .env file in the project root with your desired configuration: Connect to Claude for Desktop 1. Locate your Claude for Desktop configuration file: - MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%\Claude\claude_desktop_config.json 2. Edit the file to add the Multi-Model Advisor MCP server: 3. Replace /absolute/path/to/ with the actual path to your project directory 4. Restart Claude for Desktop Usage Once connected to Claude for Desktop, you can use the Multi-Model Advisor in several ways: List Available Models You can see all available models on your system: This will display all installed Ollama models and indicate which ones are configured as defaults. Basic Usage Simply ask Claude to use the multi-model advisor: Claude will query all default models and provide a synthesized response based on their different perspectives. How It Works 1. The MCP server exposes two tools: - list-available-models: Shows all Ollama models on your system - query-models: Queries multiple models with a question 2. When you ask Claude a question referring to the multi-model advisor: - Claude decides to use the query-models tool - The server sends your question to multiple Ollama models - Each model responds with its perspective - Claude receives all responses and synthesizes a comprehensive answer 3. Each model can have a different "persona" or role assigned, encouraging diverse perspectives. Troubleshooting Ollama Connection Issues If the server can't connect to Ollama: - Ensure Ollama is running (ollama serve) - Check that the OLLAMA_API_URL is correct in your .env file - Try accessing http://localhost:11434 in your browser to verify Ollama is responding