Token Lens MCP Server
io.github.duttkunal101-lab/token-lensv0.2.37
Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.
context tax
pending
security
pending
cold start
pending
freshness
pending
Our reading of Token Lens, from the data
Token Lens is an MCP server, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
It runs locally on your machine over stdio.
Install Token Lens MCP server
Install in Claude Code
claude mcp add io-github-duttkunal101-lab-token-lens -- npx -y @kunal_dutt/token-lensInstall in Cursor
{
"mcpServers": {
"io-github-duttkunal101-lab-token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"io-github-duttkunal101-lab-token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"io-github-duttkunal101-lab-token-lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"io-github-duttkunal101-lab-token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-17 · 1d ago · official registry · v0.2.37
FAQ
›How do I install the Token Lens MCP server in Claude Code?
Run: claude mcp add io-github-duttkunal101-lab-token-lens -- npx -y @kunal_dutt/token-lens. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Token Lens require an API key?
No required environment variables are declared in its published metadata.
›Can I use Token Lens as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Token Lens in the official MCP registry?
Yes, as io.github.duttkunal101-lab/token-lens.
Sources and method
- Official MCP Registry entry
- updated 2026-10-17
- Package registry (npm / PyPI)
- listed
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.