YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

stack-viewer 0.4 maps Claude Code MCP token cost

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

stack-viewer 0.4 maps Claude Code MCP token cost
OPEN LINK ↗
// 1h agoPRODUCT UPDATE

stack-viewer 0.4 maps Claude Code MCP token cost

Daniel Ávila's stack-viewer mod for Claude Code (from the claude-code-templates registry) updates to 0.4.0 with expandable per-server MCP trees inside its persistent /stack side pane. Developers can inspect each server's tools, skills, prompts, precedence scopes, active context token counts, and which tool schemas remain deferred behind ToolSearch.

// ANALYSIS

MCP tool bloat is the silent killer of agent context windows, and Claude Code's built-in /mcp command tells you whether servers are connected—not how heavily they tax every turn. Putting per-tool token costs and deferred status into a persistent side pane turns context budgeting from guesswork into live observability.

  • –Deferred vs. loaded clarity: Each tool row shows its description snippet alongside either its exact schema token footprint or a deferred tag while waiting behind ToolSearch, with server rows totaling only what is currently resident in context (e.g., 4 tools · 2 skills · 571 tok).
  • –Full MCP surface in one tree: Expanding a server exposes its tools, MCP-served skills (supported in Claude Code 2.1.331+), and slash-command prompts deduplicated from skill-commands, layered onto stack-viewer's existing scope-precedence map (Enterprise, Local, Project, User, Plugin, claude.ai).
  • –Read-only persistent UI: Built on Claude Code's function-hook APIs ($.session.usage, $.tool.list(), $.command.list()), the panel docks beside the transcript in /tui fullscreen or Claude Desktop without writing to disk or exposing env secrets.
  • –Platform boundaries remain: Because Claude Code's mod API does not yet expose events/list or connection/auth failure states, MCP events are omitted and /mcp is still required for debugging broken servers.
  • –Ecosystem velocity: Distributed via npx claude-code-templates@latest --mod ui/stack-viewer from Ávila's 34.5k-star aitmpl.com catalog, the release shows third-party UI mods rapidly filling observability gaps in terminal coding agents.
// TAGS
stack-viewerclaude-codemcpcontext-engineeringobservabilityai-codingcoding-agentdevtool

DISCOVERED

1h ago

2026-12-01

PUBLISHED

1h ago

2026-12-01

RELEVANCE

7/ 10

AUTHOR

dani_avila7