Skip to main content
Glama

šŸ¤– Second Opinion MCP

License Python MCP

šŸŽÆ Get instant second opinions from 17 AI platforms and 800,000+ models

OpenAI • Gemini • Grok • Claude • HuggingFace • DeepSeek • OpenRouter • Mistral • Together AI • Cohere • Groq • Perplexity • Replicate • AI21 Labs • Stability AI • Fireworks AI • Anyscale


šŸš€ What it does

This MCP server allows Claude to consult other AI models for different perspectives on:

  • Coding problems - Compare approaches across models

  • Creative writing - Get diverse style feedback

  • Problem solving - Validate logic and reasoning

  • Cross-model analysis - See how different AIs tackle the same task

  • Group discussions - Host AI debates with multiple models

  • Custom model access - Use any HuggingFace model via Inference API

✨ Version 5.0 Features & Improvements

šŸŽ­ NEW: AI Personality System

  • 5 Distinct Personalities: honest, freind, coach, wise, creative

  • Intelligent Model Matching: Each personality uses models best suited for their character

  • Always Available: Works with any configured AI provider

🧠 NEW: Intelligent Model Selection

  • Quality-Based Ranking: 34+ models ranked by capability (Grok-4 → Gemini Pro → GPT-4.1)

  • Smart Defaults: Automatically selects the best available model

  • Personality Optimization: Different models for different personality types

šŸ—ļø NEW: Modular Architecture

  • 5 Clean Files: Replaced 51k+ token monolith with maintainable modules

  • Professional Structure: client_manager.py, ai_providers.py, conversation_manager.py, mcp_server.py, main.py

  • JSON Configuration: Easy model priority updates via model_priority.json

šŸš€ Major Platform Integrations

  • šŸŽ­ Replicate: Access to open-source models including Llama 2, CodeLlama, Mistral, and more

  • 🌟 AI21 Labs: Jamba 1.5 models with advanced reasoning capabilities

  • šŸŽØ Stability AI: StableLM models including code-specialized variants

  • šŸ”„ Fireworks AI: Ultra-fast inference for popular open-source models

  • šŸš€ Anyscale: Ray-powered LLM serving with enterprise-grade reliability

šŸ†• Enhanced Existing Platform Support

  • šŸ¤– Mistral AI: Direct access to Mistral's latest models including mistral-large-latest and codestral-latest

  • šŸ”— Together AI: Access to 200+ open-source models with fast inference

  • 🧠 Cohere: Enterprise-grade language models with Command R+ and Command R

  • ⚔ Groq Fast: Ultra-fast inference API for lightning-quick responses

  • šŸ” Perplexity AI: Web-connected AI with real-time search capabilities

šŸ”§ Previous Bug Fixes (v3.0)

  • Fixed HuggingFace Models: Completely rebuilt HuggingFace integration with advanced retry logic, better model format detection, and comprehensive error handling

  • Fixed Gemini Blank Responses: Enhanced Gemini conversation handling to prevent empty responses in long chats with smart fallback and retry mechanisms

  • Improved Error Handling: Better error messages with helpful suggestions for troubleshooting

šŸ¤– HuggingFace Integration (Enhanced)

Access any of the 800,000+ models on HuggingFace Hub via their Inference API with improved reliability:

  • meta-llama/Llama-3.1-8B-Instruct - Fast and reliable

  • meta-llama/Llama-3.1-70B-Instruct - Powerful reasoning

  • mistralai/Mistral-7B-Instruct-v0.3 - Efficient French-developed model

  • Qwen/Qwen2.5-7B-Instruct - Alibaba's latest model

🧠 DeepSeek Models

Get opinions from DeepSeek's powerful reasoning models:

  • deepseek-chat (DeepSeek-V3) - Fast and efficient

  • deepseek-reasoner (DeepSeek-R1) - Advanced reasoning

šŸ¤” Grok 4 Thinking

Access xAI's thinking models with enhanced reasoning:

  • grok-4 - Latest flagship model

  • grok-3-thinking - Step-by-step reasoning model, last gen

  • grok-3-mini - Lightweight thinking model with reasoning_effort control, last ge

šŸŽ­ Group Discussions (Enhanced)

Start multi-AI discussions where models can see and respond to each other's input:

> "Start a group discussion about the future of AI with GPT-4.1, Claude-4, Mistral, and Perplexity"

šŸ”§ Enhanced Performance

  • Longer responses: Increased max_tokens (4000 default) to prevent cut-off responses

  • Better error handling: More robust API interactions with exponential backoff

  • Conversation persistence: Enhanced memory management with better context handling

  • Smart retry logic: Automatic retries with progressive delays for better reliability

šŸ“‹ Requirements

Python Claude Desktop API Keys

  • Python 3.8+ - Programming language runtime

  • Claude Desktop or Claude Code - Choose your preferred MCP integration

  • API Keys - For any combination of the 16 supported AI platforms

šŸ“¦ Installation Guide

šŸš€ Quick Start

  1. šŸ“„ Clone the repository

    git clone https://github.com/ProCreations-Official/second-opinion.git cd second-opinion
  2. āš™ļø Install dependencies

    pip install -r requirements.txt
  3. šŸ”‘ Get API Keys

    Platform

    Link

    Required

    OpenAI

    platform.openai.com

    ⭐ Popular

    Gemini

    aistudio.google.com

    ⭐ Popular

    Grok

    x.ai

    šŸ”„ Best benchmarks

    Claude

    anthropic.com

    🧠 Advanced

    HuggingFace

    huggingface.co

    šŸ¤— 800k+ Models

    DeepSeek

    deepseek.com

    šŸ”¬ Reasoning

    OpenRouter

    openrouter.ai

    šŸŒ 200+ Models via One API

    Mistral

    console.mistral.ai

    šŸ‡«šŸ‡· European, fast

    Together AI

    api.together.xyz

    šŸ”— 200+ Models

    Cohere

    dashboard.cohere.com

    šŸ¢ Enterprise

    Groq

    console.groq.com

    ⚔ Ultra-Fast

    Perplexity

    perplexity.ai

    šŸ” Web Search

    Replicate

    replicate.com

    šŸŽ­ Open Source

    AI21 Labs

    studio.ai21.com

    🧬 Jamba Models

    Stability AI

    platform.stability.ai

    šŸŽØ StableLM

    Fireworks AI

    fireworks.ai

    šŸ”„ Fast Inference

    Anyscale

    console.anyscale.com

    šŸš€ Ray Serving

  4. šŸ”§ Choose Your Integration Method

    Select the method that matches your Claude setup:

For Claude Desktop Users

Add this to your Claude Desktop MCP configuration:

{ "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", "MISTRAL_API_KEY": "your_mistral_key_here", "TOGETHER_API_KEY": "your_together_key_here", "COHERE_API_KEY": "your_cohere_key_here", "GROQ_FAST_API_KEY": "your_groq_key_here", "PERPLEXITY_API_KEY": "your_perplexity_key_here", "REPLICATE_API_TOKEN": "your_replicate_key_here", "AI21_API_KEY": "your_ai21_key_here", "STABILITY_API_KEY": "your_stability_key_here", "FIREWORKS_API_KEY": "your_fireworks_key_here", "ANYSCALE_API_KEY": "your_anyscale_key_here" } } } }

šŸ’” Note: You only need to add API keys for the services you want to use. Missing keys will simply disable those specific features.

šŸ”„ Restart Claude Desktop after configuration.

šŸŽÆ For Claude Code CLI Users

Claude Code MCP

šŸ“¦ Prerequisites

First, ensure Claude Code CLI is installed globally:

npm install -g @anthropic-ai/claude-code

šŸš€ Installation Methods

Use the claude mcp add command to add the Second Opinion server:

# Navigate to your second-opinion directory cd /path/to/your/second-opinion # Add the MCP server with environment variables (use -e for each API key) claude mcp add second-opinion -s user \ -e OPENAI_API_KEY=your_openai_key_here \ -e GEMINI_API_KEY=your_gemini_key_here \ -e GROK_API_KEY=your_grok_key_here \ -e CLAUDE_API_KEY=your_claude_key_here \ -e HUGGINGFACE_API_KEY=your_huggingface_key_here \ -e DEEPSEEK_API_KEY=your_deepseek_key_here \ -e OPENROUTER_API_KEY=your_openrouter_key_here \ -e MISTRAL_API_KEY=your_mistral_key_here \ -e TOGETHER_API_KEY=your_together_key_here \ -e COHERE_API_KEY=your_cohere_key_here \ -e GROQ_FAST_API_KEY=your_groq_key_here \ -e PERPLEXITY_API_KEY=your_perplexity_key_here \ -e REPLICATE_API_TOKEN=your_replicate_key_here \ -e AI21_API_KEY=your_ai21_key_here \ -e STABILITY_API_KEY=your_stability_key_here \ -e FIREWORKS_API_KEY=your_fireworks_key_here \ -e ANYSCALE_API_KEY=your_anyscale_key_here \ -- /path/to/your/second-opinion/run.sh

