Token Diet for Zed
com.clawhard/tokendiet
Count tokens exactly for any text and see if it fits a 128K, 200K or 1M context window.
client:Zed
transport:streamable-http
tools:1
Install Token Diet in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"tokendiet": {
"url": "https://tokendiet.clawhard.com/mcp"
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs