Claude usage limits
get_budgetCheck remaining Claude 5-hour and weekly usage limits before expensive tasks; returns used/remaining percentages and reset times as JSON.
Instructions
Return the Claude subscription's usage limits (same figures as /usage): the 5-hour session window (session_*) and the weekly window across all models (weekly_*), each with used and remaining percent and reset time. windows lists every window found, including per-model weekly limits, so you can pick the relevant one. Data comes from an UNOFFICIAL, undocumented endpoint; null fields plus warning mean partial data. Call it once before expensive work; do not poll in a loop.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||