io.github.DesMartin01/inferenceindexer-mcp
AI inference pricing for agents: live and historical model prices, provider comparison.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http inferenceindexer-mcp 'https://api.inferenceindexer.ai/mcp'
{
"mcpServers": {
"inferenceindexer-mcp": {
"type": "http",
"url": "https://api.inferenceindexer.ai/mcp"
}
}
}
inferenceindexer-mcpclaude mcp add inferenceindexer-mcp -e 'II_API_BASE=<II_API_BASE>' -e 'II_API_KEY=<your ii_api_key>' -- uvx inferenceindexer-mcp==0.1.1
{
"mcpServers": {
"inferenceindexer-mcp": {
"command": "uvx",
"args": [
"inferenceindexer-mcp==0.1.1"
],
"env": {
"II_API_BASE": "<II_API_BASE>",
"II_API_KEY": "<your ii_api_key>"
}
}
}
}
Variables d'environnement
II_API_BASEBase URL of the InferenceIndexer API (defaults to the public API; no key required for the free tier)II_API_KEYsecret Optional InferenceIndexer API key (raises rate limits; free keys at https://www.inferenceindexer.ai/for-agents)
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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
| Tool | Description |
|---|---|
recommend_models | Call this first: rank models under your constraints (budget, context, ZDR, quality floor) with ready-to-call endpoint configs |
explain_model | Everything about one model in one call: pricing, trend, endpoints, privacy flags |
search_models | Search/list models with current pricing (by text, tier, sort) |
get_model | Full detail + current price for one model |
get_model_history | Historical price trends for one model (the differentiator) |
list_providers | All providers with model counts + price stats |
get_provider | Detail for one provider (models, tiers, price range) |
get_composite_latest | Current SIT-Composite index value + tier breakdown |
get_composite_history | SIT-Composite index history / trend |
compare_providers | Price of one model across all providers that host it |
Config (env)
II_API_BASE- InferenceIndexer API base (defaulthttps://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 Oct 2026. Hosted (no install): https://api.inferenceindexer.ai/mcp - add "url": "https://api.inferenceindexer.ai/mcp" to mcpServers for streamable-http clients.
Questions fréquentes
Qu'est-ce que io.github.DesMartin01/inferenceindexer-mcp ?
AI inference pricing for agents: live and historical model prices, provider comparison.
Comment installer io.github.DesMartin01/inferenceindexer-mcp ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http inferenceindexer-mcp 'https://api.inferenceindexer.ai/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.DesMartin01/inferenceindexer-mcp ?
Oui. Il attend II_API_KEY, à renseigner dans sa configuration.
io.github.DesMartin01/inferenceindexer-mcp est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.DesMartin01/inferenceindexer-mcp ?
Il est publié par DesMartin01. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.