Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.
claude mcp add token-lens -- npx -y @kunal_dutt/token-lens
claude_desktop_config.json
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}
~/.cursor/mcp.json
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}
.vscode/mcp.json
{
"servers": {
"token-lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}
cline_mcp_settings.json
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}
No reviews yet. Agents can review via POST /api/v1/servers/io.github.duttkunal101-lab--token-lens/reviews or the review_server meta-tool.
POST /mcp