šŸ’” Quick Setup: You only need to include -e flags for the API keys you have. For example, if you only have OpenAI and Gemini keys:

claude mcp add second-opinion -s user \ -e OPENAI_API_KEY=your_openai_key_here \ -e GEMINI_API_KEY=your_gemini_key_here \ -- /path/to/your/second-opinion/run.sh

Alternatively, you can manually add the server to your .claude.json file:

{ "mcpServers": { "second-opinion": { "type": "stdio", "command": "/path/to/your/second-opinion/run.sh", "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", "MISTRAL_API_KEY": "your_mistral_key_here", "TOGETHER_API_KEY": "your_together_key_here", "COHERE_API_KEY": "your_cohere_key_here", "GROQ_FAST_API_KEY": "your_groq_key_here", "PERPLEXITY_API_KEY": "your_perplexity_key_here", "REPLICATE_API_TOKEN": "your_replicate_key_here", "AI21_API_KEY": "your_ai21_key_here", "STABILITY_API_KEY": "your_stability_key_here", "FIREWORKS_API_KEY": "your_fireworks_key_here", "ANYSCALE_API_KEY": "your_anyscale_key_here" } } } }

šŸ”§ Why Use run.sh?

Feature

Benefit

šŸ“¦ Dependency Management

Automatically installs/updates requirements

šŸ›”ļø Error Handling

Checks for python3 availability and required files

šŸ”„ Cross-platform

Works better than direct Python execution

⚔ Reliability

Ensures consistent execution regardless of system

āœ… Verification

Check that your MCP server is properly installed:

claude mcp list

You should see second-opinion in the list of available MCP servers.

šŸ”‘ Environment Variables: You only need to add API keys for the services you want to use. Missing keys will simply disable those specific AI platforms. The server will work with any combination of available API keys.

Total Models Platforms Updated

šŸš€ Premium AI Platforms

Model

Description

Best For

o4-mini

Fast reasoning model

⚔ Quick reasoning

gpt-4.1

Latest flagship non-reasoning model

šŸŽÆ General tasks

gpt-4o

Multimodal powerhouse

šŸ–¼ļø Vision + text

gpt-4o-mini

Lightweight GPT-4o

šŸ’° Cost-effective

Model

Description

Best For

gemini-2.5-flash-lite-preview-06-17

Lightweight and fast

⚔ Quick responses

gemini-2.5-flash

Advanced reasoning and efficiency

🧮 Complex analysis

gemini-2.5-pro

Most capable Gemini model

🧠 Advanced tasks

Model

Description

Best For

grok-4

Latest flagship model

šŸŽÆ General excellence, best

grok-3-thinking

Step-by-step reasoning

šŸ¤” Deep thinking (use grok 4)

grok-3-mini

Lightweight model

šŸ’” Quick insights

Model

Description

Best For

claude-4-opus-20250522

Most advanced Claude

🧠 Complex reasoning

claude-4-sonnet-20250522

Versatile general tasks

āš–ļø Balanced performance

claude-3-7-sonnet-20250224

Stable and reliable

šŸ›”ļø Production use

claude-3-5-sonnet-20241022

Efficient, lighter model

šŸ’Ø Fast responses

Featured Models:

Model

Description

Best For

meta-llama/Llama-3.1-8B-Instruct

Fast Meta model

⚔ Speed

meta-llama/Llama-3.1-70B-Instruct

Powerful reasoning

🧠 Complex tasks

mistralai/Mistral-7B-Instruct-v0.3

French-developed

šŸ‡«šŸ‡· European AI

Qwen/Qwen2.5-7B-Instruct

Alibaba's latest

šŸ¢ Enterprise

🌟 Special: Access to any model on HuggingFace Hub that supports text generation

šŸ”¬ Specialized AI Platforms

Model

Description

Best For

deepseek-chat

DeepSeek-V3 general tasks

šŸ’¬ Conversations

deepseek-reasoner

DeepSeek-R1 advanced reasoning

🧠 Complex logic

Model

Description

Best For

anthropic/claude-3-5-sonnet-20241022

OpenRouter access to Claude 3.5 Sonnet

šŸŽÆ Balanced excellence

openai/gpt-4-turbo

OpenRouter access to GPT-4 Turbo

🧠 Advanced reasoning

google/gemini-pro-1.5

OpenRouter access to Gemini Pro 1.5

šŸ” Long context

meta-llama/llama-3.1-405b-instruct

OpenRouter access to largest Llama

🦣 Massive scale

mistralai/mistral-large

OpenRouter access to Mistral Large

šŸ‡«šŸ‡· European excellence

perplexity/llama-3.1-sonar-huge-128k-online

Web-connected via OpenRouter

🌐 Current information

🌟 Special: Access to 200+ models from multiple providers through a single OpenRouter API

Model

Description

Best For

mistral-large-latest

Most powerful Mistral

šŸŽÆ Top performance

mistral-small-latest

Fast and cost-effective

šŸ’° Budget-friendly

mistral-medium-latest

Balanced performance

āš–ļø General use

codestral-latest

Code generation specialist

šŸ’» Programming

Model

Description

Best For

meta-llama/Llama-3.1-8B-Instruct-Turbo

Fast Llama turbo

⚔ Speed

meta-llama/Llama-3.1-70B-Instruct-Turbo

Powerful Llama turbo

šŸš€ Performance

meta-llama/Llama-3.1-405B-Instruct-Turbo

Largest Llama model

🦣 Massive scale

mistralai/Mixtral-8x7B-Instruct-v0.1

Mixture of experts

šŸŽ­ Specialized tasks

Qwen/Qwen2.5-72B-Instruct-Turbo

Alibaba's fast model

šŸ¢ Enterprise

Cohere (Enterprise-grade)

Model

Description

Best For

command-r-plus

Most capable Cohere

šŸŽÆ Enterprise

command-r

Balanced performance

āš–ļø General business

command

Standard command model

šŸ’¼ Basic tasks

Groq (Ultra-fast inference)

Model

Description

Best For

llama-3.1-70b-versatile

Fast 70B Llama

⚔ Quick power

llama-3.1-8b-instant

Lightning-fast 8B

šŸƒ Instant responses

mixtral-8x7b-32768

Fast Mixtral variant

šŸŽ­ Quick specialization

gemma2-9b-it

Google's Gemma model

šŸ” Search-optimized

Perplexity AI (Web-connected)

Model

Description

Best For

llama-3.1-sonar-large-128k-online

Web search + large context

🌐 Research

llama-3.1-sonar-small-128k-online

Web search + fast responses

šŸ” Quick search

llama-3.1-sonar-large-128k-chat

Pure chat without web

šŸ’¬ Conversations

llama-3.1-sonar-small-128k-chat

Fast chat model

⚔ Quick chat

Replicate (Open-source hosting)

Model

Description

Best For

meta/llama-2-70b-chat

Large Llama 2 chat

🦣 Powerful chat

meta/llama-2-13b-chat

Medium Llama 2 chat

āš–ļø Balanced

meta/codellama-34b-instruct

Code-specialized Llama

šŸ’» Programming

microsoft/wizardcoder-34b

Microsoft's coding model

šŸ§™ Code magic

AI21 Labs (Advanced reasoning)

Model

Description

Best For

jamba-1.5-large

State-space capabilities

🧬 Complex reasoning

jamba-1.5-mini

Compact Jamba model

šŸ’Ž Efficient reasoning

j2-ultra

Jurassic-2 Ultra model

šŸ¦• Powerful

j2-mid

Jurassic-2 Mid model

āš–ļø Balanced

Stability AI (StableLM family)

Model

Description

Best For

stablelm-2-zephyr-1_6b

Efficient 1.6B parameter

⚔ Lightweight

stable-code-instruct-3b

Code-specialized 3B

šŸ’» Programming

japanese-stablelm-instruct-beta-70b

Japanese language

šŸ‡ÆšŸ‡µ Japanese tasks

stablelm-zephyr-3b

Balanced 3B parameter

āš–ļø General use

Fireworks AI (Ultra-fast inference)

Model

Description

Best For

accounts/fireworks/models/llama-v3p1-70b-instruct

Fast Llama 3.1 70B

šŸ”„ Speed + power

accounts/fireworks/models/llama-v3p1-8b-instruct

Fast Llama 3.1 8B

⚔ Quick responses

accounts/fireworks/models/mixtral-8x7b-instruct

Fast Mixtral model

šŸŽ­ Fast specialization

