codexwatch

v1.0.2
io.github.psychofict/codexwatch Checked 1 day ago Published 28 days ago

OpenAI Codex usage from your local logs: tokens, API-equivalent cost and plan limits.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add codexwatch -- uvx --from codexwatch-cli==1.0.2 codexwatch mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "codexwatch": {
      "args": [
        "--from",
        "codexwatch-cli==1.0.2",
        "codexwatch",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "codexwatch": {
      "args": [
        "--from",
        "codexwatch-cli==1.0.2",
        "codexwatch",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "codexwatch": {
      "args": [
        "--from",
        "codexwatch-cli==1.0.2",
        "codexwatch",
        "mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.codexwatch]
command = "uvx"
args = ["--from", "codexwatch-cli==1.0.2", "codexwatch", "mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: usage_summary, plan_limits, quota_forensics, sessions, daily, budget_status.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json