inferenceindexer-mcp

v0.1.1
io.github.DesMartin01/inferenceindexer-mcp Checked 4 days ago Published 3 months ago

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

Values you need

VariableWhat it is
II_API_BASEoptional Base URL of the InferenceIndexer API (defaults to the public API; no key required for the free tier)
II_API_KEYoptional secret Optional InferenceIndexer API key (raises rate limits; free keys at https://www.inferenceindexer.ai/for-agents)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add inferenceindexer-mcp -- uvx inferenceindexer-mcp==0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "inferenceindexer-mcp": {
      "args": [
        "inferenceindexer-mcp==0.1.1"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "inferenceindexer-mcp": {
      "args": [
        "inferenceindexer-mcp==0.1.1"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "inferenceindexer-mcp": {
      "args": [
        "inferenceindexer-mcp==0.1.1"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.inferenceindexer-mcp]
command = "uvx"
args = ["inferenceindexer-mcp==0.1.1"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http inferenceindexer-mcp https://api.inferenceindexer.ai/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "inferenceindexer-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.inferenceindexer.ai/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "inferenceindexer-mcp": {
      "url": "https://api.inferenceindexer.ai/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "inferenceindexer-mcp": {
      "type": "http",
      "url": "https://api.inferenceindexer.ai/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.inferenceindexer-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.inferenceindexer.ai/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: search_models, get_model, get_model_history, list_providers, get_provider, get_composite_latest, get_composite_history, compare_providers.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json