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).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"WHOOP_COGNITO_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"WHOOP_EMAIL": "ใส่ค่าของคุณ",
"WHOOP_USER_ID": "ใส่ค่าของคุณ",
"WHOOP_TIMEZONE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add totem --env WHOOP_IOS_BEARER_TOKEN='ใส่ค่าของคุณ' --env WHOOP_COGNITO_REFRESH_TOKEN='ใส่ค่าของคุณ' --env WHOOP_EMAIL='ใส่ค่าของคุณ' --env WHOOP_USER_ID='ใส่ค่าของคุณ' --env WHOOP_TIMEZONE='ใส่ค่าของคุณ' -- npx -y @briangaoo/totemเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"totem": {
"command": "npx",
"args": [
"-y",
"@briangaoo/totem"
],
"env": {
"WHOOP_IOS_BEARER_TOKEN": "ใส่ค่าของคุณ",
"WHOOP_COGNITO_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"WHOOP_EMAIL": "ใส่ค่าของคุณ",
"WHOOP_USER_ID": "ใส่ค่าของคุณ",
"WHOOP_TIMEZONE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"totem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@briangaoo/totem"
],
"env": {
"WHOOP_IOS_BEARER_TOKEN": "ใส่ค่าของคุณ",
"WHOOP_COGNITO_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"WHOOP_EMAIL": "ใส่ค่าของคุณ",
"WHOOP_USER_ID": "ใส่ค่าของคุณ",
"WHOOP_TIMEZONE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
WHOOP_USER_ID envWHOOP_TIMEZONE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub briangaoo ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: WHOOP_IOS_BEARER_TOKEN, WHOOP_COGNITO_REFRESH_TOKEN, WHOOP_EMAIL
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.4.3) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Asset Notation
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Read and maintain an Asset Notation file on disk: net worth, holdings, valuations, CSV import.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo