Tokencost Dev
Looks up LiteLLM model pricing, estimates token costs, compares models, and refreshes cached pricing through MCP.
Install Tokencost Dev
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"tokencost-dev": {
"command": "npx",
"args": [
"-y",
"tokencost-dev"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 4 tools correctly (3d ago).
Overview
Use cases
- Estimate the cost of a planned input and output token volume
- Compare models by provider, mode, context, and pricing
- Look up model capabilities and context-window limits
- Refresh cached pricing before making a cost decision
Key features
- Fuzzy model-name lookup
- Input and output token cost estimation
- Cost-oriented model comparison
- Pricing, context, and capability metadata
- LiteLLM registry refresh with 24-hour caching
Tools4
What Tokencost Dev lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 4 tools this server returned when we ran it.
Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 15d ago via OSV.dev · tokencost-dev (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Tokencost Dev works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Tokencost Dev
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tokencost-dev)<a href="https://allmcps.com/mcp/tokencost-dev"><img src="https://allmcps.com/api/badge/tokencost-dev?style=directory" alt="Tokencost Dev on AllMCPs" /></a>