Saar
A Claude.ai token and cost meter that runs entirely in the browser
- 1,808Vitest tests63 files, 2.1s suite, plus Playwright e2e
- 0Backend serversUsage data never leaves the browser
- 3Extension contextsPage script, content script, service worker
Built by Devanshu Chicholikar, software engineer, AI engineer and forward deployed engineer in Boston.
Overview
Chrome extension that tracks Claude.ai token usage and cost in real time, entirely in the browser. Published on the Chrome Web Store.
How it works
Saar is a Chrome extension, published on the Chrome Web Store, that shows Claude.ai token usage and cost in real time. There is no backend, so nothing leaves the browser.
It runs in three contexts: a page-context script that intercepts Claude.ai's streaming responses and reads exact token counts, a content script that draws the overlay in a Shadow DOM, and a service worker running a BPE tokenizer.
v1.0.0 cleared Chrome Web Store review in May 2026. v1.0.2 removed a permission Google flagged as unused.
Stack
- TypeScript
- WXT
- Chrome MV3
- React
- Vitest
- Playwright