A tiny pixel-art desk buddy that shows your Claude usage at a glance — and gives it a face: Clawd, an animated mascot whose mood follows how much of your quota is left. Runs on a cheap (~10 €) ESP32 colour display.
Clawd's eyes follow your Claude usage, and you configure everything from a little web page on the device:
clawd-meter is a Claude-only remix of glimmer (usage dashboard + channel engine) combined with the mascot idea from clawd-mochi (the animated eyes).
It rotates through several little screens (and you can tap the screen or use the web settings to switch):
- Clawd — the animated mascot. In auto mode his eyes reflect your Claude 5-hour usage; in manual mode you pick the expression.
- Home — clock + weather + both Claude windows (5-hour & weekly) + a 24-hour bar.
- Claude usage — 5-hour % + weekly % + reset countdowns + per-model breakdown.
- Clock, Weather, 5-day Forecast (weather needs no key).
- Info — IP, Wi-Fi, uptime, firmware.
You don't need to be a programmer. The whole thing takes ~15 minutes.
| Part | Notes |
|---|---|
| ESP32-2432S028R — the "Cheap Yellow Display" (CYD) | 2.8" 320×240 touchscreen, ~8–12 €. Search "ESP32 2432S028R". Get the single micro-USB variant. |
| USB data cable | Must be a data cable, not charge-only. |
| A computer with Chrome or Edge | For the one-click web flasher. |
| (optional) 3D-printed stand/case | See the model on Makerworld 👇 |
3D model: the printable case is on Makerworld → https://makerworld.com/de/models/2906020-clawd-meter.
We flash a ready-made file straight from your browser.
- Download the firmware: go to the latest release
and download
clawd-meter-full-esp32-cyd.bin. - Plug the CYD into your computer with the USB data cable.
- Open the web flasher: https://espressif.github.io/esptool-js/ in Chrome/Edge.
- Set Baudrate to
921600, click Connect, and pick the port that appears (it'll say something like CP2102 / CH340 / USB Serial). - Under Flash Address, type
0x0, click Choose File and select theclawd-meter-full-esp32-cyd.binyou downloaded. - Click Program and wait until it says done (~1 min). That's it. ✅
(Prefer the command line? esptool.py --chip esp32 write_flash 0x0 clawd-meter-full-esp32-cyd.bin)
- After flashing, the device shows a setup screen and creates its own Wi-Fi
hotspot called
glimmer-setup. - On your phone or laptop, connect to
glimmer-setup(open network, no password). - A page should pop up — if not, open http://192.168.4.1/ in your browser.
- Go to the Wi-Fi tab, enter your home Wi-Fi name + password, Save. The device reboots and joins your network.
- From now on, reach the settings page at http://glimmer.local/ (or the device's IP address, shown on the Info screen).
This makes the usage screens and Clawd's mood work. You copy one value from your browser:
- On a computer, log in to https://claude.ai in Chrome/Edge.
- Press F12 to open Developer Tools.
- Go to the Application tab → left sidebar Cookies →
https://claude.ai. - Find the row named
sessionKeyand copy its Value (a long string starting withsk-ant-sid02-…). - Open the device page (glimmer.local) → Tokens tab → paste it into Session key → Save.
Within a minute the Claude screens fill in and Clawd starts reacting. 🎉
The session key is like a temporary password to your own Claude account. Keep it private. It eventually expires — if usage stops updating, repeat step 4.
Open glimmer.local and explore the tabs:
- Channels — turn screens on/off, auto-rotate, and tap-to-advance (touch the screen to skip to the next one).
- Clawd — auto/manual mode, expression, animation speed, eye & background colour (presets or a custom
#hex), and a "show usage stats" toggle (off → just the eyes, no footer/bar). There's a live preview. - You — brightness, highlight colour, used vs remaining % (defaults to used — the actual consumption), timezone, night-dimming, your name.
The eyes keep your chosen colour; the shape shows the mood:
| Your Claude 5-hour usage | Clawd |
|---|---|
| under 20% used (tons left) | excited ( ✦ ✦ ) |
| 20–40% used | happy ( ^ ^ ) |
| 40–60% used | normal (blinks + looks around) |
| 60–80% used | stressed (worried brows) |
| 80–95% used | squish ( > < ) |
| 95% or more used (maxed out) | dizzy ( ✕ ✕ ) |
| no data yet | sleepy |
Grab the newest clawd-meter-full-esp32-cyd.bin from
releases and repeat step 2. (This resets settings; you
can re-enter them, or back up first via Device → Config backup.)
PlatformIO required.
git clone https://github.com/monsierfux/clawd-meter.git
cd clawd-meter
pio run -e cyd -t buildfs # filesystem (fonts + web UI)
pio run -e cyd # firmware
pio run -e cyd -t upload # flash firmware over USB
pio run -e cyd -t uploadfs # flash filesystem over USB-t uploadfs wipes saved settings (it rewrites the whole filesystem). Back up
first with curl http://<device-ip>/api/export and restore via the setup AP
(POST /api/import).
If clawd-meter made you smile, you can buy me a coffee — it's hugely appreciated ☕
Built on two MIT-licensed projects — thank you to both:
- glimmer by Avinava — the usage dashboard, channel engine, web UI and TFT_eSPI rendering this is based on.
- clawd-mochi by Yousuf Amanuel — the animated Clawd mascot idea, re-implemented here on TFT_eSPI.
Clawd is the pixel-crab mascot from Claude Code by Anthropic. This is an independent fan project — not affiliated with, sponsored by, or endorsed by Anthropic.
clawd-meter reads your own Claude usage by sending your own credentials (a
sessionKey cookie) to an internal endpoint claude.ai uses to power its web UI.
That endpoint is undocumented and not part of a public API. It can change
without notice, and accessing it programmatically may be inconsistent with
Anthropic's Terms of Service depending on interpretation. You are responsible for
your own ToS compliance, your devices/accounts/network, and for securing your
credentials (stored on the device in plaintext). Shared as-is, no warranty. Do
not redistribute as a commercial product; do not access accounts that aren't yours.
MIT — see LICENSE. Bundled fonts — DM Mono (UI/body) and Jersey 25 (big numerals) — are under the SIL Open Font License.

