Feature request: Expose account usage limits via CLI / API
Resolved 💬 2 comments Opened May 20, 2026 by n7njo Closed May 20, 2026
As a Pro subscriber, I'd like to be able to programmatically query my current usage against plan limits (5-hour window remaining, weekly usage remaining + days until reset).
Use case: Display live quota status in the Claude Code status line footer, or in custom tooling/dashboards.
Proposed options (either would work):
claude usageCLI subcommand that outputs current quota state (JSON flag preferred)- REST endpoint
GET /v1/account/usagereturning window/weekly quota consumed + reset timestamps
Currently, this data is only visible on the claude.ai web dashboard and is not accessible programmatically without scraping.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