mcp

Live LLM API pricing: token prices, comparisons, cheapest-model lookups. No key required.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
77%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~589token 数(工具定义)
~884 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.46%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "@modelpricewatch/mcp"
      ]
    }
  }
}

可运行的软件包

npm@modelpricewatch/mcp1.0.0stdio

远程端点

https://modelpricewatch.com/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_models(query, category, open_source, limit)

Search the live LLM pricing database by model name, provider, or id. Returns matching models with current input/output prices (USD per 1M tokens), context window, modality, and category. Use this to answer 'how much does <model> cost' or 'what models does <provider> offer'.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Free-text match against model name, provider, or id (e.g. 'claude', 'gpt-5', 'gemini flash'). Omit to list all."
    },
    "category": {
      "type": "string",
      "description": "Filter by category, e.g. flagship, reasoning, budget, coding, embedding, fast, mid-tier."
    },
    "open_source": {
      "type": "boolean",
      "description": "If true, only open-source/open-weight models; if false, only proprietary."
    },
    "limit": {
      "type": "number",
      "description": "Max results (default 20, max 50)."
    }
  }
}
🟢get_model_pricing(model_id)

Get full pricing and capability details for one model by its id (from search_models). Returns input/output/cached price per 1M tokens, blended cost, context window, modality, release date, and the modelpricewatch.com page URL.

输入模式

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "description": "The model id, e.g. 'anthropic-claude-opus-4-8' or 'openai-gpt-5-5'. Get ids from search_models."
    }
  },
  "required": [
    "model_id"
  ]
}
🟢cheapest_models(sort_by, category, open_source, limit)

Find the cheapest current models, ranked by input price, output price, or a blended cost. The generic ranking covers generative text models (embeddings, OCR and realtime models are excluded — they price different work); pass category to rank a specific pool instead, e.g. 'embedding'. Use to answer 'what is the cheapest model for <use case>'.

输入模式

{
  "type": "object",
  "properties": {
    "sort_by": {
      "type": "string",
      "description": "Ranking metric: 'input', 'output', or 'blended' (default 'blended')."
    },
    "category": {
      "type": "string",
      "description": "Filter by category, e.g. flagship, reasoning, budget, coding, embedding."
    },
    "open_source": {
      "type": "boolean",
      "description": "If true, only open-source models."
    },
    "limit": {
      "type": "number",
      "description": "How many to return (default 10, max 50)."
    }
  }
}
🟢list_providers

List all tracked AI model providers (OpenAI, Anthropic, Google, etc.) with a short description and their pricing page.

输入模式

{
  "type": "object",
  "properties": {}
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本4 个工具