Skip to content

Codex Usage Tracker

Local-first MCP tools and dashboard for investigating Codex token usage, credits, costs, caching, and thread patterns.

Install

$pipx install "codex-usage-tracking==0.28.0"

Install command taken from the project's README or registry entry. Always review code before running it.

Codex Usage Tracker

Codex Usage Tracker is a local usage-data product for answering questions about how Codex work consumes tokens, time, tools, allowance, credits, and cost. It turns local session metadata into exact, bounded facts and stable evidence that an agent can explore and explain.

Current release and next direction

Version 0.28.0 is the current public release. Its six-tool MCP surface, Evidence Console, and SQLite kernel remain supported while the replacement is qualified.

The next product is a clean, agent-first kernel rather than a larger dashboard:

  • fast recent-history setup with explicit 24-hour through all-time coverage;
  • incremental reuse on every later invocation;
  • exact session, turn, call, tool, resource, allowance, token, credit, and cost facts;
  • compact named queries and stable evidence selectors;
  • agent-owned interpretation instead of server-authored narrative findings;
  • installed Codex qualification measured for latency, MCP calls, response bytes, model tokens, accuracy, and usefulness.

The 0.28 code remains a frozen oracle during the rewrite and is removed before the clean replacement release. The new runtime does not migrate or open its database.

Start with the documentation authority, read the product direction, or follow the clean-cutover roadmap. Progress is tracked in the checkbox ledger, with one complete contract per file under docs/roadmap/tasks/.

Install 0.28.0

Install the Python runtime into an isolated executable environment, then add the matching tagged repository as a Codex plugin marketplace:

pipx install "codex-usage-tracking==0.28.0"
codex plugin marketplace add douglasmonsky/codex-usage-tracker --ref v0.28.0
codex plugin add codex-usage-tracker@codex-usage-tracker

The plugin launches the codex-usage-tracker executable from the pipx environment. Start a fresh Codex task after installation so it discovers the new plugin tool catalog.

Develop

python3 -m venv .venv
.venv/bin/python -m pip install -e ".[dev]"
just v

Use synthetic fixtures only. Do not commit or share real Codex logs, prompts, responses, tool-output bodies, credentials, private paths, or local databases.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…