Skip to content
HardwareLab

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.

ClaudeGauge
No photo in the source; GitHub repository card, served from HardwareLab.

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

PartSpec / notesNeededPrice
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-CNot stated

Full build guide

Steps

Difficulty
Beginner
  1. Clone the repository:git clone https://github.com/dorofino/claudegauge.gitcd claudegaugecd firmware
  2. Build firmware v1 for the LILYGO T-Display-S3 with pio run -e tdisplays3.
  3. Flash the LILYGO T-Display-S3 with pio run -e tdisplays3 -t upload.
  4. Power on the device, connect to the ClaudeGauge-XXXX WiFi network, and enter WiFi credentials and the Anthropic API key in the captive portal.
  5. 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

More ESP32 builds

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.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](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>