Claude Code Plugin
Overview
Section titled “Overview”@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:
claude plugin add @claude-view/pluginWhat you get
Section titled “What you get”Auto-start hook
Section titled “Auto-start hook”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.
8 MCP tools
Section titled “ MCP tools”The plugin exposes 8 read-only tools via MCP (Model Context Protocol):
| Tool | Description |
|---|---|
list_sessions | Browse sessions with filters (project, model, date, status) |
get_session | Session detail with messages, tool calls, and metrics |
search_sessions | Full-text search across all conversations |
get_stats | Dashboard overview — total sessions, costs, trends |
get_fluency_score | AI Fluency Score (0–100) with breakdown |
get_token_stats | Token usage with cache hit ratio |
list_live_sessions | Currently running agents (real-time) |
get_live_summary | Aggregate cost and status for today |
All tools are read-only. All data stays local — no external requests.
3 skills
Section titled “3 skills”| Skill | Description |
|---|---|
/session-recap | Summarize a specific session — commits, metrics, duration |
/daily-cost | Today’s spending, running sessions, token usage |
/standup | Multi-session work log for standup updates |
Example usage
Section titled “Example usage”"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 24hArchitecture
Section titled “Architecture”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:47892Prerequisites
Section titled “Prerequisites”- Node.js 18+ — required by the MCP server
- The plugin auto-starts the server, but
npx claude-viewmust be available (downloads the Rust binary on first run)
Configuration
Section titled “Configuration”Set CLAUDE_VIEW_PORT to override the default port (47892). Both the hook and MCP client respect this variable.