accounts/fireworks/models/deepseek-coder-v2-lite-instruct

Code-specialized

šŸ’» Fast coding

Anyscale (Ray-powered serving)

Model

Description

Best For

meta-llama/Llama-2-70b-chat-hf

Enterprise Llama 2 70B

šŸ¢ Enterprise chat

meta-llama/Llama-2-13b-chat-hf

Enterprise Llama 2 13B

šŸ’¼ Business tasks

codellama/CodeLlama-34b-Instruct-hf

Enterprise CodeLlama

šŸ’» Enterprise coding

mistralai/Mistral-7B-Instruct-v0.1

Enterprise Mistral

šŸ‡«šŸ‡· Enterprise EU


ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆ

šŸ’” Usage Examples


šŸŽ­ NEW: Personality Examples

😤 "Give me an honest opinion about this code" (brutally frank feedback) šŸ’• "I need some encouragement with this project" (supportive girlfriend mode) šŸ† "Help me stay motivated to finish this task" (motivational coach) šŸ§™ "What's the deeper meaning behind this design pattern?" (ancient wisdom) šŸŽØ "Think of a creative solution to this problem" (innovative thinking) šŸ¤– "Just give me the best available opinion" (automatic smart selection)

šŸ”„ Popular Requests

šŸ’¬ "Get a second opinion from GPT-4.1 on this coding approach" šŸ¤” "What would Grok-4 think about this solution?" (NEW: Latest model) āš–ļø "Compare how Claude-4-opus and gemini-2.5-flash would solve this problem" šŸ¤— "Get an opinion from meta-llama/Llama-3.1-70B-Instruct on HuggingFace" šŸŒ "Get an OpenRouter opinion from anthropic/claude-3-5-sonnet-20241022" 🧠 "What does DeepSeek-reasoner think about this math problem?" šŸ‡«šŸ‡· "Ask Mistral-large-latest to review my code architecture" ⚔ "Get a fast response from Groq's llama-3.1-8b-instant model" 🌐 "Use Perplexity's web search to research the latest AI developments" šŸ¢ "What does Cohere's command-r-plus think about this business strategy?" šŸ”— "Get Together AI's Llama-405B opinion on this complex problem"

šŸŽ­ Advanced Features

šŸ—£ļø "Start a group discussion about AI ethics with GPT-4.1, Claude-4, Mistral, and Perplexity" šŸ“Š "Cross-platform comparison of this algorithm across all 16 available platforms" šŸŽ­ "Get a Replicate opinion from meta/llama-2-70b-chat on this open-source approach" 🧬 "What does AI21's Jamba-1.5-large think about this reasoning problem?" šŸŽØ "Ask Stability AI's StableLM about this code optimization" šŸ”„ "Get a super-fast response from Fireworks AI's Llama model" šŸš€ "Use Anyscale's enterprise-grade Llama serving for this complex task"

šŸ”§ Available Tools

Single Model Opinions

  • get_openai_opinion - Get opinion from any OpenAI model

  • get_gemini_opinion - Get opinion from any Gemini model (enhanced with better conversation handling)

  • get_grok_opinion - Get opinion from any Grok model (includes thinking models)

  • get_claude_opinion - Get opinion from any Claude model

  • get_huggingface_opinion - Get opinion from any HuggingFace model (enhanced with better reliability)

  • get_deepseek_opinion - Get opinion from DeepSeek models

  • get_openrouter_opinion - Get opinion from 200+ models via OpenRouter (NEW)

  • get_mistral_opinion - Get opinion from Mistral AI models (NEW)

  • get_together_opinion - Get opinion from Together AI's 200+ models (NEW)

  • get_cohere_opinion - Get opinion from Cohere enterprise models (NEW)

  • get_groq_fast_opinion - Get ultra-fast responses from Groq (NEW)

  • get_perplexity_opinion - Get web-connected AI responses

  • get_replicate_opinion - Get opinion from Replicate's open-source models (NEW)

  • get_ai21_opinion - Get opinion from AI21 Labs' Jamba models (NEW)

  • get_stability_opinion - Get opinion from Stability AI's StableLM models (NEW)

  • get_fireworks_opinion - Get ultra-fast responses from Fireworks AI (NEW)

  • get_anyscale_opinion - Get enterprise-grade responses from Anyscale (NEW)

Model Comparisons

  • compare_openai_models - Compare multiple OpenAI models

  • compare_gemini_models - Compare multiple Gemini models

  • compare_grok_models - Compare multiple Grok models

  • compare_claude_models - Compare multiple Claude models

