Skip to content
MCP server

Codex4ever

Local MCP server that plans OpenAI Codex weekly quota use and reset timing

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, Web
Runs
Locally
Version
0.1.3
Listing updated
2 days ago

About Codex4ever

Codex4ever is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Rather than showing a usage meter, it answers a planning question: at your current pace, when does the weekly quota run out, will an extra reset arrive first, and is a banked reset worth redeeming now. A two-week timeline lays out daily usage, run-out points, outages, normal refreshes and banked-reset uses.

Five strategies change the plan: keep pace, keep available, use it all, weekdays only and weekend focus. The extra-reset forecast gives the chance of an automatic reset in the next 48 hours, built from public reset history. A predicted reset is only counted when it is at least 60% likely, and the README calls the forecast an uncalibrated estimate rather than a promise. Every refill restarts the seven-day window, and the last banked reset is kept for a real outage of 24 hours or more.

It reads your local signed-in Codex quota in read-only mode and never redeems a reset or spends credits. The project was formerly called Codex4ever, is unofficial, and is MIT licensed. A browser version works with hand-entered numbers and sends nothing anywhere.

Install

Run in a terminal

claude mcp add codex4ever -- npx -y codex4ever

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codex4ever": {
      "command": "npx",
      "args": [
        "-y",
        "codex4ever"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codex4ever": {
      "command": "npx",
      "args": [
        "-y",
        "codex4ever"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codex4ever": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex4ever"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "codex4ever": {
      "command": "npx",
      "args": [
        "-y",
        "codex4ever"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codex4ever": {
      "command": "npx",
      "args": [
        "-y",
        "codex4ever"
      ]
    }
  }
}

What it does

Two-week timeline
Daily usage, run-out points, outages and refreshes per day.
Extra-reset forecast
Probability of an automatic reset within 48 hours.
Five strategies
Keep pace, keep available, use it all, weekdays only or weekend focus.
Banked reset advice
Shows when a banked reset is worth redeeming.
Read-only quota access
Reads local Codex quota without spending anything.
Same plan everywhere
Website, plugin and MCP tools give identical plans.

Good for

  • See when this week's Codex quota will run out
  • Decide whether to redeem a banked reset
  • Compare usage strategies for the coming days
  • Spread usage across weekdays only
  • Get overuse reminders inside a Codex chat

Pricing

Open source

MIT licensed

Prices change. Check codex4ever.com before you buy.

Codex4ever FAQ

Does it spend or redeem anything?

No. It never redeems a reset or spends credits.

Does it need an API key?

No separate key; reading quota needs a signed-in Codex app or CLI.

Can I use it without Codex?

The website works with hand-entered numbers, calculated in your browser.

Is the forecast reliable?

It is an uncalibrated model estimate, not a promise.

Is it official?

No, it is unofficial and not affiliated with OpenAI.

Is Codex4ever free?

Yes. Codex4ever is open source, so you can use and self-host it for free.

How do I add Codex4ever to Claude Code?

Run this command in your terminal: claude mcp add codex4ever -- npx -y codex4ever

What are the best alternatives to Codex4ever?

The closest alternatives to Codex4ever are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Codex4ever

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools