usage_report
Generate real token usage and cost reports from Claude Code records, with per-model, per-project, per-day breakdowns, burn rates, and projected monthly spend.
Instructions
Generate a real (not estimated) token usage and cost report from Claude Code's JSONL records. Returns per-model, per-project, per-day breakdowns plus a 24h/7d/30d burn rate and projected monthly spend.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "usage_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only include records from the last N days. Omit for lifetime. |