Skip to main content
Glama
AI Model Advisor MCP Server

AI Model Advisor MCP Server

by Semicolon-D

AI Model Advisor MCP Server

The ultimate Model Context Protocol (MCP) server for AI model discovery, cost optimization, and performance benchmarking. Fully compatible with Claude Desktop, Cursor AI, Windsurf, and any MCP client.

Stop guessing which AI model to use. Give your agent the tools to compare pricing, intelligence benchmarks (MMLU/Coding), latency speed (TTFT), and throughput across 1000+ models from 5 top AI platform providers (OpenRouter, fal.ai, Together AI, Replicate, and Fireworks AI).

"Where is the cheapest Llama 3.3 endpoint?" "What is the fastest model for image generation under my budget?" "Which Claude 3.7 model has the highest coding benchmark?" Just ask your agent. It shops across all providers instantly with real-time AI model pricing.

Why use this Model Context Protocol Server?

New AI models drop constantly. Your AI coding agent (like Claude Desktop or Cursor) doesn't inherently know what's available, what API inference costs, or what the exact performance metrics are. This MCP fixes that by acting as a live model catalog and routing engine, giving your agent real-time access to:

  • 🧠 300+ LLMs via OpenRouter API (GPT-4o, Claude 3.7, Gemini 2.5 Pro, Llama, Reasoning Models, DeepSeek V3/R1)

  • šŸŽØ 200+ Media Models via fal.ai API (Flux Pro, Stable Diffusion, Kling Video, Whisper)

  • ⚔ 200+ Open-Source Models via Together AI (Llama 3.3 70B, Qwen, Mistral)

  • šŸ” Community fine-tunes & LORAs via Replicate (Wan 2.1, Recraft, Custom pipelines)

  • šŸ”„ Blazing Fast Inference endpoints via Fireworks AI

  • šŸ·ļø Cross-Provider Price Calculator — find the cheapest API endpoint / lowest cost LLM for any architecture.

  • ⚔ Live Speed & Latency Metrics — powered by Artificial Analysis (TTFT and Tokens/sec throughput).

  • šŸ† Intelligence Leaderboards — baked-in MMLU, Math, and Coding benchmark scores.

  • šŸ’° Real-Time Pricing — powered by our cloud backend (Zero config, no API keys needed for pricing).

  • ⭐ Curated Quality Tiers (S/A/B/C) to prevent agents from picking hallucinating or outdated models.

  • šŸ†• Discovery Engine — agents can ask "what new AI models dropped this week?"

Related MCP server: LLM Benchmark MCP Server

Quick Start

Zero-config (No API keys required)

The server works entirely out-of-the-box. Just add it to your MCP settings and save:

{
  "mcpServers": {
    "model-advisor": {
      "command": "npx",
      "args": ["-y", "ai-model-advisor-mcp@latest"]
    }
  }
}

That's it! Live pricing for all 1,000+ models across all 5 providers is fetched automatically using our hosted Cloudflare Worker Pricing API. No API keys, no environment variables, no setup.

Tools (9 total)

🧭 select_model_for_project ⭐ NEW

One call for agents that already have project context. Returns the best overall model, cheapest acceptable model, and best value option without forcing the agent to manually chain several tools.

select_model_for_project({
  project: "TypeScript MCP server for coding agents",
  task: "coding assistant",
  requirements: ["coding", "reasoning", "tool_use"],
  expected_usage: { input_tokens: 5000000, output_tokens: 1000000 }
})

The server searches the catalog behind the scenes and returns a compact decision with model IDs, provider, price, quality tier, reasons, tradeoffs, and structured output that agents can parse.

šŸ·ļø find_cheapest_provider ⭐ NEW

The killer feature. Shop for a model across all 5 providers.

find_cheapest_provider({ model: "llama 3.3 70b" })

Output:

šŸ·ļø Price comparison for "llama 3.3 70b"

| Provider    | Input $/1M | Output $/1M | Model ID                                         |
|-------------|-----------|------------|--------------------------------------------------|
| OpenRouter  | $0.00     | $0.00      | meta-llama/llama-3.3-70b-instruct                |
| Together AI | $0.88     | $0.88      | meta-llama/Llama-3.3-70B-Instruct-Turbo          |
| Fireworks   | $0.90     | $0.90      | accounts/fireworks/models/llama-v3p3-70b-instruct |

šŸ’” Cheapest: OpenRouter — FREE

Uses fuzzy matching — handles version format differences (v3p3 = 3.3) across providers.

šŸ“¦ batch_get_pricing ⭐ NEW

Get pricing for multiple models in a single call. Returns a compact table.

batch_get_pricing({ model_ids: ["openai/gpt-4o", "anthropic/claude-sonnet-4", "fal-ai/flux-pro/v1.1", "meta-llama/Llama-3.3-70B-Instruct-Turbo"] })

šŸŽÆ recommend_model

"I need X" → ranked models matching your task, requirements, and budget. Searches all 5 providers.

recommend_model({ task: "image generation", requirements: ["photorealistic", "fast"], budget: "low" })

āš–ļø compare_models

Side-by-side table across providers. Auto-adapts columns for LLMs vs media models.

compare_models({ model_ids: ["openai/gpt-4o", "anthropic/claude-sonnet-4", "google/gemini-2.5-pro-preview"] })

šŸ“‹ list_models

Browse and filter by category, provider, capability, or price.

list_models({ category: "text-to-image", max_price: 0.05 })
list_models({ provider: "together", category: "llm" })
list_models({ provider: "replicate", category: "text-to-video" })

šŸ“– get_model_info

Comprehensive model card with everything you need to decide.

get_model_info({ model_id: "fal-ai/flux-pro/v1.1" })

šŸ’° estimate_cost

Cost estimation for any usage scenario.

estimate_cost({ model_id: "openai/gpt-4o", usage: { input_tokens: 1000000, output_tokens: 100000 } })
estimate_cost({ model_id: "fal-ai/flux-pro/v1.1", usage: { images: 500 } })

šŸ†• whats_new

Discover recently added models. Never miss a new release.

whats_new({ since: "7d" })
whats_new({ since: "30d", category: "text-to-video" })

Providers

Provider

Models

Type

Hosted Pricing Data

OpenRouter

350+

LLMs

āœ… Yes

fal.ai

40+

Image, Video, Audio, 3D

āœ… Yes

Together AI

220+

LLMs, Image

āœ… Yes

Replicate

120+

Everything

āœ… Yes

Fireworks AI

12+

LLMs

āœ… Yes

Categories

Category

Examples

llm

GPT-4o, Claude, Gemini, Llama, Mistral, DeepSeek

text-to-image

Flux Pro, Stable Diffusion, DALL-E, Ideogram, Recraft

image-to-image

Flux Edit, img2img pipelines, upscalers

text-to-video

Kling, Minimax, Hunyuan, Wan 2.1

image-to-video

Kling i2v, Runway, Wan i2v

text-to-speech

Kokoro, ElevenLabs

speech-to-text

Wizper (Whisper)

text-to-audio

Music/sound generation

image-to-3d

Hunyuan3D, Trellis

vision

Visual understanding models

embedding

Text embedding models

Quality Tiers

Popular models are rated on a curated quality scale:

  • S — Best in class (Claude Sonnet 4, GPT-4o, Flux Pro Ultra, Kling v2.0)

  • A — Excellent (Gemini Flash, Llama 3.3, Flux Dev, Recraft v3)

  • B — Good (Mistral Small, Flux Schnell, SD3.5 Turbo)

  • C — Adequate

Architecture

Agent → MCP Server → Cloudflare Worker Pricing API (Our Hosted Backend)
                         ā”œā”€ Fetches from OpenRouter (350+ models)
                         ā”œā”€ Fetches from fal.ai (40+ models)
                         ā”œā”€ Fetches from Together AI (220+ models)
                         ā”œā”€ Fetches from Replicate (120+ models)
                         └─ Fetches from Fireworks AI (12+ models)

Unified Model Registry
→ select, recommend, compare, list, info, estimate, shop, batch

The MCP Server connects to our blazing-fast Cloudflare Worker that aggregates live pricing data across all 5 providers on a recurring 6-hour cron schedule. This gives your agent real-time pricing awareness without requiring you to juggle 5 different API keys.

