Skip to main content

Token Diet

com.clawhard/tokendietVersion 1.1.0

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

Status

Responds271 msAnswered our handshake without sign-in.

Registry data may be out of date

We could not refresh it, so this page shows the last copy.
Last checked
Nov 14, 2026, 13:51 UTC
Latency
271 ms
Remotes responding
1 of 1
Sign-in
No sign-in
Hosting
Hosted outside the EU (detected)
Registry data as of
Nov 14, 2026, 22:14 UTC

Data from the official MCP Registry, checked by run.zero. How we check

Connect

Streamable HTTP
https://tokendiet.clawhard.com/mcpResponds271 ms
No sign-in

Claude Code

claude mcp add --transport http tokendiet https://tokendiet.clawhard.com/mcp

Claude Desktop and claude.ai

Settings > Connectors > Add custom connector
Name: tokendiet
Remote MCP server URL: https://tokendiet.clawhard.com/mcp

Cursor

{
  "mcpServers": {
    "tokendiet": {
      "url": "https://tokendiet.clawhard.com/mcp"
    }
  }
}

VS Code

code --add-mcp '{"name":"tokendiet","type":"http","url":"https://tokendiet.clawhard.com/mcp"}'

Built your own server? run.zero hosts MCP servers on European infrastructure.

Host your own MCP server on run.zero

Tools

1 tools

Tools of Token Diet
Read-only
Idempotent
Open world
tokendiet_count_tokensUse 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. Counts are exact for that tokenizer. Example: {"text": "<the text to measure>"}. Not for shortening text.NoYesYesNo

Details

Registry status
Active
Published
Nov 2, 2026
Updated
Nov 2, 2026
Repository
Not given
Categories
Uncategorized
GDPR
Not declared

Are you the operator? Claim this listing