Back to Directory/Developer Tools

io.github.DesMartin01/inferenceindexer-mcp

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

Developer ToolsPythonv0.1.1

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

uv sync
uv run inferenceindexer-mcp

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

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

Connect an agent / MCP client

Claude Desktop / generic MCP client (stdio):

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

Updated Aug 2026.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx inferenceindexer-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-desmartin01-inferenceindexer-mcp": {
      "command": "uvx",
      "args": [
        "inferenceindexer-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

inferenceindexer-mcppypi

Compatible MCP Clients

io.github.DesMartin01/inferenceindexer-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More