ClaudeGauge
ESP32-S3 desk gadget that shows Claude API spending, tokens by model, Claude Code analytics and rate-limit countdowns across seven LCARS-style screens.
- Hardware:
- LILYGO T-Display-S3 or Waveshare ESP32-S3-LCD-1.47
- Difficulty:
- Beginner
- Creator:
- dorofino
Claude usage stats on a Star Trek LCARS display.

By dorofino (GitHub repository owner)
What it does
ESP32-S3 desk gadget that shows Claude API spending, tokens by model, Claude Code analytics and rate-limit countdowns across seven LCARS-style screens.
What you need
- Difficulty
- Beginner
- License
- No license stated
Parts
- LILYGO T-Display-S3 (1.9" ST7789V, 170x320, 8-bit parallel; ESP32-S3; 16 MB flash, 8 MB PSRAM; WiFi 802.11 b/g/n; USB-C) [not stated]
- AI model or service
- Anthropic usage APIs
Prices, notes and sources: Parts and requirements
Parts and requirements
| Part | Spec / notes | Needed | Price |
|---|---|---|---|
| LILYGO T-Display-S3 | 1.9" ST7789V, 170x320, 8-bit parallel; ESP32-S3; 16 MB flash, 8 MB PSRAM; WiFi 802.11 b/g/n; USB-C | Not stated |
Steps
- Difficulty
- Beginner
- Clone the repository:
git clone https://github.com/dorofino/claudegauge.gitcd claudegaugecd firmware - Build firmware v1 for the LILYGO T-Display-S3 with
pio run -e tdisplays3. - Flash the LILYGO T-Display-S3 with
pio run -e tdisplays3 -t upload. - Power on the device, connect to the
ClaudeGauge-XXXXWiFi network, and enter WiFi credentials and the Anthropic API key in the captive portal. - Add the Claude.ai session key or install the Chrome extension.
Full instructions: View original
How it works
PlatformIO firmware + an edge proxy to the usage APIs; captive-portal setup; layout editor.
Limits and caveats
- The ESP32 cannot connect directly to `claude.ai` because Cloudflare blocks the mbedTLS TLS fingerprint; a Vercel Edge Function acts as a proxy.
- Regular key (`sk-ant-api...`): limited usage and cost data, no Claude Code data; admin API key (`sk-ant-admin01-...`): recommended for full access.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Hardware
- LILYGO T-Display-S3 or Waveshare ESP32-S3-LCD-1.47
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/claudegauge/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/claudegauge/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 21 in Agent Desk Gadgets
ESP32 Agent Companion
An animated desk character that shows what your AI agent is doing.
- Waveshare ESP32-S3-Touch-AMOLED-1.75
Beginner72
Vibe Watch
An M5Stack StopWatch as a wrist remote for AI coding agents.
- M5Stack StopWatch (ESP32-S3, round display)
Intermediate151
ParrotVoice
An ESP32 that lets your AI agent place and answer real phone calls.
- ESP32-WROOM-32 (Bluetooth HFP to phone)
- PC running Chrome Web Serial bridge
Intermediate
KT1 desk pet
A cardboard desk pet that nags you to stand up and answers by voice.
- Freenove ESP32-S3 Display FNK0104B (2.8" touch + audio)
- optional MPU6050
- DHT11
- +2 more
Beginner2
ChatG-PET Muse
ChatG-PET (ChatGPET) Muse is a physical home for the Codex Desktop pet on an ESP32-S3.
- RASPIAUDIO Muse Radio (ESP32-S3)
- 11W speaker
- 2 mics
Intermediate1
Sources
- github.com/dorofino/ClaudeGauge/blob/4e7938127f66a8da14f2b44087f1bce637f7f3f7/firmware/README.md#L23-L33
- github.com/dorofino/ClaudeGauge/blob/4e7938127f66a8da14f2b44087f1bce637f7f3f7/README.md
- github.com/dorofino/ClaudeGauge/blob/4e7938127f66a8da14f2b44087f1bce637f7f3f7/README.md#L145-L145
- github.com/dorofino/ClaudeGauge/blob/4e7938127f66a8da14f2b44087f1bce637f7f3f7/README.md#L98-L103