Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Totem — talk to your wearables with AI. Today: full Whoop access (48 tools).
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
WHOOP_IOS_BEARER_TOKEN, WHOOP_COGNITO_REFRESH_TOKEN, WHOOP_EMAIL, WHOOP_USER_ID, WHOOP_TIMEZONE标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"totem": {
"command": "npx",
"args": [
"-y",
"@briangaoo/totem"
],
"env": {
"WHOOP_IOS_BEARER_TOKEN": "your-value",
"WHOOP_COGNITO_REFRESH_TOKEN": "your-value",
"WHOOP_EMAIL": "your-value",
"WHOOP_USER_ID": "your-value",
"WHOOP_TIMEZONE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add totem --env WHOOP_IOS_BEARER_TOKEN=your-value --env WHOOP_COGNITO_REFRESH_TOKEN=your-value --env WHOOP_EMAIL=your-value --env WHOOP_USER_ID=your-value --env WHOOP_TIMEZONE=your-value -- npx -y @briangaoo/totem运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"totem": {
"command": "npx",
"args": [
"-y",
"@briangaoo/totem"
],
"env": {
"WHOOP_IOS_BEARER_TOKEN": "your-value",
"WHOOP_COGNITO_REFRESH_TOKEN": "your-value",
"WHOOP_EMAIL": "your-value",
"WHOOP_USER_ID": "your-value",
"WHOOP_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"totem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@briangaoo/totem"
],
"env": {
"WHOOP_IOS_BEARER_TOKEN": "your-value",
"WHOOP_COGNITO_REFRESH_TOKEN": "your-value",
"WHOOP_EMAIL": "your-value",
"WHOOP_USER_ID": "your-value",
"WHOOP_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
WHOOP_USER_ID envWHOOP_TIMEZONE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 briangaoo 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:WHOOP_IOS_BEARER_TOKEN, WHOOP_COGNITO_REFRESH_TOKEN, WHOOP_EMAIL
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.3)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, aamio rendezvous
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Meet an agent you have not met, exchange messages that expire, and prove it happened. No account.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Totem gives Claude (or any MCP-compatible AI) full read + write access to your wearable data. Today it speaks Whoop — every metric, through Whoop's private iOS API.
▶ 2-min demo — the full totem cloud flow: install → Whoop login → Fly deploy → Claude connector → first query.
55 tools, structured zod-validated outputs, bundled catalogs (372 exercises, 308 behaviors, 203 sports, 311 endpoints), write-safety harness, automatic Cognito token refresh, bounded in-memory read cache. TypeScript 6, Node 24, 278 tests.
Totem is becoming a universal wearables bridge. Whoop is the first adapter — every metric, fully wired. Fitbit, Apple Watch, and Garmin are in progress (contributors welcome). The MCP + projection layer is device-agnostic; an adapter just maps its source into the same shared schemas, so everything below applies to whatever you wear.
*Note: this works through Whoop's private iOS API rather than the public OAuth API. That isn't what Whoop's terms allow — see the FAQ if you want the full picture before installing.*
totem CLIOther root-level docs: TOOLS.md (full per-tool reference) · WHOOP.md (full API reference) · CHANGELOG.md · CONTRIBUTING.md · SECURITY.md · LICENSE
Prerequisites: Node 24+ and a Whoop account (any membership tier).
git clone https://github.com/thebriangao/totem.git
cd totem && npm install && npx tsc && npm link
That puts totem on your PATH (the one-time npx tsc builds it; after that every workflow is a totem command — there are no npm run scripts). Now run one guided command — each handles Whoop login (SMS included), setup, and connecting to Claude from end to end. Pick how you want to run it:
totem cloudDeploys the server to a host and connects it to Claude on web, desktop, and mobile, synced across every device on your account. One command walks through:
MCP_AUTH_TOKEN and asks you to choose a connector password./health and the OAuth endpoints are live.totem cloud
totem localRuns the server on this machine over stdio — no hosting, this device only. Walks through Whoop login → build → wiring it into the client you pick: Claude Desktop, Claude Code, Cursor, VS Code (Copilot), Gemini CLI, Codex CLI, or Windsurf — it writes the right config to the right path automatically (or prints a universal block for any other MCP client). Restart the client and you're set.
totem local
Whoop's tokens expire roughly every 30 days. When they do, re-run the same command — it re-logs you in and (if you deployed) pushes the new tokens to your server:
totem auth
Silent if your account has no SMS MFA; prompts for the code if it does. Pushes fresh tokens to your deployment automatically.
Ask Claude: *"how am I doing today on whoop?"* — you should get structured recovery / sleep / strain back.
Prefer to wire everything up by hand? The guided commands just automate the steps documented in The
totemCLI, Remote hosting, and Configuration. Stuck? See Troubleshooting.
Whoop ships two APIs:
developer.whoop.com is OAuth2, read-only, and exposes 13 endpoints under 6 scopes. You get recovery score, sleep stage totals, workout strain, body measurements (3 fields), and HRV/RHR per cycle. No journal, no Strength Trainer, no Whoop Coach, no hypnogram, no stress monitor, no trends, no writes, nothing else. Numeric sport_id was removed 2025-09-01.api.prod.whoop.com behind AWS Cognito. 311 distinct operations across 47 microservices, including everything missing from above.This MCP wraps the iOS surface.
| Capability | Tool |
|---|---|
| HRV / RHR / respiratory / VO2 / weight time-series (25 metrics × up to 4 windows) | whoop_trend |
| Hypnogram (per-stage sleep timeline) + full stage breakdown (ms + %) + in-sleep HR | whoop_sleep |
| Strength Trainer — every set, every workout, full 372-exercise catalog, PRs | whoop_lift_* (8 tools) |
| 308-behavior Journal + behavior impact analysis | whoop_journal* (5 tools) |
| Stress monitor (intraday timeline) | whoop_stress, whoop_live_stress |
| Whoop Coach AI chat | whoop_coach_ask |
| Smart Alarm (read + 4 write modes) | whoop_smart_alarm* |
| HR zones (read + configure max HR / 5 custom zones) | whoop_hr_zones* |
| Compare-windows, sleep coach, calendar grid, performance assessment | whoop_compare, whoop_sleep_need, whoop_calendar, whoop_performance_assessment |
| Live HR / activity state / live stress | whoop_live_* (3 tools) |
| Community leaderboards, hidden metrics, women's health (cycle / symptoms / MCI) | whoop_leaderboard, whoop_hidden_metric, whoop_cycle* |
| 15 write tools — log workouts, journal entries, profile edits, smart-alarm config, edit sleep times | various |
If recovery + sleep totals + workout list is enough for you, use the public OAuth API. If anything in the table is interesting, you need this. The iOS API was discovered via mitmproxy — full methodology in WHOOP.md.
The MCP runs as a local Node process. It speaks Model Context Protocol over stdio (or HTTP for remote deployments), registers 55 tools at startup, and waits for tool calls from a connected MCP client.
When a tool is called:
api.prod.whoop.comWrites follow the same path plus a preview gate: every write tool defaults confirm: false, returning a preview of what would be sent. Claude must explicitly re-call with confirm: true to fire.
See The 55 tools for the full per-tool reference.
Claude Desktop / Code ──stdio──▶ src/server.ts ──▶ 49 tool handlers
│ ┌──────────────────┼──────────────────┐ ▼ ▼ ▼ schemas (zod) projections (raw→flat) whoop/client │ ▼ HTTPS api.prod.whoop.com
Every tool is a schema + projection + handler:
Almost no logic in the tool file. That's all in the projection — which makes the codebase highly testable (projections are pure transformations, tested against tests/fixtures/*.json without hitting the network).
When Whoop changes a response shape, the projection emits unexpected data, zod's .parse() fails, and the MCP throws WhoopProjectionError instead of silently returning malformed data to Claude. Fix: use whoop_raw + whoop_endpoints to capture the new shape, update the projection, update the fixture, ship.
Recent example: in May 2026, Whoop migrated recovery + strain deep-dives from
GRAPHING_CARDtiles (keyed bycontent.titlelike"RECOVERY") toSCORE_GAUGE+CONTRIBUTORS_TILEitems with stablecontent.idkeys (RECOVERY_SCORE_GAUGE,CONTRIBUTORS_TILE_HRV). Other deep-dives still use the old card-based shape. The escape-hatch tools made the migration trivial to debug.
Compact summary. Full per-tool reference (input shape · source endpoints · output shape · notes) → [`TOOLS.md`](TOOLS.md). Tools marked ⚠️ are writes (default confirm: false, preview-first). Tools marked ⚡ are compact/aggregate reads that fold several source calls into one lower-token response; whoop_weekly_plan is ⚡ experimental (its endpoint shape hasn't been verified
只显示了开头部分;其余内容请在仓库中阅读