mcpbeat Sign in

Token Diet MCP Server

answering

Token Diet is answering right now. Last checked 9 min ago. It exposes 1 tools.

Count tokens exactly for any text and see if it fits a 128K, 200K or 1M context window.

Uptime history 5 hours of history
5 hours agonow
100.0%
Uptime 24h
17 of 17 checks
1
Tools
read from the server
120 ms
Response time
average over 24h
open, no key
Access
streamable-http

Nothing serious here today

Today is the operative word: we check Token Diet 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 9 min ago.

run in your terminal
claude mcp add tokendiet --transport http https://tokendiet.clawhard.com/mcp
Settings → Connectors → Add custom connector, then paste this address
https://tokendiet.clawhard.com/mcp
~/.codex/config.toml
[mcp_servers.tokendiet]
url = "https://tokendiet.clawhard.com/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "tokendiet": {
      "url": "https://tokendiet.clawhard.com/mcp"
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "tokendiet": {
      "type": "http",
      "url": "https://tokendiet.clawhard.com/mcp"
    }
  }
}

Available tools 1

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

tokendiet
tokendiet_count_tokens
Use when the user asks how many tokens a text, prompt, log, document or code paste is, whether it fits a context window (128K, 200K, 1M), or how big something is before they send it to an AI. Returns the exact o200k token count (GPT-4o family and later; Claude and Gemini usually within about 15%), plus words, characters and how much of each window it uses. Language models cannot count their own tokens, so call this instead of estimating. Example: {"text": "<the text to measure>"}. Not for shortening text.

Endpoints

URLTransportStateLatencyChecked
https://tokendiet.clawhard.com/mcp streamable-http answering 129 ms 9 min ago

Alternatives to Token Diet

same job, measured the same way
Token Lens
by mdfifty50-boop

Context window token analysis and budget management

55 installs/wk local only
Agirails MCP Server
by unima3x

Payment rails for AI agents — escrow, settlement, discovery, and disputes from any context window.

58 installs/wk local only
MCP Pinterest Brand Presence Mapper
by mambabuilt

Resolve a company domain to its Pinterest account with exact follower and pin counts.

81 installs/wk local only
T
TokenTally by Harlo
by workers-mike-tusa-tokentally

Count tokens (o200k/cl100k), truncate to a budget, chunk text for RAG and estimate LLM cost.

4 tools answering
Windframe
by devwares-team

Provides style context & tokens to design or restyle web UIs in any framework

answering
MCP Bluesky Brand Presence Mapper
by mambabuilt

Resolve a company domain to its Bluesky account with exact follower, following and post counts.

89 installs/wk local only
T
Tokenarcade
by tokenarcade

Games for AI agents. Each game runs inside a single context window.

16 tools answering
Token Context MCP
by mck564

On-demand, local code-context MCP server for AI coding agents with Tree-sitter AST.

637 installs/wk local only

Token Diet — questions

Answers built from our own checks of this server.

What can Token Diet do?
It exposes 1 tools, read directly from the server on our last check. Among them: tokendiet_count_tokens. 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 Token Diet working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 17 of 17 checks got a reply (100.0%), average response time 120 ms. The bar chart above shows every period we have measured.
How do I connect Token Diet?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Token Diet need an API key?
No. Token Diet completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 1 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Token Diet?
It answers our handshake in 120 ms on average, which is faster than 87% of all working MCP servers we measure. That puts it in the quick quarter of the ecosystem. The comparison comes from our own checks across the whole registry, every 15 minutes.