claude-code - 💡(How to fix) Fix Feature request: expose Pro plan daily/weekly usage limits in status line JSON payload [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53355Fetched 2026-04-26 05:17:55
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2closed ×1

Root Cause

The Claude Code status line is a great place to surface session metadata (context %, model, git branch, etc.). Right now there's no way to show how close you are to your Pro plan's daily or weekly limit because that data isn't available locally — it only exists server-side.

Code Example

{
  "usage_limits": {
    "daily": {
      "used_percentage": 42,
      "resets_at": "2026-04-26T00:00:00Z"
    },
    "weekly": {
      "used_percentage": 18,
      "resets_at": "2026-04-28T00:00:00Z"
    }
  }
}
RAW_BUFFERClick to expand / collapse

Feature Request

It would be great if the status line JSON payload included data about the current Pro plan usage limits — specifically how much of the daily and weekly allowance has been used.

Use case

The Claude Code status line is a great place to surface session metadata (context %, model, git branch, etc.). Right now there's no way to show how close you are to your Pro plan's daily or weekly limit because that data isn't available locally — it only exists server-side.

Being able to show something like Daily: 42% │ Weekly: 18% in the footer would help users self-manage usage and avoid hitting limits mid-session unexpectedly.

Proposed change

Add a usage_limits (or similar) object to the status line JSON payload, e.g.:

{
  "usage_limits": {
    "daily": {
      "used_percentage": 42,
      "resets_at": "2026-04-26T00:00:00Z"
    },
    "weekly": {
      "used_percentage": 18,
      "resets_at": "2026-04-28T00:00:00Z"
    }
  }
}

This would allow status line scripts to surface limit usage alongside other session info, without requiring any additional API calls or web scraping.

extent analysis

TL;DR

Add a usage_limits object to the status line JSON payload to include data about the current Pro plan usage limits.

Guidance

  • Review the proposed JSON payload structure to ensure it meets the requirements for displaying daily and weekly usage limits.
  • Consider the potential impact of adding new data to the status line JSON payload on existing integrations and scripts.
  • Evaluate the feasibility of retrieving the necessary usage limit data from the server-side and including it in the status line payload.
  • Discuss the proposed change with the development team to determine the best approach for implementation.

Example

{
  "usage_limits": {
    "daily": {
      "used_percentage": 42,
      "resets_at": "2026-04-26T00:00:00Z"
    },
    "weekly": {
      "used_percentage": 18,
      "resets_at": "2026-04-28T00:00:00Z"
    }
  }
}

Notes

The implementation of this feature may require changes to the server-side logic for tracking and calculating usage limits, as well as updates to the status line rendering code.

Recommendation

Apply workaround: Implement a custom solution to retrieve and display usage limit data, as the proposed change may require significant development effort and coordination.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Feature request: expose Pro plan daily/weekly usage limits in status line JSON payload [2 comments, 3 participants]