Inferenceindexer Mcp

io.github.DesMartin01Published by GitHub account DesMartin01v0.1.1Updated Oct 27, 2026

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

VerifiedStreamable HTTPWeb executableFinanceData & AnalyticsAI & ML

Overview

AI-generated overview

Exposes live and historical AI inference pricing, provider comparisons and a composite price index as tools an assistant can query.

What you can do
  • Recommend and rank models under constraints such as budget, context, quality floor or zero-data-retention, with ready-to-use endpoint configs
  • Search and list models by text, tier or sort order, and get full detail or a single-call explanation of one model
  • Retrieve historical price trends for a model over a chosen window
  • List providers and get per-provider detail, and compare one model's price across the providers hosting it
  • Read the current SIT-Composite index value and its history with per-tier breakdown
When to use it
Useful when an assistant has to pick or compare AI inference models and providers, estimate or track inference costs, or explain price changes over time instead of assembling pricing data itself.
Requirements
Runs as a hosted remote endpoint or as a local Python process (PyPI package, launched with uv/uvx). Optional environment variables II_API_BASE and II_API_KEY; the public server works without a key. Network access to the InferenceIndexer API.
Before you install
II_API_KEY is an optional bearer credential that raises rate limits; the README also mentions an optional II_SSR_SECRET for self-hosted or higher-tier use. Queries and model identifiers are sent to the third-party InferenceIndexer API. Tools are read-only lookups; pricing data is third-party and should be verified before relying on it for spending decisions.

Installation

In SourceWeft

  1. Open Inferenceindexer Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.DesMartin01%2Finferenceindexer-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "inferenceindexer": {
      "type": "http",
      "url": "https://api.inferenceindexer.ai/mcp"
    }
  }
}

README

InferenceIndexer MCP Server

Model Context Protocol server exposing InferenceIndexer's live + historical inference pricing as agent callable tools. Instead of an agent assembling inference pricing itself (slow, incomplete), it can call these tools to get complete pricing, historical trends, provider comparison, and the SIT index.

Tools

ToolDescription
recommend_modelsCall this first: rank models under your constraints (budget, context, ZDR, quality floor) with ready-to-call endpoint configs
explain_modelEverything about one model in one call: pricing, trend, endpoints, privacy flags
search_modelsSearch/list models with current pricing (by text, tier, sort)
get_modelFull detail + current price for one model
get_model_historyHistorical price trends for one model (the differentiator)
list_providersAll providers with model counts + price stats
get_providerDetail for one provider (models, tiers, price range)
get_composite_latestCurrent SIT-Composite index value + tier breakdown
get_composite_historySIT-Composite index history / trend
compare_providersPrice of one model across all providers that host it

Config (env)

  • II_API_BASE - InferenceIndexer API base (default https://api.inferenceindexer.ai)
  • II_API_KEY - Optional bearer key (public server works without one; a key raises rate limits)
  • II_SSR_SECRET - Optional first-party secret for self-hosted/higher-tier use only. Not set on the public server.

Run

stdio (recommended for local/agent-run):

bash
uv syncuv run inferenceindexer-mcp

Serve over HTTP/SSE (for remote clients, e.g. the hosted endpoint at https://api.inferenceindexer.ai/mcp):

bash
uv run inferenceindexer-mcp --transport streamable-http --port 8899

Connect an agent / MCP client

Claude Desktop / generic MCP client (stdio):

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

Updated Oct 2026. Hosted (no install): https://api.inferenceindexer.ai/mcp - add "url": "https://api.inferenceindexer.ai/mcp" to mcpServers for streamable-http clients.

Source: README.md at commit 3206f1d

Tools

10

recommend_models

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). aa_min: Hard floor on the AA Intelligence Index score (quality gate). use_case: Task profile: support | volume | extraction | summarization | coding | research. prefer_callable: Demote models without a verified call recipe below callable ones. limit: Max recommendations (1-20, default 5). Returns: ranked recommendations with endpoint_config and ranking evidence.

Parameterszdrlimitaa_minmodalityuse_casereasoningcontext_mineu_sovereignprefer_callablebudget_max_usd_per_m

explain_model

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.

Parametersmodel_idrequiredhistory_days

search_models

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 (optional). limit: Max results (1-100, default 25). sort: Sort key: blended | input | output | sit_score | sit_adjusted_price (default sit_adjusted_price). Returns: models with input/output/blended $/M pricing, provider, tier.

Parameterssorttierlimitquery

get_model

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).

Parametersmodel_idrequired

get_model_history

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.

Parametersdaysmodel_idrequired

list_providers

List all inference providers with model counts and price stats.

Takes no parameters.

get_provider

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.

Parametersprovider_namerequired

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.

Takes no parameters.

get_composite_history

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

Parametersdays

compare_providers

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).

Parametersmodel_idrequired

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts