OpenAI Codexの週次クォータ使用量を、追加リセットの予測やさまざまな使用戦略による蓄積リセットの管理を通じて計画します。
別名 ItsOdeLeo/usage-planner
- スター
- 5
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.2.7
- 最終コミット
- 2026年10月29日
- ライセンス
- MIT
Usage Planner MCPとは
Usage PlannerはMCPサーバーです。 OpenAI Codexの週次クォータ使用量を、追加リセットの予測やさまざまな使用戦略による蓄積リセットの管理を通じて計画します。.
プロジェクトのREADMEから生成された概要
Usage Planner MCP server について
Usage Plannerは、制限に達する時期の予測や追加リセットの予測を行うことで、開発者がOpenAI Codexの週次クォータを管理するのを支援します。日次の使用量、残りのクォータ、および潜在的な停止期間を追跡する2週間のタイムラインを提供します。ユーザーは、Weekdays onlyやUse it allなど、5つの異なる戦略から選択して、リフィル(補充)や枯渇ポイントの計算方法を調整できます。
このツールは、手動入力によるウェブブラウザ、専用のCodexプラグイン、またはClaude DesktopやCursorなどのクライアント用のMCP serverとして使用できます。MCP serverとして実行する場合、ローカルのクォータデータを読み取るために、同じマシン上でサインイン済みのCodex CLIが必要ですが、個別のAPIキーは不要です。予測モデルは、発生確率が少なくとも60%以上の場合にのみ追加リセットを含めるため、保守的な計画アプローチが保証されます。
できること
- 1クォータ枯渇の予測現在の使用ペースによって、いつCodexのクォータが使い果たされるかを正確に判断します。
- 2追加リセットの予測今後48時間以内に自動リセットが発生する可能性とそのタイミングを推定します。
- 3使用戦略の適用週末の使用に集中させる、あるいはバッファを確保しておくなど、特定の動作を選択して計画を調整します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Usage Planner MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにUsage Planner MCPをインストール
$ claude mcp add usage-planner -- npx -y usage-plannerCursorにUsage Planner MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"usage-planner": {
"command": "npx",
"args": [
"-y",
"usage-planner"
]
}
}
}VS CodeにUsage Planner MCPをインストール
.vscode/mcp.json
{
"servers": {
"usage-planner": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"usage-planner"
]
}
}
}VS Code CLIにUsage Planner MCPをインストール
$ code --add-mcp '{"name":"usage-planner","type":"stdio","command":"npx","args":["-y","usage-planner"]}'Claude DesktopにUsage Planner MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"usage-planner": {
"command": "npx",
"args": [
"-y",
"usage-planner"
]
}
}
}CodexにUsage Planner MCPをインストール
$ codex mcp add usage-planner -- npx -y usage-plannerCodex config.tomlにUsage Planner MCPをインストール
~/.codex/config.toml
[mcp_servers.usage-planner] command = "npx" args = ["-y", "usage-planner"]
Gemini CLIにUsage Planner MCPをインストール
$ gemini mcp add -s user usage-planner npx -- -y usage-plannerGemini settings.jsonにUsage Planner MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"usage-planner": {
"command": "npx",
"args": [
"-y",
"usage-planner"
]
}
}
}自動チェック
実行日 2026年11月13日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能itsodeleo/usage-planner is public and reachablegithub.com/itsodeleo/usage-planner ↗合格
- パッケージがこのリポジトリをソースとして指定usage-planner names itsodeleo/usage-planner as sourcenpmjs.com/package/usage-planner ↗合格
- ビルドの来歴 (Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-29github.com/itsodeleo/usage-planner ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from usage-planner合格
- パッケージおよびその依存関係に重大な勧告なし1 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るUsage Planner — Codex quota & reset planner
Usage Planner (formerly Codex4ever) is a planner for your OpenAI Codex weekly quota. It shows when your quota runs out at your current pace, whether a predicted extra reset is likely to arrive first, and when a banked reset is worth redeeming.
Unofficial; not affiliated with OpenAI. MIT licensed.
Pick a strategy
Ask once in Codex and the planner opens beside the chat. Pick a strategy and the plan changes: daily usage, refills and run-out points.
What it does
- Timeline of your next two weeks — daily usage, remaining quota, run-out points, outages, normal refreshes and banked-reset uses, one column per day.
- Extra-reset forecast — the chance of an automatic reset in the next 48 hours, the likely window, and a second reset conditioned on the first, built from public reset history and Tibo's public posts.
- Five strategies — Keep pace (your current pace: see when quota runs out), Keep available, Use it all (empty quota just before the next refill), Weekdays only, Weekend focus.
- Codex plugin — reads your local, signed-in quota and banked resets, plans in the conversation, and opens the same visual planner.
How it plans
- A predicted reset is counted only when it is at least 60% likely before the refresh in effect, and it is placed at a conservative time (where it has most probably already happened), not at its single most likely hour. You can switch the count to 0, 1 or 2 on the timeline.
- Every refill restarts the seven-day window — a banked reset, an extra reset or the normal refresh.
- Banked resets: extras cover outages, earliest expiry first; the last one is kept for a real outage (24 h or more), and a bank about to expire can be used rather than wasted.
- One rule everywhere: the website, the plugin page and the plugin's MCP tools always give the same plan for the same inputs.
The forecast is an uncalibrated model estimate, not a promise. Usage Planner never redeems a reset or spends credits for you.
Use it
Codex plugin (Node.js 20+ and a signed-in Codex app or CLI):
codex plugin marketplace add ItsOdeLeo/usage-planner
codex plugin add usage-planner@usage-planner
Start a new Codex chat and ask: "Open quota planning." Reading your quota is local and read-only; no separate API key is needed.
Other MCP clients (Claude Code, Claude Desktop, Cursor and others): the same server is on npm as usage-planner and in the MCP Registry as io.github.ItsOdeLeo/usage-planner. Reading your quota still needs a signed-in Codex CLI on the same machine.
{ "mcpServers": { "usage-planner": { "command": "npx", "args": ["-y", "usage-planner"] } } }
Website: usageplanner.com, no install. Enter your quota by hand; everything is calculated in your browser and your inputs are not sent anywhere.
Run locally:
npm install
npm run web # http://127.0.0.1:4173/
npm test
Data sources
Public reset data comes from Codex Resets, including the bundled offline archive (npm run archive:refresh). Thanks to its maintainer. With an optional X API token, Tibo's full timeline is read directly from X.
Development
| Command | What it does |
|---|---|
npm run web |
Local site with live reset evidence (cached 30 minutes) |
npm run site:build |
Static site in dist/, evidence collected at build time |
npm run plugin:build |
Self-contained Codex plugin in plugins/usage-planner/ |
npm run mcp |
MCP server from source |
npm run backtest:public |
Day-by-day replay of the forecast against public history |
.github/workflows/deploy-site.yml rebuilds the static site every 30 minutes and deploys it to Cloudflare Pages. Optional settings (LLM classification of posts, X timeline access) are listed in .env.example; keys are only read at build time and never reach the browser.
Design and algorithm details: docs/technical-notes.zh.md (Chinese).
中文简介
Usage Planner(原名 Codex4ever)是 OpenAI Codex 每周额度的本地规划器:按你当前的速度显示额度什么时候用完、额外 reset 是否可能先到,以及备用 reset 什么时候值得用。预测的 reset 只在“正常刷新前发生的概率 ≥ 60%”时计入,并放在保守时刻;任何一次补满都会重新开始 7 天周期;备用默认至少保留一个。网页、插件页面和插件的 MCP 工具始终使用同一套规则。非官方工具,与 OpenAI 无隶属关系。详细设计见 技术说明。
Author
Built by 欧的Leo — @ItsOdeLeo on X · 小红书 ItsOdeLeo. Feedback and ideas are welcome there or in GitHub issues.
Usage Planner MCPのよくある質問
Usage Planner MCPをClaude Codeに追加するには
ターミナルでclaude mcp add usage-planner -- npx -y usage-plannerを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Usage Planner MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
追加リセットの予測はどのように行われますか?
公開されているリセット履歴やソーシャルメディアの投稿に基づき、今後48時間以内に自動リセットが発生する確率を計算し、保守的なタイミングを設定します。
Codexプラグインを使用するためにAPIキーは必要ですか?
いいえ、クォータの読み取りはローカルでの読み取り専用操作であるため、個別のAPIキーは必要ありません。
どのような使用戦略が利用できますか?
Keep pace、Keep available、Use it all、Weekdays only、Weekend focusの5つの戦略を提供しています。
ウェブサイトを使用する際、データはサーバーに送信されますか?
いいえ、すべての計算はブラウザ内で行われ、入力したデータが外部に送信されることはありません。