Claude.ai plan usage
TL;DR
Get the plan usage of your Claude.ai account: percent used and reset time of each session and weekly limit.
About
Use it to know how much of your Claude plan is left before you start a long task. You also get the weekly split between Claude Code, chats and Cowork, and the state of your usage credits. A Free plan with no usage settings gives an error. It needs a browser signed in to Claude.ai.
Inputs
None
Output
limits requiredreadAt requiredorgUuid requiredfiveHour requiredsevenDay requiredextraUsage requiredweeklyBreakdown requiredFAQ
Ask Claude on claude.ai
Open a new Claude.ai chat, send one question, and wait for the answer to finish (up to 100 s). Returns the answer as the markdown the model emitted, the message and conversation ids, why generation stopped, which model answered, each web search it made with the results it was shown, and every source its search and fetch tools surfaced. An answer still being written at 100 s is returned as it stands, with stopReason "deadline": the text the page showed so far (empty while Claude was still thinking), no message id, model, searches or sources. Citation links are returned when claude.ai attaches them to the answer; answers that searched the web now carry their links in the markdown instead, and the citation list is then empty. Requires a signed-in session: claude.ai has no anonymous chat, and a signed-out browser fails at once with an error that says so. When the account has used up its 5-hour or weekly allowance, it fails at once with the time the allowance resets, without sending anything. Avoid running many of these at once: claude.ai limits how many chats one account may hold concurrently and refuses the extras, so a refused send comes back quickly carrying Claude's own message and only needs to be retried at a slower pace.
Check Claude.ai session
Report whether the browser is signed in to Claude.ai, and as which account. Returns connected (true or false) and account (the sign-in email, or null when signed out). A signed-out browser is a normal answer, not an error, so this can be used as the session check that runs before another Claude.ai script.
Get Claude.ai memory settings
Report the two memory switches of the signed-in Claude.ai account, from Settings > Memory: `searchChats` (Claude may search and reference past chats) and `generateMemory` (Claude builds memory from your chats). Memory is fully off only when both are false. Reads the organisation the browser has open. Requires a signed-in session; a signed-out browser fails with an error that says so. Use set_memory to change them.
