inferenceindexer-mcp

AI inference pricing for agents: live and historical model prices, provider comparison.

我该使用它吗

质量与安全性

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

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

上下文开销

~1,798token 数(工具定义)
~870 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.40%)

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

安装

一键安装

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

{
  "mcpServers": {
    "inferenceindexer-mcp": {
      "command": "uvx",
      "args": [
        "inferenceindexer-mcp"
      ]
    }
  }
}

可运行的软件包

pypiinferenceindexer-mcp0.1.1stdio

远程端点

https://api.inferenceindexer.ai/mcpstreamable-http

它能做什么

工具清单

工具(10)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪recommend_models(budget_max_usd_per_m, context_min, modality, zdr, eu_sovereign, ...)

Recommend the best-value AI models for given constraints, ranked with receipts. The core answer endpoint: give it constraints and it returns the top models ranked by Cost/IQ (quality-adjusted price, lower is better), each with a plain-English 'why', a hot-swap endpoint_config (provider base_url + native model id, ready to call), as-of timestamps, and runner-ups. Args: budget_max_usd_per_m: Max blended price $/M (optional). context_min: Minimum context window in tokens (optional). modality: 'text' (default), 'vision', or 'any'. zdr: Require zero-data-retention providers (optional). eu_sovereign: Require EU-sovereign providers (optional). reasoning: Filter reasoning models (null = any, true/false). limit: Max recommendations (1-20, default 5). Returns: ranked recommendations with endpoint_config and ranking evidence.

输入模式

{
  "type": "object",
  "properties": {
    "budget_max_usd_per_m": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Budget Max Usd Per M"
    },
    "context_min": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Context Min"
    },
    "modality": {
      "default": "text",
      "title": "Modality",
      "type": "string"
    },
    "zdr": {
      "default": false,
      "title": "Zdr",
      "type": "boolean"
    },
    "eu_sovereign": {
      "default": false,
      "title": "Eu Sovereign",
      "type": "boolean"
    },
    "reasoning": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Reasoning"
    },
    "limit": {
      "default": 5,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "recommend_modelsArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "recommend_modelsDictOutput"
}
🟢explain_model(model_id, history_days)

Get everything about one model in a single call: the full picture. Returns current pricing (input/output/blended, Cost/IQ, 24h/7d changes), a price-history summary with trend, all provider endpoints, the cheapest hand-verified endpoint with its native model id (for hot-swapping), privacy flags (ZDR/EU availability), and the AA intelligence score. Everything is as-of stamped. Args: model_id: Canonical model id, e.g. 'anthropic/claude-sonnet-5'. history_days: Price-history window (default 30, max 365). Returns: complete model profile with pricing, endpoints, privacy, quality.

输入模式

{
  "type": "object",
  "properties": {
    "model_id": {
      "title": "Model Id",
      "type": "string"
    },
    "history_days": {
      "default": 30,
      "title": "History Days",
      "type": "integer"
    }
  },
  "required": [
    "model_id"
  ],
  "title": "explain_modelArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "explain_modelDictOutput"
}
🟢search_models(query, tier, limit, sort)

Search and list AI inference models with current pricing. Args: query: Text search on model id/name (optional). tier: Filter by tier: frontier | standard | budget | micro | zdr | eu (optional). limit: Max results (1-100, default 25). sort: Sort key, e.g. 'blended' (price), 'sit' (SIT score) (optional). Returns: models with input/output/blended $/M pricing, provider, tier.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Query"
    },
    "tier": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Tier"
    },
    "limit": {
      "default": 25,
      "title": "Limit",
      "type": "integer"
    },
    "sort": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Sort"
    }
  },
  "title": "search_modelsArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "search_modelsDictOutput"
}
🟢get_model(model_id)

Get full detail + current pricing for one model by its id. Args: model_id: Canonical model id, e.g. 'openai/gpt-5.6' or 'anthropic/claude-sonnet-5'. Returns: pricing, tier, SIT score, quality-adjusted price (Cost/IQ).

输入模式

{
  "type": "object",
  "properties": {
    "model_id": {
      "title": "Model Id",
      "type": "string"
    }
  },
  "required": [
    "model_id"
  ],
  "title": "get_modelArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "get_modelDictOutput"
}
🟢get_model_history(model_id, days)

Get HISTORICAL price data / trends for one model. This is InferenceIndexer's differentiator: aggregators like OpenRouter expose only current price; this returns the price over time (input, output, blended $/M), enabling trend analysis. Args: model_id: Canonical model id, e.g. 'openai/gpt-5.6'. days: History window in days (1-365, default 30; plan-dependent). Returns: historical price series for the model.

输入模式

{
  "type": "object",
  "properties": {
    "model_id": {
      "title": "Model Id",
      "type": "string"
    },
    "days": {
      "default": 30,
      "title": "Days",
      "type": "integer"
    }
  },
  "required": [
    "model_id"
  ],
  "title": "get_model_historyArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "get_model_historyDictOutput"
}
🟢list_providers

List all inference providers with model counts and price stats.

输入模式

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

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "list_providersDictOutput"
}
🟢get_provider(provider_name)

Get detail for one provider: models, tier breakdown, price range. Args: provider_name: Provider name, e.g. 'DeepInfra', 'Novita', 'Venice'. Returns: provider detail with model list and pricing.

输入模式

{
  "type": "object",
  "properties": {
    "provider_name": {
      "title": "Provider Name",
      "type": "string"
    }
  },
  "required": [
    "provider_name"
  ],
  "title": "get_providerArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "get_providerDictOutput"
}
🟢get_composite_latest

Get the current SIT-Composite index value + per-tier breakdown. The SIT-Composite is a usage-weighted mean of the top-50 models by token volume, reflecting what developers actually pay for inference.

输入模式

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

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "get_composite_latestDictOutput"
}
🟢get_composite_history(days)

Get SIT-Composite index history / trend over time. Args: days: History window in days (1-90, default 30). Returns: historical composite index values.

输入模式

{
  "type": "object",
  "properties": {
    "days": {
      "default": 30,
      "title": "Days",
      "type": "integer"
    }
  },
  "title": "get_composite_historyArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "get_composite_historyDictOutput"
}
⚪compare_providers(model_id)

Compare the price of one model across the providers that host it. Args: model_id: Canonical model id, e.g. 'meta/muse-spark-1.1'. Returns: per-provider endpoints with pricing, showing where direct provider prices diverge (e.g. from OpenRouter's negotiated rate).

输入模式

{
  "type": "object",
  "properties": {
    "model_id": {
      "title": "Model Id",
      "type": "string"
    }
  },
  "required": [
    "model_id"
  ],
  "title": "compare_providersArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true,
  "title": "compare_providersDictOutput"
}

社区

评价此服务器

证据

最近观测

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