mcpbeat Sign in

AI Token Counter MCP Server

answering

AI Token Counter is answering right now. Last checked 11 min ago. It exposes 4 tools. Last commit 17 May 2026.

Cloudflare Workers MCP server: ai-token-counter

Uptime history 47 days of history
47 days agonow
100.0%
Uptime 24h
91 of 91 checks
4
Tools
read from the server
176 ms
Response time
average over 24h
0
Stars
last commit 17 May 2026

Nothing serious here today

Today is the operative word: we check AI Token Counter every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 11 min ago.

run in your terminal
claude mcp add ai-token-counter --transport http https://api.lazy-mac.com/ai-token-counter/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ai-token-counter": {
      "url": "https://api.lazy-mac.com/ai-token-counter/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.ai-token-counter]
url = "https://api.lazy-mac.com/ai-token-counter/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "ai-token-counter": {
      "url": "https://api.lazy-mac.com/ai-token-counter/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "ai-token-counter": {
      "url": "https://api.lazy-mac.com/ai-token-counter/mcp"
    }
  }
}

Available tools 4

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

count
count_tokens
Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).
estimate
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.
model
get_model_pricing
Get input/output pricing per 1M tokens for a specific AI model.
models
list_models
List all supported AI models with their pricing and context windows.

Endpoints

URLTransportStateLatencyChecked
https://api.lazy-mac.com/ai-token-counter/mcp streamable-http answering 153 ms 11 min ago

Alternatives to AI Token Counter

same job, measured the same way
AI Eval
by lazymac2x

Cloudflare Workers MCP server: ai-eval

3 tools answering
AI Gateway
by lazymac2x

Cloudflare Workers MCP server: ai-gateway

answering
AI Model Router
by lazymac2x

Cloudflare Workers MCP server: ai-model-router

3 tools answering
Blog
by lazymac2x

Cloudflare Workers MCP server: blog

3 tools answering
AI Cost Optimizer
by lazymac2x

Cloudflare Workers MCP server: ai-cost-optimizer

5 tools answering
API Mock Server
by lazymac2x

Cloudflare Workers MCP server: api-mock-server

6 tools answering
AI Guardrails
by lazymac2x

Cloudflare Workers MCP server: ai-guardrails

5 tools answering
AI Changelog Writer
by lazymac2x

Cloudflare Workers MCP server: ai-changelog-writer

5 tools answering

AI Token Counter — questions

Answers built from our own checks of this server.

What can AI Token Counter do?
It exposes 4 tools, read directly from the server on our last check. Among them: count_tokens, estimate_cost, get_model_pricing, list_models. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is AI Token Counter working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 91 of 91 checks got a reply (100.0%), average response time 176 ms. The bar chart above shows every period we have measured.
How do I connect AI Token Counter?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does AI Token Counter need an API key?
No. AI Token Counter completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 4 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is AI Token Counter?
It answers our handshake in 176 ms on average, which is faster than 71% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
Is AI Token Counter open source?
We cannot say either way: 0 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.