Token Lens MCP Server
by mdfifty50-boopio.github.mdfifty50-boop/token-lensv0.1.2
MCP server for analyzing and optimizing context window token usage — audit tool definitions, compress schemas, track usage, and reduce bloat
context tax
queued
security
queued
cold start
queued
freshness
Slowing6mo ago
Install Token Lens MCP server
Install in Claude Code
claude mcp add token-lens -- npx -y token-lens-mcpInstall in Cursor
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"token-lens-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"token-lens-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"token-lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"token-lens-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"token-lens-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-04-24 · 6mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-04-24 · 6mo ago · official registry · v0.1.2
FAQ
›How do I install the Token Lens MCP server in Claude Code?
Run: claude mcp add token-lens -- npx -y token-lens-mcp. 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.mdfifty50-boop/token-lens.