Claude Limits: A Widget That Rings When Your Limit Resets
Anthropic publishes no API for subscription usage limits, so Claude Limits reads the same data claude.ai's own usage page does: you sign in to claude.ai inside the app once, and it replays the usage request with that session. The widget shows the 5-hour session window and the weekly cap as two bars, each with a percentage, a countdown and the reset time, and refreshes every 15 minutes in the background. At each rollover it plays the alarm ringtone on loop with a full-screen Dismiss screen over the lock screen, the same alarm stack as the Reminders app. It survives reboots and time-zone changes, keeps showing the last good reading if a refresh fails, and silently re-solves Cloudflare challenges when you switch networks. Built in Kotlin with WorkManager, exact alarms and Keystore-backed session storage; the APK is built and published automatically on every commit.
From a PM's Desk
- Who it's for
- Heavy Claude subscribers who hit the 5-hour limit and either keep checking the usage page or miss the moment it resets.
- Approach
- Turn a number you have to go and look up into an alarm that comes to you. No computer and no token to copy: the session lives on the phone.
- Metric I'd chase
- Time from a reset to the next Claude session. Guardrail: how often the widget shows stale data, since the source is undocumented and can break without notice.
- Status
- Live as an APK. Depends on an undocumented endpoint, so it can break whenever claude.ai changes.