Alberto Benatti
it
← Projects

AI Tracker

A local-first Next.js application that monitors, analyzes, and estimates costs for your AI CLI tools. It reads local log files from assistants like Antigravity and Claude to provide a unified dashboard of your token usage and expenses.

About AI Tracker

AI Tracker is a local-first Next.js application designed to monitor, analyze, and estimate costs for your AI CLI tools. By reading the local log files generated by AI assistants (like Antigravity and Claude), it provides a unified dashboard to track your usage and expenses.

The application runs entirely on your machine, parsing your `.jsonl` transcript files locally. It calculates approximate token usage and costs based on specific pricing models, supports filtering by tool and time range, and ensures your data remains completely private.

For detailed configuration instructions, advanced features, and troubleshooting, please check the official README on GitHub.

Installation & Usage

Quick Start (npx)

The easiest way to use AI Tracker is to run it directly via npx (no installation required):

npx ai-tracker

Install Globally

Alternatively, you can install AI Tracker globally so it's always available:

View on npm

npm install -g ai-tracker

Once installed, you can launch the dashboard by simply running:

ai-tracker

The dashboard will automatically open in your browser at http://localhost:14832.