Supabase
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read-only WHOOP v2 data for MCP clients, with local SQLite cache and CSV/JSONL/Parquet exports.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, WHOOP_REDIRECT_URI, WHOOP_LOG_LEVEL, WHOOP_LOG_FILE, WHOOP_LOG_JSONค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"whoop": {
"command": "uvx",
"args": [
"whoop-mcp"
],
"env": {
"WHOOP_CLIENT_ID": "ใส่ค่าของคุณ",
"WHOOP_CLIENT_SECRET": "ใส่ค่าของคุณ",
"WHOOP_REDIRECT_URI": "ใส่ค่าของคุณ",
"WHOOP_LOG_LEVEL": "ใส่ค่าของคุณ",
"WHOOP_LOG_FILE": "ใส่ค่าของคุณ",
"WHOOP_LOG_JSON": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add whoop --env WHOOP_CLIENT_ID='ใส่ค่าของคุณ' --env WHOOP_CLIENT_SECRET='ใส่ค่าของคุณ' --env WHOOP_REDIRECT_URI='ใส่ค่าของคุณ' --env WHOOP_LOG_LEVEL='ใส่ค่าของคุณ' --env WHOOP_LOG_FILE='ใส่ค่าของคุณ' --env WHOOP_LOG_JSON='ใส่ค่าของคุณ' -- uvx whoop-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"whoop": {
"command": "uvx",
"args": [
"whoop-mcp"
],
"env": {
"WHOOP_CLIENT_ID": "ใส่ค่าของคุณ",
"WHOOP_CLIENT_SECRET": "ใส่ค่าของคุณ",
"WHOOP_REDIRECT_URI": "ใส่ค่าของคุณ",
"WHOOP_LOG_LEVEL": "ใส่ค่าของคุณ",
"WHOOP_LOG_FILE": "ใส่ค่าของคุณ",
"WHOOP_LOG_JSON": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"whoop": {
"type": "stdio",
"command": "uvx",
"args": [
"whoop-mcp"
],
"env": {
"WHOOP_CLIENT_ID": "ใส่ค่าของคุณ",
"WHOOP_CLIENT_SECRET": "ใส่ค่าของคุณ",
"WHOOP_REDIRECT_URI": "ใส่ค่าของคุณ",
"WHOOP_LOG_LEVEL": "ใส่ค่าของคุณ",
"WHOOP_LOG_FILE": "ใส่ค่าของคุณ",
"WHOOP_LOG_JSON": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
WHOOP_REDIRECT_URI envWHOOP_LOG_LEVEL envWHOOP_LOG_FILE envWHOOP_LOG_JSON envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub AshwanthramKL ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.8.5) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A local Model Context Protocol (MCP) server that gives an LLM read-only access to your WHOOP fitness data. Authentication is direct OAuth against your own WHOOP developer app — there is no third-party proxy in the path. All records are mirrored into a local SQLite cache at ~/.whoop-mcp-server/whoop.db, and no data ever leaves your machine except for the authenticated calls the server itself makes to the WHOOP v2 API.
Current version: 0.8.5 — see CHANGELOG.md.
Pre-1.0 status. The API surface (tool names, response shapes, error
codes) is stabilizing but not frozen. Breaking changes may land in
0.xminor bumps during dogfooding. Patch bumps (0.8.x) are
bugfix-only. 1.0.0 will be cut when the surface has been stable for
2+ weeks of real use. Pin the minor version in CI if you're building
on top of this.
Just want to try it? Copy the prompt in
docs/AGENT_INSTALL_PROMPT.md, paste
it into Claude Code / Claude Desktop / Cursor / Windsurf, and your
agent will do the install end-to-end.
Building on this repo? Start with AGENTS.md and
docs/ARCHITECTURE.md — they're the
load-bearing conventions and one-page system map.
The WHOOP MCP Server is a small Python process that speaks MCP over stdio. It exposes WHOOP v2 data (profile, body measurement, cycles, recoveries, sleeps, workouts) to any MCP-capable client — primarily Claude Desktop and Claude Code. The server is read-only. It authenticates with WHOOP using an OAuth app you register yourself, so your tokens never travel through a third-party server. The WHOOP records you fetch are written to a local SQLite cache (mode 0o600) so subsequent reads are free and offline, and the cache file never leaves your machine.
# 1. Create a WHOOP developer app (one-time, free, self-serve):
WHOOP_CLIENT_ID=" " \ WHOOP_CLIENT_SECRET=" " \ uvx --from whoop-mcp whoop-mcp-oauth
claude mcp add whoop --scope user \ --env WHOOP_CLIENT_ID="$WHOOP_CLIENT_ID" \ --env WHOOP_CLIENT_SECRET="$WHOOP_CLIENT_SECRET" \ -- uvx --from whoop-mcp whoop-mcp
No clone, no venv, no absolute paths. Don't have uv? Install it once: curl -LsSf https://astral.sh/uv/install.sh | sh (or brew install uv).
Paste the prompt in docs/AGENT_INSTALL_PROMPT.md into any MCP-aware agent (Claude Code, Claude Desktop, Cursor, Windsurf, Zed, Aider). The agent will run the install for you.
git clone https://github.com/AshwanthramKL/whoop-mcp.git
cd whoop-mcp python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt -r requirements-dev.txt .venv/bin/pytest -q # 183 tests, ~6s, all respx-mocked
Then register with -- /abs/path/to/whoop-mcp/.venv/bin/python /abs/path/to/whoop-mcp/src/whoop_mcp_server.py.
For Claude Desktop, add the equivalent entry to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), pointing command at the venv Python and args at src/whoop_mcp_server.py. Run ./scripts/fresh_install_check.sh if you want a clean-env smoke of the install path end-to-end (minus the browser OAuth flow).
Once the server is registered, try these prompts:
sync_whoop() and reports per-resource counts.get_whoop_daily_summary(date="YYYY-MM-DD") and shows a joined cycle + recovery + primary sleep + workouts record.~/whoop-workouts.csv." Claude calls export_whoop(kind="workouts", format="csv", path="...").Bundled with the repo: skills/whoop-insights.
Install (one command):
whoop-mcp-install-skills # writes to ~/.claude/skills/
That fetches the latest skill from this repo's main branch and drops it where Claude Code (and Cursor / Windsurf / Zed) auto-discovers user-scope skills. Restart your MCP client session and ask:
*"How am I doing? Run the whoop-insights skill."*
*"Generate my weekly WHOOP report."*
*"Am I overtraining? Check the last 30 days."*
The skill pulls 30 days from the cache, computes personal baselines (HRV, recovery, sleep, strain), flags anomalies with evidence, runs two correlations (sleep→next-day-recovery, strain→next-day-recovery), and optionally generates a self-contained HTML dashboard with Chart.js visualizations. Every claim cites a specific date and a specific number — the skill is instructed never to fabricate.
For repo-native developers iterating on the skill itself: whoop-mcp-install-skills --source ./skills installs from your local working tree instead of GitHub.
17 tools. All list tools accept start / end as ISO-8601 and auto-paginate. Every read tool takes fresh: bool = False — pass True to bypass the cache and hit the WHOOP API, write-through to cache, and return the live response. Errors are returned as a structured {"error": {...}} envelope; tools never raise.
| Tool | What it does | Key parameters |
|---|---|---|
get_whoop_auth_status | Report OAuth token status. Call first if other tools return AUTH_FAILED. | — |
get_whoop_profile | Authenticated user's WHOOP profile (name, email). | fresh |
get_whoop_body_measurement | Latest body measurements: height, weight, max HR. | fresh |
list_whoop_cycles | Physiological cycles in a time window. | start, end, limit, fresh |
get_whoop_cycle | One cycle by integer ID. | cycle_id, fresh |
get_whoop_cycle_sleep | Sleep record tied to a given cycle. | cycle_id, fresh |
get_whoop_cycle_recovery | Recovery record tied to a given cycle. | cycle_id, fresh |
list_whoop_recoveries | Recoveries (HRV / RHR / recovery score) in a window. | start, end, limit, fresh |
list_whoop_sleeps | Sleep activities incl. naps in a window. | start, end, limit, fresh |
get_whoop_sleep | One sleep activity by UUID. | sleep_id, fresh |
list_whoop_workouts | Workouts with zone durations (seconds). | start, end, limit, fresh |
get_whoop_workout | One workout by UUID. | workout_id, fresh |
get_whoop_daily_summary | Joined cycle + recovery + primary sleep + workouts for a UTC date. | date |
sync_whoop | Refresh cache from WHOOP API. Idempotent, incremental by default. | full, since, resources |
get_whoop_events | Chronological "what's new" feed across cached resources. | since, until, resources, limit |
export_whoop | Dump cached records to CSV / JSONL / Parquet. | kind, format, path, start, end, overwrite |
health_check | Composite status (auth, API, cache, schema). Never raises. | live |
Error codes: AUTH_FAILED, RATE_LIMITED, NOT_FOUND, UPSTREAM_ERROR, VALIDATION_ERROR, CACHE_ERROR, CACHE_EMPTY, FILE_EXISTS, EXPORT_ERROR, SYNC_ERROR.
The cache is also exposed as read-only MCP resources, so the client can browse date slices without invoking a tool.
| URI | Content |
|---|---|
whoop://db/cycles/{start}/{end} | Cached cycles in [start, end) (dates YYYY-MM-DD). |
whoop://db/recoveries/{start}/{end} | Cached recoveries. |
whoop://db/sleeps/{start}/{end} | Cached sleeps (including naps). |
whoop://db/workouts/{start}/{end} | Cached workouts. |
whoop://db/profile | Latest profile snapshot. |
whoop://db/body_measurement | Latest body_measurement snapshot. |
whoop://db/sync_runs/{limit} | Most recent sync audit rows. |
whoop://db/events/{since} | Event feed since since, until = now. |
whoop://db/events/{since}/{until} | Event feed for explicit window. |
All resources return application/json. Bad inputs return the same {"error": {"code","message"}} envelope used by tools.
Responses are flattened: the WHOOP score wrapper is lifted, milliseconds become seconds (*_seconds, 1 decimal), kilojoules become calories (calories, rounded int), heart-rate keys are renamed to avg_hr_bpm / max_hr_bpm, and sleep stages are named deep_sleep_seconds, rem_sleep_seconds, light_sleep_seconds, awake_seconds, in_bed_seconds. Raw user_id, v1_id, and per-record created_at are dropped.
`score_state` convention. WHOOP scores are not always computed. When score_state != "SCORED" (e.g. PENDING_SCORE, UNSCORABLE) every derived score field is null and the top-level score_state is preserved so callers know why.
One flattened record per resource:
// Cycle
{ "id": 123456, "start": "2026-04-20T04:00:00.000Z", "end": "2026-04-21T04:00:00.000Z", "timezone_offset": "+00:00", "score_state": "SCORED", "strain": 12.4, "avg_hr_bpm": 62, "max_hr_bpm": 168, "calories": 2810 }
// Recovery
{ "cycle_id": 123456, "sleep_id": "bb68db7b-...", "score_state": "SCORED", "recovery_score": 74, "resting_heart_rate_bpm": 48, "hrv_rmssd_ms": 87.3, "spo2_pct": 97.4, "skin_temp_c": 33.1, "user_calibrating": false }
// Sleep
{ "id": "bb68db7b-...", "cycle_id": 123456, "start": "2026-04-20T03:10:00.000Z", "end": "2026-04-20T10:42:00.000Z", "nap": false, "score_state": "SCORED", "sleep_performance_pct": 88.0, "in_bed_seconds": 27120.0, "light_sleep_seconds": 12540.0, "rem_sleep_seconds": 5280.0, "deep_sleep_seconds": 6840.0, "awake_seconds": 1080.0 }
// Workout
{ "id": "a91f...", "start": "2026-04-20T17:00:00.000Z", "end": "2026-04-20T17:48:00.000Z", "sport_name": "Running", "score_state": "SCORED", "strain": 9.3, "avg_hr_bpm": 142, "max_hr_bpm": 176, "calories": 511, "distance_meter": 8030.0, "zone_durations
ตัดมาแค่ช่วงต้น อ่านต่อใน repo