RemoteFree server, account needed

Token Diet MCP server

com.clawhard/tokendiet

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

Install Token Diet in Claude Code

Claude Code
claude mcp add --transport http clawhard-token-diet https://tokendiet.clawhard.com/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "clawhard-token-diet": {
      "url": "https://tokendiet.clawhard.com/mcp"
    }
  }
}

Frequently asked questions

What does the Token Diet MCP server do?

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

Is the Token Diet MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Token Diet run locally or remotely?

Remote. Hosted by the provider. You connect with a URL, nothing to install.

How do I add Token Diet to Claude Code?

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

More other tools & integrations MCP servers

View all