開発者向けデータ
API キー不要の無料 JSON API、MCP サーバー、Atom フィード、iCalendar フィードを提供しています ── Web ページだけでなく、エージェントや bot 向けに構築されています。
エンドポイント
GET https://claudereset.org/api/v1/forecast.json— 現在の p24/p48、信頼度、すべての入力値。GET https://claudereset.org/api/v1/timeline.json— 記録済みの全イベント。GET https://claudereset.org/api/v1/signals.json— 最新の status + issues のスナップショット。GET https://claudereset.org/api/v1/banked.json— 現在有効な Banked Reset。POST https://claudereset.org/mcp— MCP サーバー(JSON-RPC 2.0、Streamable HTTP)。https://claudereset.org/feed.xml— Atom フィード。https://claudereset.org/calendar.ics— iCalendar フィード(過去のリセット + Banked Reset 期限リマインダー)。
クレジット表記歓迎:「Data: claudereset.org」。無料で利用でき、エッジで5分間キャッシュされ、CORS に対応しています。
/api/v1/forecast.json ── サンプル
{
"schema_version": 1,
"generated_at": "2026-09-23T10:09:51Z",
"source": "https://claudereset.org",
"available": true,
"reset_today": false,
"p24": 13,
"p48": 22,
"confidence": "low",
"confidence_reasons": [
"the selected rhythm model (memoryless) doesn't yet beat the climatology baseline in backtesting"
],
"inputs": {
"avg_gap_hours": 337.0,
"hours_since_last": 446.0,
"B": 0.0712,
"C": null,
"cad24": 0.0687,
"official_signal": 0.0,
"status_signal": 0.2683,
"issues_signal": 0.0528,
"S": 0.0671,
"global": true,
"rhythm_model": "memoryless"
},
"formula_version": "1",
"disclaimer": "Independent project, not affiliated with Anthropic. Anthropic has never published or promised a reset schedule \u2014 every reset recorded here was announced ad hoc. Percentages are estimates from past announcements, not a schedule.",
"freshness": {
"events_checked_at": "2026-09-23T10:03:55Z",
"signals_fetched_at": "2026-09-23T10:00:44Z",
"built_at": "2026-09-23T10:09:51Z"
}
}
/api/v1/timeline.json ── サンプル(1件)
{
"schema_version": 1,
"source": "https://claudereset.org",
"events": [
{
"id": "2102438800836489554",
"date": "2026-09-22",
"ts": "2026-09-22T16:44:06Z",
"scope": "Pro+Max+Team",
"kind": "banked",
"source": "ClaudeDevs",
"url": "https://x.com/ClaudeDevs/status/2102438800836489554",
"summary": "Opus 5.5 performs at the level of Fable 5.1, ~30% faster and ~40% cheaper than Opus 5 per task. In Claude Code: 5-hour session limits increase 20% today; Pro, Max, and Team users get a reset to use anytime (available in Settings \u2192 Usage, apply any time until Oct 22).",
"partial": false,
"global": false,
"origin": "official_post"
}
]
}
例:curl
curl -s https://claudereset.org/api/v1/forecast.json | jq .p24
例:JavaScript fetch
const r = await fetch("https://claudereset.org/api/v1/forecast.json").then(r => r.json());
console.log(`Next 24h: ${r.p24}% (confidence: ${r.confidence})`);
MCP サーバー
https://claudereset.org/mcp にある読み取り専用のModel Context Protocolサーバー:HTTP POST 上のステートレスな JSON-RPC 2.0 で、API キー不要、書き込み操作はありません。
claude mcp add --transport http claudereset https://claudereset.org/mcp
ツール一覧
| ツール | 引数 | 戻り値 |
|---|---|---|
get_reset_forecast | none | 現在の /api/v1/forecast.json のデータ。 |
list_claude_resets | limit(任意、デフォルト20)、since(任意、ISO 形式の日付) | 記録済みイベントを新しい順に返します。 |
get_status_signals | none | 現在の /api/v1/signals.json のデータ。 |
更新頻度とバージョニング
このサイトはステータスと issue シグナルを(常時ではなく)決められたスケジュールで確認しています ── 正確な確認時刻は /api/v1/signals.json の fetched_at で分かります。破壊的なスキーマ変更は新しい /api/v2/ パスとして提供され、/api/v1/ がその場で変更されることはありません。
Claude Code ステータスライン用スクリプト
Claude Code のステータスラインに 5h: X% · 7d: Y% · reset odds 24h: Z% を表示します ── Claude Code 自身の rate_limits.five_hour.used_percentage/rate_limits.seven_day.used_percentage を読み取り、3つ目の数値はこのサイトの予測 API から取得します(ローカルに10分間キャッシュ、パス ~/.cache/claudereset-forecast.json、タイムアウト2秒)。/usage-check/でも利用でき、そちらでは貼り付けた使用状況 JSON を解析できます。
#!/bin/bash
# claudereset.org example Claude Code status line script.
# Install: save this as ~/.claude/statusline.sh (chmod +x), then set it as your status line
# command per https://code.claude.com/docs/en/statusline — Claude Code pipes the status line's
# JSON into this script's stdin on every prompt render.
#
# Shows your own Claude Code usage (5-hour and 7-day windows, straight from the status line's own
# `rate_limits` object) plus this site's live 24h global-reset-odds forecast. The forecast fetch
# is cached locally for 10 minutes (by file mtime) and capped at a 2-second timeout, so a slow or
# unreachable network never blocks your prompt — it just falls back to showing only the usage
# figures.
set -u
input=$(cat)
# rate_limits is only present for Pro/Max subscribers (or a spend-limited gateway), and only
# after the session's first API response — `// empty` makes jq print nothing rather than "null"
# when it's absent, per code.claude.com/docs/en/statusline's own example.
FIVE_H=$(echo "$input" | jq -r '.rate_limits.five_hour.used_percentage // empty')
WEEK=$(echo "$input" | jq -r '.rate_limits.seven_day.used_percentage // empty')
LINE=""
[ -n "$FIVE_H" ] && LINE="5h: $(printf '%.0f' "$FIVE_H")%"
[ -n "$WEEK" ] && LINE="${LINE}${LINE:+ · }7d: $(printf '%.0f' "$WEEK")%"
CACHE="$HOME/.cache/claudereset-forecast.json"
mkdir -p "$(dirname "$CACHE")" 2>/dev/null
# 10-minute local cache, judged by the cache file's own mtime (works with either BSD or GNU stat).
CACHE_AGE=999999
if [ -f "$CACHE" ]; then
MTIME=$(stat -f %m "$CACHE" 2>/dev/null || stat -c %Y "$CACHE" 2>/dev/null || echo "")
if [ -n "$MTIME" ]; then
CACHE_AGE=$(( $(date +%s) - MTIME ))
fi
fi
if [ "$CACHE_AGE" -ge 600 ]; then
if curl -s -m 2 https://claudereset.org/api/v1/forecast.json -o "$CACHE.tmp" 2>/dev/null; then
mv "$CACHE.tmp" "$CACHE" 2>/dev/null
else
rm -f "$CACHE.tmp" 2>/dev/null
fi
fi
P24=$(jq -r '.p24 // empty' "$CACHE" 2>/dev/null)
if [ -n "$P24" ]; then
LINE="${LINE}${LINE:+ · }reset odds 24h: ${P24}%"
fi
echo "$LINE"