Token Lens runs on your own machine — the client starts it, so there is no endpoint to ping. 42 installs a week from npm. Last commit 24 Apr 2026.
Context window token analysis and budget management
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add token-lens -- npx -y token-lens-mcp
{
"mcpServers": {
"token-lens": {
"args": [
"-y",
"token-lens-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.token-lens]
command = "npx"
args = ["-y", "token-lens-mcp"]
{
"mcpServers": {
"token-lens": {
"args": [
"-y",
"token-lens-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"token-lens": {
"args": [
"-y",
"token-lens-mcp"
],
"command": "npx"
}
}
}
Answers built from our own checks of this server.