Token Diet
Count tokens exactly for any text and see if it fits a 128K, 200K or 1M context window.
mcp★ 00 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source
Documentation & Preview
{ "mcpServers": { "mcp-tokendiet-8f273fe5233bdc8ed522": { "url": "https://tokendiet.clawhard.com/mcp", "type": "http" } }, "setup": { "fields": [], "requirements": [ "在目标客户端完成服务登录或账号授权" ] }, "provenance": { "registryServer": "com.clawhard/tokendiet", "registryVersion": "1.1.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/com.clawhard%2Ftokendiet/versions/1.1.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": null, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }