📡 MCP Radar

neokn/session-lens

A /session-lens pane for Claude Code: what fills the context window, what each turn cost, and every tool, MCP server and skill each agent used.

⭐ 5 stars
⑂ 0 forks
TypeScript
momentum ▲ 10.0
created 2026-11-01
on radar since 2026-11-02
star trend 4 → 5 since 2026-11-02
View on GitHub ↗

About session-lens

A Claude Code mod that opens a pane with /session-lens. It shows where the context window and the session's tokens went, for the main agent and every subagent it launched, while the session runs.

The session in this picture is made up, and so are its figures.

At the prompt of a Claude Code terminal session:

Answer y to add the marketplace, then pick a scope. From a shell:

This also installs Anthropic's session-report plugin, which the pane's report line runs. It comes from the official marketplace, which Claude Code adds at your first interactive session. On a machine that has not had one, as in a script, add it first, or the pane will not load:

- Claude Code 2.1.308 or later. - /usr/bin/python3 with select.kqueue (macOS) to watch for claude -p child sessions as they start. Without it the lens lists ~/.claude/sessions/ while a Bash call runs instead. - jq on the PATH. The pane reads the session's own record under ~/.claude/projects/ with it. Without jq the pane says so and shows only what /context knows. - macOS: brew install jq - Linux: sudo apt install jq - Windows: winget install jqlang.jq

The pane draws with semantic design tokens (hooks/views/palette.ts), never a raw colour. Colour answers three questions, each on a channel of its own, so one never hides another. The hue family says who: the main agent plum, a subagent mineral, an agent a subagent started a fainter tone of its parent. Distinct hues inside one whole say which kind: every kind of token in a cost bar has its own hue (input sky, the cache writes cobalt, the hour-long one darker, cache reads haze, out

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/neokn--session-lens.html)

Related MCP servers

XiaoDuoYa/codex-with-chatgpt

ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.

⭐ 2301TypeScript
qybaihe/bla

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> H

⭐ 1537TypeScript
INK-Q/agy-fast

Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.

⭐ 1411TypeScript
shinthink/blitzstrike

⚡ Blitz Strike — a universal MCP penetration-testing toolbelt. Structured methodology: reconnaissance & attack-surface mapping, source-to-sink analysis, and live validation. 57 escalation chains, 130-

⭐ 634TypeScript
0xwilliamortiz/openclaude-improved

runs anywhere. uses anything

⭐ 563TypeScript
halofyai/halofy

Halofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.

⭐ 440TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.