usage_stats
Get token usage statistics and estimated API costs for Claude Code, grouped by model, project, or day over a chosen period. No API key required.
Instructions
Get Claude Code token usage statistics and estimated API costs. Shows consumption by model, project, or day for a given period. No API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period to query (default: today) | |
| group_by | No | Group results by model, project, day, cache analytics, or session anomalies (default: model) |