Loomal

Context window token analysis and budget management

0 starsnpm: token-lens-mcp

About token-lens

token-lens is an MCP (Model Context Protocol) server published by mdfifty50-boop in the official MCP registry, listed under Code Analysis on Loomal. Context window token analysis and budget management

It ships as an npm package (token-lens-mcp), so any MCP client that can launch a local process can run it.

Development happens in the open at github.com/mdfifty50-boop/token-lens-mcp.

Use token-lens with your agent

Claude Code · one command
claude mcp add token-lens -- npx -y token-lens-mcp
Claude Desktop, Cursor & other MCP clients · config
{
  "mcpServers": {
    "token-lens": {
      "command": "npx",
      "args": [
        "-y",
        "token-lens-mcp"
      ]
    }
  }
}
npmtoken-lens-mcp

Frequently asked questions

What is token-lens?
token-lens is an MCP (Model Context Protocol) server by mdfifty50-boop in the Code Analysis category. Context window token analysis and budget management
How do I connect token-lens to Claude, Cursor, or another MCP client?
Install token-lens from its npm package (token-lens-mcp) and register it under "mcpServers" in your client's MCP configuration — for example claude_desktop_config.json or Cursor's mcp.json — then restart the client.
Is token-lens open source?
Yes — the source code is public at github.com/mdfifty50-boop/token-lens-mcp.
Can AI agents pay to use token-lens?
Not yet through Loomal — token-lens is listed as a free directory entry. If its maintainer verifies ownership, they can set per-call USDC pricing that agents pay over x402, with settlement on Base.

Listing data from the official MCP registry and GitHub, refreshed periodically. Not affiliated with the maintainer unless claimed. Maintain token-lens? Claim this listing free by verifying GitHub ownership, or contact us.