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

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

- Source: X search: indie AI launches (I built, solo founder)
- Published: 2026-11-09T12:02:11.000Z
- Bad Influence: https://badinfluence.news/items/sr07f9dac5o4bk6v5dmrk2tzt
- Original: https://x.com/mjovanovictech/status/2119762472638747026

## Summary

Milan 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. A full walkthrough is linked in the post.

## Post

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

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHWrovGJWUAAGTHN.jpg&mode=thumb&exp=1794528000&sig=cbfb2105d797d13e)
