mcpserver.lol
registry/ai-token-counter
Connection check verified live · 27h ago

ai-token-counter

Cloudflare Workers MCP server: ai-token-counter

Tools 4
GitHub stars
Installs / wk
Licence
Transport streamable-http
Last checked 27h ago

Tools & capabilities

4 tools

Read from the running server on 27h ago.

count_tokens textmodelmessages
Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).
estimate_cost textmodel*input_tokensoutput_tokensrequests_per_day
Estimate the cost of an AI API call given model and token counts or text. Returns input/output/total cost and optional monthly projection.
get_model_pricing model*
Get input/output pricing per 1M tokens for a specific AI model.
list_models
List all supported AI models with their pricing and context windows.