Skip to content

Tariff MCP

Real LLM pricing data for your AI tools — not hallucinated guesses. An MCP server that gives Claude, Cursor, and other AI assistants accurate, up-to-date model pricing from the LiteLLM community registry.

Add to your Claude Code config in one command:

Terminal window
claude mcp add tariff -- npx -y @atriumn/tariff

Or add the JSON config manually — see the Getting Started guide.

Model Lookup

Look up pricing, context windows, and capabilities for any LLM. Fuzzy matching means you don’t need exact model IDs.

Cost Estimation

Estimate the cost for a given number of input and output tokens on any model. Know what you’ll spend before you spend it.

Model Comparison

Filter and compare models by provider, context window, or mode. Find the most cost-effective model for your workload.

Live Data

Pricing data sourced from the LiteLLM community registry, cached for 24 hours with on-demand refresh.