ClaudeCostWatch
Unofficial — not affiliated with or endorsed by Anthropic.
ClaudeCostWatch is a Windows system tray utility that monitors your Claude Code spend in real time. It reads the JSONL log files that Claude Code writes locally, calculates token costs using LiteLLM pricing data, and displays a running total in the tray tooltip. No API key required — it reads logs already on your machine.
Features
- Live tray tooltip — today, this week, and this month at a glance, refreshed every 30 seconds.
- Per-project breakdown — a popup window showing cost totals broken down by Claude Code project.
- Task logging — start and stop a named task (e.g.
PROJ-123) to track how much a specific piece of work costs; the result is appended to a markdown log file. - Subscription plan support — if you use a Claude subscription rather than pay-as-you-go API access, costs are displayed as approximate equivalents.
- LiteLLM pricing — pricing data is fetched from LiteLLM and can be refreshed on demand via the tray menu.
- Start with Windows — optional registry entry so monitoring begins at login.
- Single instance — prevents duplicate processes from running.
Requirements
- Windows 10 or 11
- .NET 8 or later (Windows desktop runtime)
- Claude Code installed and in use (the utility reads its local JSONL log files)
Getting Started
- Download or clone the repository and build the solution in Visual Studio.
- Run
ClaudeCostWatch.exe— a confirmation dialog will appear and the icon will appear in the system tray. - Right-click the tray icon to access the menu: view a project breakdown, start task logging, refresh pricing, or open the Claude JSONL log folder.
- Optionally enable Start with Windows from the tray menu so monitoring begins automatically at login.
Task Logging
Use Start logging… in the tray menu to associate spend with a task ID such as
PROJ-123 or #456. While logging is active, the tooltip shows the running
cost for that task. When you stop logging, the result is appended to usage_log.md in
your chosen log folder. Use Open log file from the menu to view it.