Multi Model Advisor

Multi Model Advisor

By YuChenSSR GitHub

-

multi-model-advisor AI
Overview

what is Multi Model Advisor?

Multi Model Advisor is a Model Context Protocol (MCP) server that queries multiple Ollama models and combines their responses, providing diverse AI perspectives on a single question, creating a "council of advisors" approach.

how to use Multi Model Advisor?

To use Multi Model Advisor, clone the repository, install dependencies, configure the environment, and connect it to Claude for Desktop. You can then query multiple models with a single question.

key features of Multi Model Advisor?

  • 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
  • Integrate seamlessly with Claude for Desktop

use cases of Multi Model Advisor?

  1. Getting diverse perspectives on complex questions.
  2. Synthesizing information from various AI models for comprehensive answers.
  3. Enhancing decision-making processes with varied AI insights.

FAQ from Multi Model Advisor?

  • What is the purpose of Multi Model Advisor?

It provides a platform to query multiple AI models and synthesize their responses for a more rounded answer.

  • Do I need to install anything to use it?

Yes, you need Node.js, Ollama, and Claude for Desktop.

  • Can I customize the models' responses?

Yes, you can assign different roles and customize prompts for each model.

Content

Multi-Model Advisor

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

  1. Clone this repository:

    git clone https://github.com/yourusername/multi-model-advisor.git
    cd multi-model-advisor
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Install required Ollama models:

    ollama pull gemma3:1b
    ollama pull llama3.2:1b
    ollama pull deepseek-r1:1.5b
    

Configuration

Create a .env file in the project root with your desired configuration:

# Server configuration
SERVER_NAME=multi-model-advisor
SERVER_VERSION=1.0.0
DEBUG=true

# Ollama configuration
OLLAMA_API_URL=http://localhost:11434
DEFAULT_MODELS=gemma3:1b,llama3.2:1b,deepseek-r1:1.5b

# System prompts for each model
GEMMA_SYSTEM_PROMPT=You are a supportive and empathetic AI assistant focused on human well-being. Provide considerate and balanced advice.
LLAMA_SYSTEM_PROMPT=You are a logical and analytical AI assistant. Think step-by-step and explain your reasoning clearly.
DEEPSEEK_SYSTEM_PROMPT=You are a creative and innovative AI assistant. Think outside the box and offer novel perspectives.

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:

{
  "mcpServers": {
    "multi-model-advisor": {
      "command": "node",
      "args": ["/absolute/path/to/multi-model-advisor/build/index.js"]
    }
  }
}
  1. Replace /absolute/path/to/ with the actual path to your project directory

  2. 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:

Show me which Ollama models are available on my 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:

what are the most important skills for success in today's job market, 
you can use gemma3:1b, llama3.2:1b, deepseek-r1:1.5b to help you 

Claude will query all default models and provide a synthesized response based on their different perspectives.

example

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

Model Not Found

If a model is reported as unavailable:

  • Check that you've pulled the model using ollama pull <model-name>
  • Verify the exact model name using ollama list
  • Use the list-available-models tool to see all available models

Claude Not Showing MCP Tools

If the tools don't appear in Claude:

  • Ensure you've restarted Claude after updating the configuration
  • Check the absolute path in claude_desktop_config.json is correct
  • Look at Claude's logs for error messages

License

MIT License

For more details, please see the LICENSE file in this project repository

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

No tools information available.

A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.

YouTube MCP Server
YouTube MCP Server by IA-Programming

YouTube MCP Server is an AI-powered solution designed to revolutionize your YouTube experience. It empowers users to search for YouTube videos, retrieve detailed transcripts, and perform semantic searches over video content—all without relying on the official API. By integrating with a vector database, this server streamlines content discovery.

youtube ai
View Details

MCP Deep Research Server using Gemini creating a Research AI Agent

research ai
View Details
MCP-Mealprep
MCP-Mealprep by JoshuaRL

This project takes a number of MCP servers from GitHub locations, packages them together with this repo's GHCR container, and launches them with docker-compose to run as a stack for ML/AI resources.

docker ai
View Details

BioMCP: Biomedical Model Context Protocol

bioinformatics ai
View Details
MySQL MCP Server
MySQL MCP Server by designcomputer

A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

Toolbase
Toolbase by Toolbase-AI

A desktop application that adds powerful tools to Claude and AI platforms