Repository avatar
AI Tools
v1.0.1
active

openrouter-llm-pricing-mcp

io.github.theluckystrike/openrouter-llm-pricing-mcp

Zero-key live LLM catalog, token pricing, context windows, and cost comparisons for 400+ models.

Documentation

openrouter-llm-pricing-mcp

Zero-key live OpenRouter LLM pricing and model catalog over Model Context Protocol (MCP). AI platform engineers, FinOps teams, and procurement leads can search 400+ AI models, inspect per-million-token prompt and completion rates, compare models side by side, filter by context window and modality, and estimate monthly LLM spend without an API key or sign-up. It connects over Streamable HTTP right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://openrouter-llm-pricing-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
search_llm_modelsSearch 400+ live OpenRouter LLMs by keyword, provider, modality, open-weight flag, or context length
get_llm_model_pricingLook up exact per-million-token prompt, completion, image, and request pricing for a model ID
compare_llm_pricingCompare up to 6 LLM models side by side on token pricing, context window, and monthly cost
find_cheapest_llmsRank the lowest-cost LLMs meeting minimum context window, modality, or open-weight criteria
estimate_llm_workload_costEstimate per-request, monthly, and annual USD cost for an LLM workload

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "openrouter-llm-pricing": {
      "url": "https://openrouter-llm-pricing-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries https://openrouter.ai/api/v1/models with a clear User-Agent header (mcpstamp-openrouter-pricing/1.0) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't stay cached. All five tools declare read-only, non-destructive, idempotent, open-world annotations.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.