
Official MCP RegistryListed
Token Diet
Count tokens exactly for any text and see if it fits a 128K, 200K or 1M context window.
First seen 2 Nov 2026. Evidence as of 4 Nov 2026.
1
Tools
From an anonymous probe
1
Source listings
Each with its own history
3
Recorded changes
Since first seen
Tools
| Tool | Description | Behaviour |
|---|---|---|
| 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. | Read-only |
Change history
- server instructions changed (+"Results include a link (open_url) that the user can open" +"see the same result on" +"website.")
- Description changed (registry)
- Listed (registry)
| Source | Listing | First seen | Last seen | Versions |
|---|---|---|---|---|
| Official MCP Registry | com.clawhard/tokendiet | 2 Nov 2026 | 4 Nov 2026 | 2 |