Token Lens
Context window token analysis and budget management
Connector by mdfifty50-boop · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/mdfifty50-boop-token-lens
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 5 read · 0 write · 0 delete · 2 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 7
Read from the source code; the running server may list different tools.
Read 5 · Look things up without changing anything.
analyze_session_usageaudit_context_budgetget_optimization_reporthealth_checksuggest_removals
Not yet classified 2 · We could not tell from the name and description.
compress_schemaoptimize_tool_loading
Tools (7)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
analyze_session_usageTrack which tools are actually called vs loaded in a session. Register tools, log calls, and generate waste reports showing unused tools ranked by token cost.
audit_context_budgetAnalyze the token cost of MCP tool definitions. Estimates tokens per tool using chars/4 on the full JSON definition. Returns per-tool costs and percentage of common context windows.
compress_schemaCompress a verbose tool schema to reduce token usage. Light: remove short descriptions. Medium: shorten descriptions, remove examples. Aggressive: strip all descriptions.
get_optimization_reportFull context window health check combining audit, removal suggestions, and compression recommendations. Returns an executive summary with health grade and projected savings.
health_checkReturns server health, uptime, version, and storage stats
optimize_tool_loadingGiven a task description, recommend the minimal set of tools needed. Uses keyword matching and category relevance scoring to rank tools.
suggest_removalsIdentify tools that can be removed based on usage history. Scores: never_used > not_used_30_days > rarely_used. Returns removal candidates with estimated token savings.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit
- Apr 24, 2026 (6 months ago)
- Last release
- Apr 24, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.mdfifty50-boop/token-lens- Version
- 0.1.2
- Auth
- No auth
- Packages
- npm token-lens-mcp
- License
- License unknown
- Repository
- github.com/mdfifty50-boop/token-lens-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from mdfifty50-boop
- 0.444score
A2A Bridge
mdfifty50-boop
Agent-to-agent communication bridge for multi-agent systems
ConnectorDFreshness: DLocal★ 1Claude Code +5 - 0.428score
Agentic Observability MCP
mdfifty50-boop
Agent tracing, cost tracking, anomaly detection for LLM agents
ConnectorDFreshness: DLocalClaude Code +5 - 0.423score
Gcc Intelligence
mdfifty50-boop
GCC regulatory intelligence, ZATCA e-invoicing, and Arabic NLP for AI agents
ConnectorDFreshness: DLocalClaude Code +5 - 0.423score
Compliance Shield
mdfifty50-boop
ZATCA, UAE CT, EU AI Act regulatory compliance for AI agents
ConnectorDFreshness: DLocalClaude Code +5 - 0.420score
Secure Vault
mdfifty50-boop
Encrypted secrets and credential management for agents
ConnectorDFreshness: DLocalClaude Code +5 - 0.420score
Agent Replay
mdfifty50-boop
Record and replay AI agent execution for debugging
ConnectorDFreshness: DLocalClaude Code +5
Cite this page
Token Lens MCP server. Agent Mart. https://agentmart.dev/connectors/mdfifty50-boop-token-lens (last updated 2026-10-24)