Skip to main content
Glama
modelanalyzer-mcp

modelanalyzer-mcp

by yeaske

modelanalyzer-mcp

An MCP server that lets your coding assistant recommend, compare and price AI models, and check when they retire, using the free open data from AI Model Analyzer.

It runs locally over stdio and reads one public file, https://modelanalyzer.ai/data/summary.json, which the site rebuilds every night. There is no API key, no account and no server to host. Answers link back to the matching page on the site.

Install

Add it to your assistant's MCP configuration:

{
  "mcpServers": {
    "modelanalyzer": { "command": "npx", "args": ["-y", "modelanalyzer-mcp"] }
  }
}

For Claude Code:

claude mcp add modelanalyzer -- npx -y modelanalyzer-mcp

Requires Node.js 20 or later.

Related MCP server: indextkn MCP server

Tools

Tool

What it does

list_scenarios

The use-case scenarios that recommend_models ranks for

recommend_models

The site's ranking for a scenario (quality blended with cost at a typical workload), optionally under a monthly budget or open weights only

search_models

Find models by name, id or maker, with Analyzer Index, price, cost per task, speed and context

compare_models

Side-by-side table of 2 to 6 models

estimate_cost

Cost per request, day and month at list price for a token volume

model_retirements

Announced API shutdown dates with each maker's recommended replacement

Example prompts: "Which model should I use for a customer support bot under $100 a month?", "Compare Claude Opus 5.5 and GPT-6.1 Sol", "Is any model I use being retired soon?"

Data and credit

Numbers are exactly what modelanalyzer.ai shows, generated nightly. Cost per task and speed come from Artificial Analysis; Arena scores from LMArena (CC-BY 4.0). See the methodology and open data pages.

The summary is cached in memory for six hours. Set MODELANALYZER_BASE_URL to read from another host (for example a local build).

Development

npm install
npm test

Bug reports and ideas are welcome in issues. The rankings and numbers themselves come from the site; see its methodology.

Releasing

Bump the version in package.json, server.json (twice) and src/server.js; npm test checks they agree. Then:

npm publish
mcp-publisher login github
mcp-publisher publish

The second step lists the new version in the MCP Registry as io.github.yeaske/modelanalyzer-mcp.

License

MIT, © Digital Designs Now.

Available Tools

6 tools
compare_modelsCompare modelsA
Read-only

Side-by-side table of 2 to 6 models: Analyzer Index and rank, input/output price, cost per task, speed, time to first token, context, open weights and announced retirement.

Inputs: models (required).

estimate_costEstimate API costB
Read-only

Cost per request, day and month for a model at list price, given tokens per request and requests per day.

Inputs: model (required), inputTokens (required), outputTokens (required), requestsPerDay.

list_scenariosList use-case scenariosA
Read-only

List the use-case scenarios (coding assistant, customer support bot, bulk classification, ...) that recommend_models ranks for.

Inputs: no named parameters.

model_retirementsUpcoming model retirementsA
Read-only

Announced API shutdown dates for tracked models, with each maker's recommended replacement.

Inputs: no named parameters.

recommend_modelsRecommend models for a use caseA
Read-only

AI Model Analyzer's current ranking for a use-case scenario, blending benchmark quality with cost at a typical workload. Optionally filter by a monthly budget at that workload or by open weights.

Inputs: scenario (required), limit, openWeightsOnly, maxMonthlyCostUSD.

search_modelsSearch modelsA
Read-only

Find models by name, id or maker. Returns ids for the other tools, plus Analyzer Index, price, cost per task, speed and context.

Inputs: query (required), limit.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool maps to a distinct operation: enumeration of scenarios, ranking, name-based lookup, multi-model comparison, cost math, and retirement dates. search_models vs compare_models are the closest pair, but the descriptions clearly separate 'find by name' from 'side-by-side table of 2-6 models.'

    Naming Consistency4/5

    Five of six tools follow a clean verb_noun snake_case pattern (list_scenarios, recommend_models, search_models, compare_models, estimate_cost). model_retirements breaks the pattern with a noun-only form, but it remains readable and unambiguous.

    Tool Count5/5

    Six tools is a tight, well-scoped surface for a model-analysis domain, with no filler or redundant endpoints. Each tool covers a distinct analytical need an agent would actually ask for.

    Completeness4/5

    Discovery, ranking, comparison, cost estimation and lifecycle coverage are all present, forming a coherent read-only pipeline. Minor gaps: no single-model detail view distinct from search, and no way to list all tracked models or filter by capability/context constraints beyond budget and open weights.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to fetch live, dated prices for LLM models and cloud compute instances across providers, compare and recommend models, and estimate monthly costs based on workload-specific token shapes and constraints.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to query live AI model pricing, compare providers, and calculate token workload costs from current published prices.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Live, sourced pricing and benchmark data across image, language, video, and audio AI models, seven tools for comparison, competitor lookups, and cost-aware routing. Also powers the free Modelglass VS Code extension.
      1
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to compare costs, performance, and quality across 150+ models from 26 LLM providers, estimate or predict workload spend, route tasks to cost-effective models, and track actual recorded usage. Prices are cross-checked against a live external registry so drifted figures are flagged rather than silently served.
      MIT