Token Lens
Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.
MCP server · by duttkunal101-lab
About
Token Lens is an MCP server published by duttkunal101-lab. Marketplaces we read that list it: 1 (Official MCP Registry). The last change we recorded was on 2026-10-17. As of our marketplace pass on 2026-10-27.
What it asks for
- Runs on your machine
None of the marketplaces we read publishes its tools or the settings it asks for.
What it declares, asks for and runs, in full
Only install plugins from developers you trust. We list what marketplaces publish and do not test plugins.
Package
npm @kunal_dutt/token-lens (@kunal_dutt/token-lens on npm)
- npm downloads/week: 3 344 (2026-10-24)
- npm downloads/month: 3 344 (2026-10-24)
- Latest version on npm: 0.2.57, published 2026-10-22
npm facts come from the public npm registry (registry.npmjs.org, api.npmjs.org). Each figure is the registry's own and is never added to another. A registry that publishes no figure shows none: no number is not zero.
Works with
- Claude Code
- Codex
- Cursor
- VS Code
- Copilot CLI
A one-click link opens the client, which asks you to confirm before it adds the server.
From the marketplaces that list it and the MCP transport it declares, as each client documents them. We do not test plugins.
Connect
Commands and configs built only from what its marketplaces declare. We do not run them for you and do not test plugins.
As a local MCP server: npm package
Built from what Official MCP Registry declares.
claude mcp add --transport stdio token-lens -- npx -y @kunal_dutt/token-lens
[mcp_servers.token-lens]
command = "npx"
args = ["-y", "@kunal_dutt/token-lens"]
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens"
]
}
}
}
Where it is published
| Marketplace | Status | Version | Figures | Verified | First seen |
|---|---|---|---|---|---|
| Official MCP Registry (Open the registry record) | Listed | 0.2.37 | Downloads/month (npm): 3 344 Downloads/week (npm): 3 344 |
Not marked |
Each figure is the marketplace's own and is never added up across marketplaces. A marketplace that publishes no figure shows none: no number is not zero.
What changed
- Official MCP Registry: released version 0.2.37 (was 0.2.33)
- Official MCP Registry: released version 0.2.33 (was 0.2.31)
- Official MCP Registry: released version 0.2.31 (was 0.2.30)
- Official MCP Registry: released version 0.2.30 (was 0.2.25)
- Official MCP Registry: released version 0.2.25 (was 0.2.23)
- Official MCP Registry: released version 0.2.23 (was 0.2.21)
- Official MCP Registry: released version 0.2.21 (was 0.2.17)
- Became a product we track
- Official MCP Registry: appeared
Similar plugins
Products whose own names, descriptions, tools and skills are closest in meaning to this one, on every marketplace we read. Closeness is ranked within this list only.
-
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
-
LLM token optimization gateway implementing semantic pruning.
-
mcp-token-optimizer io.github.rccola990-cloud/mcp-token-optimizer
Cut LLM token costs: count tokens, estimate cost, slim prompts, and pick the cheapest capable model.
-
GenPark Context Window Token Pruner
Priority-weighted context window token pruner and FIFO eviction engine protecting LLM prompt boundar
-
ai-token-counter io.github.lazymac2x/ai-token-counter
Cloudflare Workers MCP server: ai-token-counter
-
Token counting, RAG chunking, truncation, HTML to Markdown and JSON repair
-
Cuts AI web-fetching costs up to 99.9% by stripping page junk before it reaches your LLM.
-
TokenSqueezer LLM Token Compressor
x402-gated LLM token compressor: strip filler, collapse JSON, densify prose. Paid in USDC.
-
GenPark Entropy Hallucination Detector
Token entropy and n-gram perplexity analyzer auditing LLM outputs for degenerate repetition loops an
-
Pay-per-call NLP & embeddings APIs on Base via x402. No keys/signup; agents pay per call in USDC.
Similar plugins by marketplace
The same question asked of one marketplace at a time: is there an analog of this plugin there?
Has a listing on Claude Code: claude-plugins-community (5)
-
AI eXchange Optimised Notation plugin converts your inputs into a machine-to-machine language to reduce token usage by up to 80% depending on the context.
-
Two skills that help you understand and optimize your Claude Code context window. Inspect Context gives you a full token breakdown by source (files, history, skills, MCP configs…
-
A Claude Code plugin that routes text-heavy tasks to the right Claude model — saving tokens without sacrificing quality. Why Planning, CLAUDE.md generation, README writing, and…
-
Plan tasks with optimal model routing to minimize token usage. Breaks work into steps, assigns each the right model (Haiku/Sonnet/Opus), adds quality gates between stages…
-
Enforces a daily token budget for Claude Code using its native hook system. Works with any backend — Bedrock, Vertex, direct API, or subscription.
Has a listing on Claude Code: claude-plugins-official (5)
-
Agent Skills for Together AI platform — inference, training, embeddings, audio, video, images, function calling, and infrastructure. Covers serverless chat completions…
-
OpenTelemetry observability for Claude Code sessions. Captures tool calls, LLM invocations, token usage, and errors as OTel traces. Send telemetry to Dash0 or any…
-
Skills for working with Langfuse, the open-source LLM engineering platform for tracing, prompt management, and evaluation.
-
Build, train, evaluate, and use open source AI models, datasets, and spaces.
-
Output.ai workflow development toolkit for Claude Code. Adds 5 specialist agents (planner, builder, debugger, prompt writer, quality reviewer), 40+ slash-command skills covering…
Has a listing on Claude: knowledge-work-plugins (5)
-
Skills for working with Langfuse, the open-source LLM engineering platform for tracing, prompt management, and evaluation.
-
Build multimodal AI applications with Pixeltable -- tables, computed columns, embedding search, UDFs, tool-calling agents, and 25+ AI provider integrations.
-
DataRobot skills for AI/ML workflows — model training, deployment, predictions, feature engineering, monitoring, explainability, data preparation, App Framework CI/CD, and…
-
Connects Claude Code to the Synthflow AI voice-agent platform through its hosted MCP server, with skills for reviewing calls and auditing agent prompts, plus a docs-search…
-
MCP server for terminal commands, file operations, and process management
Has a listing on Codex: openai-curated (openai/plugins) (5)
-
Build with OpenAI APIs, Agents SDK, and ChatGPT Apps, and create and save OpenAI API keys from Codex.
-
Evaluate Codex skills and plugins from chat with a beginner-friendly start command, local-first reports, token budget explanations, and guided benchmarking.
-
Skills for NVIDIAs ecosystem spans GPU acceleration, CUDA, AI agents, inference, robotics, Physical AI, Omniverse, and simulation. This plugin helps you understand the pieces…
-
Install, open, and connect the signed ChatCut Desktop app from Codex.
-
Available for US1 customers only. Analyze, investigate, and act on your Datadog telemetry directly from ChatGPT using natural language. Ask questions about your production…
Has a listing on Community GitHub marketplaces (2)
Has a listing on Copilot CLI: github/awesome-copilot (5)
-
Visualizes live session AI-credit usage as a Pac-Man board with pellets, ghosts, fruit milestones, and game-over limits.
-
See your local Copilot token usage by day, model, and session, and get tips to use it more efficiently.
-
Run a lightweight, role-separated AI development team with flexible tools, developer-selected models, proportionate planning, and optional QA.
-
Shows live prompt-cache reuse, expiry, token composition, and AI Credit cost for the current GitHub Copilot session without making model calls.
-
Task Researcher and Task Planner for intermediate to expert users and large codebases - Brought to you by microsoft/edge-ai
Has a listing on Copilot CLI: github/copilot-plugins (5)
-
Toolkit for building Microsoft 365 Copilot declarative agents — scaffolding, JSON manifest development, and capability configuration.
-
workiq
Query Microsoft 365 data with natural language — emails, meetings, documents, Teams messages, and more.
-
Advanced Security plugin for GitHub Copilot.
-
Bring Azure DevOps work-item, repository, and pull-request workflows into GitHub Copilot.
-
model-apps
Build and deploy Power Apps generative pages for model-driven apps with specialist agents for planning, entity creation, and parallel code generation. Requires PAC CLI >= 2.7.0…
Has a listing on Cursor: cursor/plugins (5)
-
Iterative self-referential AI loops using the Ralph Wiggum technique.
-
Add Grok voice to an app: realtime speech-to-speech, speech-to-text dictation, text-to-speech read-aloud, and a log-driven fix loop for voice sessions.
-
Incremental transcript-driven memory updates for AGENTS.md using high-signal bullet points only.
-
Build apps, scripts, and automations with the TypeScript SDK.
-
Generate presentations, documents, and webpages.
Has a listing on Docker MCP Catalog (5)
-
Read and score Opik traces, experiments, datasets and prompts from your AI assistant.
-
Bridges multiple AI models and CLIs, enabling orchestrated workflows across Claude Code, Gemini CLI, Codex CLI, and other AI development tools.
-
Tools for interacting with Hugging Face models, datasets, research papers, and more.
-
Provides tools to search and retrieve Google Gemini API documentation.
-
Production-ready RAG service to search and retrieve data from your documents.
Has a listing on Official MCP Registry (5)
-
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
-
LLM token optimization gateway implementing semantic pruning.
-
mcp-token-optimizer io.github.rccola990-cloud/mcp-token-optimizer
Cut LLM token costs: count tokens, estimate cost, slim prompts, and pick the cheapest capable model.
-
GenPark Context Window Token Pruner
Priority-weighted context window token pruner and FIFO eviction engine protecting LLM prompt boundar
-
ai-token-counter io.github.lazymac2x/ai-token-counter
Cloudflare Workers MCP server: ai-token-counter
Has a listing on PyPI (MCP servers) (5)
-
local-delegate io.github.ZahiriNatZuke/local-delegate
Delegate mechanical text tasks to a local OpenAI-compatible LLM to save Claude quota.
-
perplexity com.mcparmory/perplexity
Search the web, generate AI responses, and create embeddings with real-time information
-
mcp-openai io.github.AceDataCloud/mcp-openai
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
-
Read and score Opik traces, experiments, datasets and prompts from your AI assistant.
-
marm-mcp-server io.github.Lyellr88/marm-mcp-server
Universal MCP Server with advanced AI memory capabilities and semantic search.
Has a listing on npm registry (MCP servers) (5)
-
rubber-duck io.github.nesquikm/rubber-duck
Bridge to multiple LLMs and CLI agents: councils, debates, voting, and more
-
sub-agents-mcp io.github.shinpr/sub-agents-mcp
MCP server for delegating tasks to specialized AI sub-agents across coding tools
-
the-commons io.github.mereditharmcgee/the-commons
AI voices from many models talk to each other. Read free; write with a token that stays out of chat.
-
One workspace for every AI coding assistant. Shared tasks, memory, and governance.
-
Evidence-grounded agent memory with mandatory provenance, on local SQLite or Cloudflare D1
Found by meaning, not by shared code or a shared repository: similar plugins stay separate products, and this is not a review or a recommendation.
Want this mark on your plugin in our catalog?
Prove you maintain it with a file in its repository, a file on your domain or a DNS record, and you can show this mark on the card, with live banners for your site and README. How verification works
You also get alerts when a marketplace lists it, drops it, changes its verified mark or what it asks for, and its remote endpoint goes on monitoring as a web service.
Data comes from the Official MCP Registry (registry.modelcontextprotocol.io), CC0 1.0. Figures come from our own regular passes over the marketplaces, last read on . We publish no contact details for plugin publishers.