License

MIT

Available Tools

9 tools
batch_get_pricingA

Get pricing for multiple models in a single call. Returns a compact table with pricing for all requested models. Much faster than calling get_model_info one at a time.

Inputs: model_ids (required).

compare_modelsA

Compare AI models side-by-side in a table. Works across providers and categories — compare LLMs against each other, image generators, or even mix categories. Auto-adapts columns based on model types. Includes speed metrics (TTFT, tokens/sec) and benchmark scores (MMLU) when available.

Inputs: model_ids (required).

estimate_costA

Estimate the cost of using an AI model. For LLMs, provide token counts. For media models, provide unit counts. Example: estimate_cost({model_id: "fal-ai/flux-pro", usage: {images: 100}})

Inputs: usage (required), model_id (required).

find_cheapest_providerA

Find the cheapest provider for a given model. Searches across all 5 providers to find where a model (e.g. "llama 3.3 70b", "flux pro", "deepseek r1") is available and compares pricing. Uses fuzzy matching to find the same model across different providers.

Inputs: model (required).

get_model_infoA

Get a comprehensive model card for any AI model. Includes description, pricing breakdown, capabilities, quality tier, context length (LLMs), speed metrics (TTFT, throughput), benchmark scores (MMLU, coding), tags, license, and more.

Inputs: model_id (required).

list_modelsB

List and filter available AI models from all 5 providers. Filter by category (llm, text-to-image, text-to-video, text-to-speech, speech-to-text, image-to-3d, etc.), provider (openrouter, fal, together, replicate, fireworks), capability, or max price.

Inputs: limit, category, provider, max_price, +1 more.

recommend_modelA

Recommend the best AI model for a task. Searches across 1000+ models spanning LLMs, image gen, video gen, TTS, STT, 3D, and more from 5 providers (OpenRouter, fal.ai, Together AI, Replicate, Fireworks). Returns ranked results based on task match, capabilities, quality tier, price, speed (TTFT/throughput), and intelligence benchmarks (MMLU/coding).

Inputs: task (required), limit, budget, requirements.

select_model_for_projectA

Pick the best overall, cheapest acceptable, and best value AI model for a project. Use this when an agent has project context and needs one decision instead of manually chaining recommend, compare, pricing, and cost tools. Returns concise markdown plus structured fields with candidates, scores, reasons, pricing, and tradeoffs.

Inputs: task, limit, budget, project, +3 more. Returns: query, best_value, candidates, cost_basis, +2 more

whats_newA

Discover recently added AI models. Answers "what new models dropped this week?" Filter by time window and category.

Inputs: limit, since, category.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 9 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: listing, getting details, comparing, recommending, estimating cost, etc. However, recommend_model and select_model_for_project overlap in that both provide recommendations; select_model_for_project is explicitly a higher-level aggregation tool, but agents could be uncertain which to use.

    Naming Consistency4/5

    The majority of tools follow a consistent verb_noun snake_case pattern (e.g., list_models, get_model_info, estimate_cost). The exception is whats_new, which deviates from the verb_noun structure but remains clear and fits the domain.

    Tool Count5/5

    With 9 tools, the set is well-scoped for an AI model advisor. Each tool addresses a distinct need, and the count is within the ideal range for a focused server.

    Completeness5/5

    The tool surface covers the full lifecycle of model advisory: discovery (list_models, whats_new), detailed info (get_model_info), recommendation (recommend_model, select_model_for_project), comparison (compare_models), pricing (batch_get_pricing, find_cheapest_provider), and cost estimation (estimate_cost). No significant gaps are apparent.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Provides AI assistants with real-time access to 1000+ AI models including their latest pricing, context windows, capabilities, and specifications. Supports model search, comparison, recommendations, and live testing.
      3
      90 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Discovers LLM models in real time from cloud providers and local Ollama instances, returning compatibility profiles and live pricing so AI agents can route tasks to the cheapest viable model without breaking tool calls or context clipping.
      9
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables real-time access to LLM pricing, benchmarks, deprecation alerts, and cost optimization for over 30 models across 8 providers, allowing AI agents to make cost-effective model selections.
      -