ai-token-counter
Server Details
Cloudflare Workers MCP server: ai-token-counter
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2024-11-05
- URL
- Repository
- lazymac2x/ai-token-counter-api
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
Each tool has a distinct purpose: counting tokens, estimating cost, retrieving pricing, and listing models. No overlap in functionality.
All tool names follow a consistent verb_noun pattern: count_tokens, estimate_cost, get_model_pricing, list_models. Clear and predictable.
Four tools are well-scoped for a token counting and cost estimation server, covering the core needs without bloat.
The surface supports counting, cost estimation, pricing lookup, and model discovery. A minor gap is lack of batch token counting across multiple files, but core workflows are covered.
Available Tools
4 toolscount_tokensBInspect
Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).
Inputs: text, model, messages.
estimate_costAInspect
Estimate the cost of an AI API call given model and token counts or text. Returns input/output/total cost and optional monthly projection.
Inputs: model (required), text, input_tokens, output_tokens, +1 more.
get_model_pricingBInspect
Get input/output pricing per 1M tokens for a specific AI model.
Inputs: model (required).
list_modelsAInspect
List all supported AI models with their pricing and context windows.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-rate-limit-tracker
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: ai-eval
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, allowing users to create custom tools and connect to MCP clients like Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityDmaintenanceA remote MCP server on Cloudflare Workers that supports tool registration and connects to AI clients like Cloudflare AI Playground and Claude Desktop without authentication.-
- FlicenseNot gradedqualityNot gradedmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling connection to Cloudflare AI Playground or local MCP clients.-
- FlicenseNot gradedqualityNot gradedmaintenanceMCP server on Cloudflare Workers with OAuth login, enabling remote tool calls like math operations from MCP clients.-
Glama MCP Gateway
Add one secure layer between your agents and this server.