Hey r/whoop. I've been building totem, a free and open-source tool that connects your WHOOP account to the AI apps you already use: Claude, ChatGPT, Cursor and others. Version 2 came out today, so I felt it was a good time to share.
What it does
You ask in plain words and the app answers from your real WHOOP data:
"How did I sleep last night, and how does it compare to my month?"
"Why is my recovery low today?"
"Show my HRV and resting heart rate for the last 90 days."
"What was my heart rate during this morning's run?"
It can also make changes for you: log a walk, fill in yesterday's journal ("I had caffeine and alcohol"), log a Strength Trainer session, or set a Smart Alarm. Anything that changes your data shows you a preview first and waits for a yes.
It covers recovery, sleep, strain, stress, heart rate, trends, workouts, Strength Trainer, the journal, WHOOP Coach, weight, cycle tracking, Smart Alarm and your settings.
Setting it up
You need Node.js 24 and a WHOOP account. Then:
npm install -g @thebriangao/totem
totem local
That opens WHOOP's own login page in a fresh browser window (totem never sees your password), then finds the AI apps on your computer and offers to add itself to each one. If you want it in claude.ai, ChatGPT on the web or on your phone, run totem cloud instead. It puts totem on a server you own, which is free on Cloudflare.
Where your data goes
From WHOOP to the copy of totem you own to the app you asked, and nowhere else. There's no totem company in the middle, no shared server and no analytics.
Official API?
It's the safer choice, and if it covers what you need, you can use it, but it's read-only, and it only has six things:
Official API: your profile, body measurements, cycles (day strain), recovery, sleep and workouts.
totem adds: your full heart-rate graph, stress, trends, Strength Trainer sets and PRs, the journal, WHOOP Coach, weight history, cycle tracking (women's health), Weekly Plan, Smart Alarm and Healthspan. Everything you can do in the app, you can now do with your own AI, more than Whoop's own AI coach can.
And it can change things, which the official API can't do at all: log or edit activities, journal entries, lifts, weight, alarms and settings, each with a preview first.
If you used totem 1.x
Run totem local or totem cloud again after updating. If you installed it with npm, also run totem auth once, because the update can't carry the old login over.
GitHub: https://github.com/thebriangao/totem
npm: https://www.npmjs.com/package/@thebriangao/totem
Happy to answer questions. I'd love to hear what you'd want to ask your own data, and bug reports and pull requests are welcome.