servers/ ai-agents/ token-lens
TL

Token Lens

Unverified Claim & verify → AI & Agents

Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.

Overview Installation

Overview

Token Lens is a Model Context Protocol server that counts and cuts tokens in prompts, chats, and agents for any model. It runs entirely locally and collects no data, giving you transparent control over token usage across your AI workflows. Any MCP-compatible AI assistant can call Token Lens tools directly, letting the model decide when to apply token counting and management in conversations or agent runs.

The server runs locally as an npm package. Install it with npx -y @kunal_dutt/token-lens. No authentication or credentials are required — it works immediately out of the box. The latest release is v0.2.37.

Token Lens belongs in the AI & Agents category on mcp.site and works with all MCP clients including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed, and others. If you maintain Token Lens, claim this listing to verify ownership, earn the Verified badge, and keep your details current.

▸npm package — @kunal_dutt/token-lens · MCP over stdio

Installation

// claude_desktop_config.json
{
  "mcpServers": {
    "token_lens": {
      "command": "npx",
      "args": [
        "-y",
        "@kunal_dutt/token-lens"
      ]
    }
  }
}

Related servers

IN
inference.sh
AI & Agents Remote

run any ai model. compose agents, stack knowledge, connect tools. one api, pay per run.

Added 2 months ago →
Docs Mcp icon
Docs Mcp
AI & Agents Remote

Remote MCP server for Tandem docs, install guides, SDKs, workflows, and agent setup help.

★ 118 Added 2 months ago →
AM
aTars MCP
AI & Agents Remote

Crypto market signals, technical indicators, and sentiment analysis for AI agents.

Added 2 months ago →
Adeu icon
Adeu
AI & Agents

Automated DOCX Redlining Engine.

★ 149 Added 2 months ago →
AD
Adside
AI & Agents Remote

AI agents that manage paid ads on Meta, LinkedIn, and Google Ads from any MCP client.

Added 2 months ago →
AA
Advisors AI Service Navigator
AI & Agents Remote

Read-only service discovery, public-page checks, and request-link preparation.

Added 2 months ago →
>_ esc
↑↓ navigate↵ openesc close