by thebriangao
Your WHOOP data in Claude, ChatGPT and the AI apps you already use. An open-source MCP server you run yourself, set up with one command.
# Add to your Claude Code skills
git clone https://github.com/thebriangao/totemGuides for using mcp servers skills like totem.
totem is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by thebriangao. Your WHOOP data in Claude, ChatGPT and the AI apps you already use. An open-source MCP server you run yourself, set up with one command. It has 147 GitHub stars.
totem's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/thebriangao/totem" and add it to your Claude Code skills directory (see the Installation section above).
totem is primarily written in TypeScript. It is open-source under thebriangao on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh totem against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
totem connects your WHOOP account to your AI apps. Ask about last night's sleep, why your recovery is low, or how your HRV has moved this quarter. Have the app log a workout or fill in your journal.
It is a small server that speaks MCP to your apps and talks to WHOOP the way the WHOOP app does. You run it on your own computer or on a cloud server you own.
totem local or totem cloud logs you in to WHOOP and adds totem to the AI apps it finds.[!NOTE] totem uses WHOOP's private app API, not the public developer API, and isn't affiliated with WHOOP. Read the FAQ before you install it.
You need Node.js 24 or newer and a WHOOP account.
1. Install it.
npm install -g @thebriangao/totem
2. Pick where it runs.
| On this computer | In the cloud | |
|---|---|---|
| Command | totem local |
totem cloud |
| Works with | Desktop and terminal apps: Claude Desktop, Claude Code, ChatGPT desktop and Codex, Cursor, VS Code, OpenCode, Antigravity | All of those, plus claude.ai, chatgpt.com and Claude on your phone |
| Cost | Free | Free on Cloudflare, about $4 a month on Fly.io |
| Available | While your computer is on | Always |
Either command opens a browser window on WHOOP's own site for you to log in. totem never sees your password. It then finds the AI apps on your computer and offers to add itself to each one.
3. Ask something.
Open your app and try "How did I sleep last night?"
Run totem on its own any time to see where things stand.
MCP_AUTH_TOKEN (64 random characters, for example from openssl rand -hex 32) and AUTH_PASSWORD (the password you'll type when an app connects). It runs on the free Workers plan.Then log in to WHOOP and send the login to your server:
npx @thebriangao/totem auth --url https://your-server-address
Only use Claude Desktop? Download totem.mcpb, double-click it, and log in once with npx @thebriangao/totem auth --local.
Anything that writes comes back as a preview first. Your app shows you what will change and asks before it happens.
totem connect sets up the apps on your computer. A cloud server also has a Connect page at https://your-server/connect, with a button or a copy-ready step for each app, already filled in with your server's address.
With a cloud server, each app sends you to totem's sign-in page once. It names the app that's asking, shows where access will go, and asks for your connector password.
| App | On this computer | With a cloud server |
|---|---|---|
| claude.ai, Claude Desktop, Claude mobile | Claude Desktop's config file | A link that opens claude.ai's "Add custom connector" filled in. It then shows up in Desktop and on your phone too |
| Claude Code | claude mcp add |
claude mcp add --transport http, then /mcp to sign in |
| ChatGPT desktop and Codex | codex mcp add (they share one config) |
codex mcp add --url, which opens the sign-in itself |
| chatgpt.com | Needs a cloud server | Plugins → Add → Add custom MCP server |
| Cursor | ~/.cursor/mcp.json |
An "Add to Cursor" link |
| VS Code (Copilot) | ~/.copilot/mcp-config.json |
An "Add to VS Code" link |
| OpenCode (1 and 2) | opencode.json |
opencode.json, then opencode mcp auth whoop |
| Antigravity | ~/.gemini/config/mcp_config.json |
The same file, with the server's address |
totem connect <app> sets up one app, and totem connect --print shows what it would add without touching anything.
totem cloud deploys to any of these, then checks that the server answers.
| Host | Cost | Good to know |
|---|---|---|
| Cloudflare Workers (recommended) | Free plan, 100,000 requests a day | No machine to look after. The login lives in a Durable Object. |
| Fly.io | About $4 a month for one 512 MB machine in Virginia and a 1 GB volume | Always on. At the time of writing, Fly doesn't bill personal accounts for less than $5 a month. |
| Railway | Railway's paid plan | A dashboard and logs in the browser. |
| Your own server | Yours | Any Docker host. totem writes the settings and prints the commands, or use the image ghcr.io/thebriangao/totem. Mount a volume at /data. |
Afterwards, totem status checks the server and its WHOOP login, totem logs shows its logs, and totem deploy sends it a new version.
Your data goes from WHOOP to your totem to the app you asked, and nowhere else. There is no totem company in the middle, no shared server and no analytics.
totem auth, which local and cloud run for you, opens a fresh browser window on app.whoop.com. You log in on WHOOP's own page, two-factor check included.~/.config/totem/tokens.json), or on your s