codex-usage-tracker MCP server
Commit 14 Okt 2026Menganalisis metadata sesi Codex lokal untuk memberikan fakta akurat mengenai penggunaan token, biaya, kredit, dan pola tool.
Juga dikenal sebagai douglasmonsky/codex-usage-tracker
- Stars
- 196
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- —
- Commit terakhir
- 14 Okt 2026
- Lisensi
- MIT
Apa itu codex-usage-tracker MCP?
Menganalisis metadata sesi Codex lokal untuk memberikan fakta akurat mengenai penggunaan token, biaya, kredit, dan pola tool.
Ringkasan dibuat dari README proyek
Tentang codex-usage-tracker MCP server
Server ini memungkinkan developer untuk menganalisis metadata sesi Codex lokal guna memahami konsumsi token dan biaya. Server ini mengubah data sesi lokal menjadi fakta spesifik terkait waktu, tool, kredit, dan allowance. Dengan menyediakan Evidence Console dan kernel SQLite, server ini memungkinkan agent untuk mengeksplorasi dan menjelaskan pola penggunaan secara akurat daripada hanya mengandalkan ringkasan umum.
User menginstal Python runtime melalui pipx dan kemudian menambahkan repositori sebagai entri Codex plugin marketplace. Setelah dikonfigurasi, server ini berfungsi sebagai katalog tool lokal yang dapat dikueri oleh agent. Server ini memberikan visibilitas ke dalam fakta mengenai session, turn, call, tool, resource, allowance, token, credit, dan cost. Setup ini dirancang untuk user yang membutuhkan bukti stabil tentang bagaimana Codex work mengonsumsi sumber daya dan berdampak pada budget mereka.
Apa yang bisa Anda lakukan dengannya
- 1Audit pola penggunaan toolMinta rincian tool mana saja yang dipanggil dan berapa banyak token yang digunakan selama turn tertentu.
- 2Evaluasi performa CodexBiarkan agent menganalisis latensi dan akurasi dari kualifikasi Codex yang terinstal.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Belum diverifikasi. Sebuah server memerlukan skor 80, tidak ada temuan serius, dan data yang cukup untuk kami periksa. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkaudouglasmonsky/codex-usage-tracker is public and reachablegithub.com/douglasmonsky/codex-usage-tracker ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyaTidak diperiksa
- Provenance build (atestasi Sigstore)Tidak diperiksa
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-10-14github.com/douglasmonsky/codex-usage-tracker ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerTidak diperiksa
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubCodex 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.
Pertanyaan tentang codex-usage-tracker MCP
Bagaimana cara menginstal versi 0.28.0?
Instal Python runtime menggunakan pipx, lalu tambahkan repositori sebagai Codex plugin marketplace dan tambahkan plugin tersebut.
Apakah data saya aman untuk dibagikan?
Tidak, Anda sebaiknya hanya menggunakan synthetic fixtures dan jangan pernah melakukan commit atau membagikan log Codex, prompt, respons, atau database lokal yang asli.