CountdownMCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CountdownMCPWhat's my remaining usage and what should I do next?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CountdownMCP
CountdownMCP is a local, read-only MCP server that gives Codex a plan-aware view of its remaining usage and helps it choose work that fits the current usage window.
It reports a percentage in the context of the actual plan (plus, pro, and other Codex plan types). It does not invent a token allowance or pretend that the same percentage means the same capacity across plans.
CountdownMCP complements TodoMCP, but both servers remain fully independent and useful on their own.
What it does
Reads live ChatGPT/Codex rate-limit data through the local Codex app-server.
Reports plan, used and remaining percentages, all returned windows, reset time, credits, and limit state.
Falls back to the latest local rate-limit metadata when app-server access is unavailable. Fallback results are explicitly marked with their source and staleness.
Advises which ready tasks to run in normal, guarded, critical, and exhausted usage states.
Keeps an active, continuation-safe task eligible even at 0% remaining, because an already-running Codex turn can often continue without a new user message.
Uses STDIO only: no port, HTTP server, account token, or direct modification of another MCP server.
Related MCP server: agenticscope
Requirements
Node.js 18 or newer
Codex CLI available as
codexand signed in to ChatGPT
Install
Clone the repository and run the installer:
git clone https://github.com/AlonTsur1601/CountdownMCP.git
Set-Location CountdownMCP
node install.mjsThe installer builds and tests the project first. It then installs a stable runtime under CODEX_HOME/mcp/countdown-mcp (normally ~/.codex/mcp/countdown-mcp) and updates only the countdown_mcp entry through the Codex CLI. Restart Codex after installation.
The installer preserves every other MCP entry. If replacing the CountdownMCP entry fails, it restores the prior Codex configuration and prior installed CountdownMCP runtime.
An installed copy is a local snapshot. New Git commits and GitHub Releases do not update it automatically. To update an existing clone, pull the newer source and rerun the installer:
Set-Location CountdownMCP
git pull --ff-only
node install.mjsRestart Codex after installing or updating.
Tools
countdown_get_usage
No input. Returns structured data similar to:
{
"planType": "plus",
"usedPercent": 31,
"remainingPercent": 69,
"effectiveLimitId": "codex",
"source": "app_server",
"stale": false
}Credits are reported separately from the plan percentage.
countdown_advise_work
Accepts the TodoMCP WorkCandidate v1 contract. Unknown fields are ignored for forward compatibility:
{
"currentTaskId": "task-1",
"tasks": [
{
"id": "task-1",
"title": "Run integration tests",
"priority": 5,
"estimatedMinutes": 20,
"dependenciesReady": true,
"needsUserInput": false,
"canContinueWithoutNewMessage": true,
"checkpointable": true
}
]
}The output itself is compatible with TodoMCP's advice input:
{
"recommendedNow": ["task-1"],
"deferUntilReset": [],
"executionOrder": ["task-1"],
"checkpoint": "Create a small verified checkpoint after the first recommended task.",
"source": "countdown-mcp"
}CountdownMCP does not store a queue, read TodoMCP files, import TodoMCP code, or bypass TodoMCP dependency and completion gates.
Either server continues to work normally when the other is absent.
Development
npm ci
npm run check
npm run smokenpm run smoke uses the signed-in local Codex account and prints only the plan type and remaining percentage.
Data and security
The live path asks Codex app-server only for
account/rateLimits/read.The fallback parser returns only the
rate_limitsobject and its timestamp. It never returns conversation text, authentication data, or token-usage details.Both tools are advertised as read-only, non-destructive, closed-world, and idempotent.
Runtime diagnostics go to stderr; stdout is reserved for MCP protocol messages.
Releases
Pushing a tag that exactly matches the version in package.json (for example, v0.1.0) runs the release workflow. It repeats the full check and publishes a GitHub Release containing a source ZIP and SHA-256 checksum. Users extract the ZIP and run node install.mjs; no global npm publication is required.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceMCP server that provides real-time rate-limit and context budget awareness to Claude Code, enabling it to plan tasks that fit within its constraints and defer work when needed.9Apache 2.0
- Alicense-qualityAmaintenanceA read-only MCP server that provides AI agents with live, structured workspace awareness, including project listing, git status, and budgeted context packing, minimizing token usage.62MIT
- AlicenseAqualityAmaintenanceAn MCP server that exposes Claude Code's real-time rate limit usage so that an orchestrator can check remaining capacity before launching subtasks.16MIT
- Alicense-qualityCmaintenanceA local, read-only MCP server that lets coding agents search the complete AAS skill catalog, compose and validate agent-chosen skill stacks, and generate reproducible, reviewable plans without uploading project code.2,548MIT
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
MCP server for generating rough-draft project plans from natural-language prompts.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlonTsur1601/CountdownMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server