mcpbeat Sign in

Token Lens MCP Server

local only

Token Lens runs on your own machine — the client starts it, so there is no endpoint to ping. 60 installs a week from npm. Last commit 24 Apr 2026.

Context window token analysis and budget management

Installs per day peak 14 · avg 7 · +24% w/w
a month agotoday
60
Installs / week
npm · token-lens-mcp
0
Stars
0 open issues
24 Apr 2026
Last commit
no releases in 90 days
MIT
License
JavaScript

Nothing serious here today

Today is the operative word: we check Token Lens every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add token-lens -- npx -y token-lens-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "token-lens": {
      "command": "npx",
      "args": [
        "-y",
        "token-lens-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.token-lens]
command = "npx"
args = ["-y", "token-lens-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "token-lens": {
      "command": "npx",
      "args": [
        "-y",
        "token-lens-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "token-lens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "token-lens-mcp"
      ]
    }
  }
}

Alternatives to Token Lens

same job, measured the same way
Docker
by rog0x

Docker container management and Dockerfile analysis

59 installs/wk local only
Agent Wallet MCP
by rumblingb

Agent wallet and budget management for AI agents

local only
T
token-gate-mcp
by abduljabbarbxr

Token and context budget for AI agents. Tracks spend and gates the session.

46 installs/wk local only
C
Contextlayer MCP
by autoblocks

Personal context management for AI assistants

72 installs/wk local only
C
Ctxl
by autoblocks

Personal context management for AI assistants

66 installs/wk local only
C
Ctxl MCP
by autoblocks

Personal context management for AI assistants

64 installs/wk local only
MCP Toolz
by taylorleese

Context management, todo persistence, and multi-AI perspectives for Claude Code

82 installs/wk local only
Google Adwords
by codechap

MCP server for Google Ads campaign and budget management

local only

Token Lens — questions

Answers built from our own checks of this server.

Why is there no uptime for Token Lens?
Token Lens runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package token-lens-mcp was installed 60 times last week.
How do I connect Token Lens?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls token-lens-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Token Lens?
The npm package token-lens-mcp was installed 60 times in the last week. Week over week that is +24%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Token Lens open source?
Yes — it is published under the MIT licence, written in JavaScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.