CodeLedger

•
9
•

Provides token-level cost intelligence for Claude Code, tracking usage per-project, per-agent, and per-skill with a local dashboard.

CodeLedger is a Claude Code plugin that offers unparalleled visibility into your AI coding token expenditures. It addresses the challenge of understanding where tokens are consumed by providing detailed tracking across projects, individual agents, and specific skills. The tool intelligently separates costs associated with your active coding work from background plugin overhead, helping you make informed decisions to optimize token usage. Users can query their usage conversationally via built-in MCP tools or explore detailed analytics and cost-saving recommendations through a comprehensive local web dashboard.

主な機能

01Conversational querying via 6 MCP Tools (e.g., usage_summary, project_usage)
02Automatic user vs. overhead token cost classification
03Auto-classification of coding sessions into categories like generation, exploration, debugging
04Evidence-based cost optimization recommendations with potential savings
05Interactive local web dashboard with charts, tables, and drill-downs
060 GitHub stars

ユースケース

01Receive actionable recommendations to reduce Claude Code token expenses and improve model utilization.
02Identify and optimize token consumption across different coding projects and agents.
03Distinguish between actual coding work costs and background plugin overhead to fine-tune configurations.