Token Diet
com.clawhard/tokendiet
MCP server OK 1 tools
Count tokens exactly for any text and see if it fits a 128K, 200K or 1M context window.
Technical sheet
- Author
- clawhard.com (registry namespace)
- Repository
- —
- Site
- tokendiet.clawhard.com
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://tokendiet.clawhard.com/mcp Streamable HTTP
- Tools
- 1
- Categories
- —
- Last updated
- 2 Nov 2026
- Published
- 2 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/com.clawhard/tokendiet)<a href="https://latlas.dev/en/mcp/com.clawhard/tokendiet"><img src="https://latlas.dev/badge/statut/mcp/com.clawhard/tokendiet.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.clawhard/tokendiet)<a href="https://latlas.dev/en/mcp/com.clawhard/tokendiet"><img src="https://latlas.dev/badge/fiche/com.clawhard/tokendiet.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://tokendiet.clawhard.com/mcp
- Last result
- OK 28 Nov 2026, 09:17
- Response time
- 1,064 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- com.clawhard/tokendiet 1.1.0
- Tools
- 1
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:17 | OK | 1,064 ms | 1 |
Exposed tools (1, from tools/list, 28 Nov 2026)
tokendiet_count_tokens
Count the exact tokens in a text
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. Counts are exact for that tokenizer. Example: {"text": " "}. Not for shortening text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | yes | The text to count (up to 200,000 characters). |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://tokendiet.clawhard.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http tokendiet https://tokendiet.clawhard.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : tokendiet ; URL : https://tokendiet.clawhard.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : tokendiet ; Server URL : https://tokendiet.clawhard.com/mcp ; Create as a plugin{
"mcpServers": {
"tokendiet": {
"url": "https://tokendiet.clawhard.com/mcp"
}
}
}{
"mcpServers": {
"tokendiet": {
"type": "http",
"url": "https://tokendiet.clawhard.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"tokendiet": {
"url": "https://tokendiet.clawhard.com/mcp"
}
}
}{
"mcpServers": {
"tokendiet": {
"httpUrl": "https://tokendiet.clawhard.com/mcp"
}
}
}[mcp_servers.tokendiet]
url = "https://tokendiet.clawhard.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Token Diet · L’Atlas · Tested on
[Token Diet — L’Atlas](https://latlas.dev/en/mcp/com.clawhard/tokendiet)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.