Skip to content
View original post on X: Milan Jovanović
Published
22/100

Milan Jovanović explains a Claude Code usage tracker built on TimescaleDB

AIMilan Jovanović says he built a Claude Code usage tracker that stores one row per API request, with the timestamp, model, and dollars spent. He says a time series database such as TimescaleDB is a good fit for this workload.
Milan JovanovićVerified on X
@mjovanovictech
View on X

I built a Claude Code usage tracker with TimescaleDB.

I store one row per API request. That gives me the timestamp, model, and $ spent I need (minus the conversation).

A time series database is the perfect fit for this workload.

Full walkthrough: https://youtu.be/ke-gFRP6TJ8

Source details

Milan Jovanović · x.comPublished · added here

Original title: I built a Claude Code usage tracker with TimescaleDB.