You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: claude usage command / API endpoint for Max subscription limits #44328
As a user with multiple Claude Max accounts, I need programmatic access to subscription usage data. Currently, usage limits (session cap, weekly cap, extra usage balance) are only visible in the Claude Code status bar during an active session. There is no way to query this data across accounts or outside of an active session.
Requested Feature
A claude usage CLI command and/or Admin API endpoint that exposes:
Current session usage vs limit — how much of the current session's capacity has been consumed
Weekly usage vs limit — usage against the weekly cap
Extra usage credit balance — remaining extra usage credits, if purchased
Subscription tier — Max, Pro, etc. (already available via claude auth status)
Ideal CLI interface
# Human-readable
claude usage
# Machine-readable for scripting
claude usage --json
This would complement the existing /usage_report/claude_code analytics endpoint by providing real-time subscription limit data rather than historical activity metrics.
Use Case
Users managing multiple Claude Code accounts (e.g., personal + multiple work accounts) currently have no way to:
Check which account has remaining capacity before starting work
Monitor usage across accounts without logging into each one individually
Build dashboards or alerts around approaching limits
Automate account switching when one account is near its cap
Current Workarounds
claude auth status --json — returns account info and subscription type, but no usage numbers
~/.claude/stats-cache.json — local activity stats (messages, sessions, tool calls per day), but this is client-side tracking only and does not reflect server-side limits
Status bar — shows limits during an active session, but not queryable or scriptable
Browser scraping claude.ai — fragile and not officially supported
None of these provide the actual server-side usage limit data.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Apr 6, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Apr 10, 2026
This issue has been automatically closed as a duplicate of #13585.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
github-actions commentedon Apr 18, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.