Skip to content

HomeGitHub

AliveRegistry

ai-token-counter

io.github.lazymac2x/ai-token-counter

Cloudflare Workers MCP server: ai-token-counter

This endpoint completed initialize and tools/list. No tool was called.

Rank
#1133
Score
82
Tool tokens
401
Tools
4

Tools

Token cost is the o200k count of the tools list JSON, including schemas, before any tool is called.

  • count_tokens

    Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).

  • estimate_cost

    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

    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.

Nearby in GitHub

#1
Context7

Up-to-date code docs for any prompt

Alive
score
95
#4
SerpApi

Official SerpApi MCP server for Google, Bing, and other search engines.

Alive
score
94
#5
pg-aiguide

Comprehensive PostgreSQL documentation and best practices, including ecosystem tools

Alive
score
92