{"repo":"peterxcli/ccost","free":true,"listed":false,"github":"https://github.com/peterxcli/ccost","clone":"git clone https://github.com/peterxcli/ccost.git","description":"Turn local AI coding session logs into a searchable terminal UI with a cost lens.","language":"Rust","stars":10,"topics":["ai-coding","claude-code","cli","codex","cost-tracking","developer-tools","jsonl","local-first","observability","rust"],"license":"MIT","category":"cli-tools","readme_excerpt":"ccost Find old Codex and Claude Code sessions in seconds, then see which ones burned the most tokens. ccost turns local AI coding session logs into a searchable terminal UI with a cost lens. Use it to recover past prompts, inspect expensive runs, and understand which sessions, models, and web-search calls drove your spend. https://github.com/user-attachments/assets/0869bcde-96be-4d98-9c07-c0586b0ea36a Why use it? - Find the session where you fixed a bug, explored an API, or hit a useful error. - Sort sessions by estimated cost, tokens, time, model, web searches, session id, or first prompt. - Browse Codex and Claude Code logs without uploading prompts, paths, stack traces, or source context. - Keep startup fast with a persisted search index that only re-indexes changed files. Supported Sources Source Default path --- --- Codex $CODEX HOME/sessions , or /.codex/sessions when CODEX HOME is unset Claude Code /.claude/projects Custom JSONL directory ccost --sessions /path/to/jsonl/sessions Install Upgrade: Other install paths are on the roadmap: - cargo install ccost - cargo binstall ccost - Linux release artifacts - Shell install script Run Open the default Codex session directory: Choose a source explicitly: Use a custom session directory: Use it when... Find an old fix You remember asking Codex or Claude Code about JWT refresh , but not which project or session it was in. Press / , type: Find expensive sessions Sort by cost to see which runs used the most estimated spend. Pres","default_branch":null,"files":null,"tree":[],"storefront":"/r/peterxcli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peterxcli/ccost/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}