Feature Request: Expose rate limit and usage quota data in status line JSON

Resolved 💬 3 comments Opened Mar 16, 2026 by rhocking-public Closed Apr 16, 2026

Summary

Please expose subscription rate limit data in the status line JSON input so users can display their remaining usage in custom status lines.

Current Behavior

The status line JSON input includes useful fields like:

  • context_window (tokens used/remaining in current conversation)
  • cost (session cost in USD)
  • model (current model info)

However, it does not include any rate limit or quota information about the user's subscription limits.

Requested Data

Please add fields for:

1. Current Session/Burst Limit

  • Messages remaining in current rate limit window
  • Time until rate limit resets
  • Example: rate_limit.messages_remaining, rate_limit.reset_at

2. Weekly Usage Percentage

  • Percentage of weekly subscription quota used
  • Weekly reset date
  • Example: quota.weekly_used_pct, quota.weekly_reset_at

Use Case

Users with Claude Pro/Teams subscriptions want to see at a glance:

  • How close they are to hitting their burst rate limit (current session)
  • How much of their weekly allocation they've consumed

This helps users pace their usage and avoid unexpected rate limiting.

Example Status Line Output

With this data, users could display:

my-project | [main] | Opus4.5 | 44% ctx | 15% weekly | 8/45 msgs

Environment

  • Claude Code version: 2.1.4
  • Platform: Windows 11

Thank you for considering this enhancement!

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