šŸŽ­ NEW: Personality & Smart Default Tools

  • get_personality_opinion - Get AI responses with specific personality (honest, gf, coach, wise, creative)

  • get_default_opinion - Automatically uses the best available model (Grok-4 → Gemini Pro → GPT-4.1)

  • list_personalities - See all available AI personalities and their descriptions

Cross-Platform Features

  • cross_platform_comparison - Compare across all 17 AI platforms: OpenAI, Gemini, Grok, Claude, HuggingFace, DeepSeek, OpenRouter, Mistral, Together AI, Cohere, Groq Fast, Perplexity, Replicate, AI21 Labs, Stability AI, Fireworks AI & Anyscale

  • group_discussion - Multi-round discussions between AI models with shared context (supports all platforms)

Conversation Management

  • list_conversation_histories - See active conversation threads

  • clear_conversation_history - Reset conversation memory for specific models

🧠 Advanced Features

GPT 5 Thinking Models

For deeper reasoning, use thinking models:

> "Get a GPT 5 thinking opinion on this complex math problem with high reasoning effort"

This will use GPT 5 with reasoning effort set to high.

Group Discussions

Create AI debates and collaborative problem-solving:

> "Start a group discussion about renewable energy solutions with 3 rounds between GPT-4.1, Claude-4, Gemini, and DeepSeek"

Each AI can see previous responses and build on the discussion.

HuggingFace Model Access

Access cutting-edge open source models:

> "Get an opinion from Qwen/Qwen3-30B-A3B-Instruct-2507 about chatbot design patterns"

may be broken Perfect for testing specialized models or comparing open source vs proprietary AI.

šŸ”’ Security

Your API keys stay private on your machine. The MCP server only sends model responses to the client, never your credentials.

šŸ›Ÿ Troubleshooting

Import errors: Ensure you've installed all dependencies with pip install -r requirements.txt

API errors: Check that your API keys are correct and active

Server not connecting: Verify the file path in your MCP configuration

Cut-off responses: The new version uses 4000 max_tokens by default to prevent truncation

HuggingFace timeouts: Some models may take time to load. Try again after a few moments.

Model not available: Check if the HuggingFace model supports text generation or chat completion

šŸš€ What's New in v5.0

  • āœ… šŸŽ­ AI Personality System: 5 distinct personalities (honest, gf, coach, wise, creative) with optimized model selection

  • āœ… 🧠 Intelligent Model Selection: Quality-ranked models with Grok-4 as top priority, smart defaults

  • āœ… šŸ—ļø Modular Architecture: Refactored from 51k+ token monolith into 5 maintainable modules

  • āœ… šŸ“Š JSON Configuration: Easy model priority updates via configuration files

  • āœ… šŸ¤– Always-Available Tools: Personality and default tools work with any provider setup

  • āœ… ⚔ Enhanced Performance: Optimized model selection and better error handling

  • āœ… šŸ”„ Future-Proof: Easy to add new models and update priorities

Previous Updates (v4.0)

  • āœ… 5 New Major AI Platforms: Replicate, AI21 Labs, Stability AI, Fireworks AI, Anyscale

  • āœ… 16 Total Platforms: Now supporting 16 different AI platforms and 800,000+ models

  • āœ… Advanced Reasoning: AI21 Labs' Jamba models with state-space architecture

  • āœ… Ultra-Fast Inference: Fireworks AI for blazing-fast open model serving

Previous Improvements (v3.0)

  • āœ… Major Bug Fixes: Fixed HuggingFace empty responses and Gemini blank chat issues

  • āœ… Enhanced HuggingFace: Completely rebuilt with advanced retry logic and better error handling

  • āœ… Improved Gemini: Smart conversation handling prevents blank responses in long chats

  • āœ… Web-Connected AI: Perplexity AI with real-time search capabilities

  • āœ… Enterprise Models: Cohere's command models for business use cases

šŸ¤ Contributing

Issues and pull requests welcome! This is an open-source project for the AI community.


ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“

🧠✨ Built for developers who want access to the entire AI ecosystem at their fingertips

GitHub stars GitHub forks GitHub watchers

⭐ Star us on GitHub • šŸ“ Fork the project • šŸ’– Contribute to the future of AI

ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“
-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProCreations-Official/second-opinion'

If you have feedback or need assistance with the MCP directory API, please join our Discord server