Skip to content

Claude Code Plugin

@claude-view/plugin is a Claude Code plugin that gives Claude native access to 8 session tools and 3 skills — no manual settings.json editing required.

Install with one command:

Terminal window
claude plugin add @claude-view/plugin

Every time you start a Claude Code session, the plugin checks if the claude-view server is running. If not, it starts it in the background. The web dashboard appears at http://localhost:47892 — no manual npx claude-view needed.

The plugin exposes 8 read-only tools via MCP (Model Context Protocol):

ToolDescription
list_sessionsBrowse sessions with filters (project, model, date, status)
get_sessionSession detail with messages, tool calls, and metrics
search_sessionsFull-text search across all conversations
get_statsDashboard overview — total sessions, costs, trends
get_fluency_scoreAI Fluency Score (0–100) with breakdown
get_token_statsToken usage with cache hit ratio
list_live_sessionsCurrently running agents (real-time)
get_live_summaryAggregate cost and status for today

All tools are read-only. All data stays local — no external requests.

SkillDescription
/session-recapSummarize a specific session — commits, metrics, duration
/daily-costToday’s spending, running sessions, token usage
/standupMulti-session work log for standup updates
"How much have I spent on Claude Code today?"
→ Uses get_live_summary
"Find my last session about authentication"
→ Uses search_sessions(query: "authentication")
"What's my AI Fluency Score?"
→ Uses get_fluency_score
/session-recap
→ Summarizes your most recent session
/standup
→ Generates a standup update from the last 24h

The plugin connects to the running claude-view server on localhost:47892. The auto-start hook ensures the server is always running when Claude Code starts.

Claude Code session starts
→ Plugin SessionStart hook fires
→ Hook checks localhost:47892/api/health
→ Running? Skip.
→ Not running? Spawn: npx claude-view (background)
→ MCP server registered via plugin .mcp.json
→ Claude has 8 tools + 3 skills available
→ Web dashboard at localhost:47892
  • Node.js 18+ — required by the MCP server
  • The plugin auto-starts the server, but npx claude-view must be available (downloads the Rust binary on first run)

Set CLAUDE_VIEW_PORT to override the default port (47892). Both the hook and MCP client respect this variable.