Health & wearables
WHOOP API and MCP: let your AI work with your health data
Connect WHOOP API data to Claude through optiHealth MCP. Explore wearable history, supplement logs and real saved insights, with setup and permissions explained.

The WHOOP API gets your measurements out of WHOOP. An MCP connection lets an AI assistant work with them. optiHealth puts the two together: wearable history, personal logs and saved insights become something you can question in a conversation, without exporting another file.
- WHOOP API supplies measurements; optiHealth MCP connects an authorized assistant to your health record.
- Ask about saved insights, inspect time series and bring your own logs into the conversation.
- Separate write permission lets an agent save signed notes or import supported measurements.
Data access is not the interesting part
In my WHOOP vs Fitbit comparison, total sleep tracked closely across devices: Spearman ρ was 0.961. Deep sleep was another story: 124.4 minutes from WHOOP versus 98.2 from Fitbit, with ρ=0.523.
This is the kind of question I want to ask of my data. Not “what was my score?”, but “why do these two records tell different stories?”
WHOOP integrations solve the first problem: access. The next problem is joining the records and following the result somewhere useful.
optiHealth MCP is for self-experimenters who want an AI assistant to investigate their actual health history, not discuss a screenshot.
WHOOP API vs MCP: which integration do you need?
MCP means Model Context Protocol: a standard way for an assistant to request data and use tools. It is not a replacement for the WHOOP API, and this is not WHOOP's official MCP server.
| Route | Best for | What you work with | What remains your job |
|---|---|---|---|
| WHOOP API directly | Building a WHOOP-specific application | Authorized WHOOP records | Integration code, data handling and analysis |
| Export and a script | A fixed, reproducible investigation | Files you select | Re-exporting and maintaining the analysis |
| optiHealth MCP | Asking follow-up questions across your connected record | Measurements, logs and saved findings | Choosing a useful question and reviewing the answer |
A direct integration is reasonable if you want to build everything yourself. MCP changes the interface: your assistant requests the records instead of asking you to paste them.
What optiHealth MCP can do with your health data
The connector goes beyond a daily summary.
- Find the available data. Inspect metric names, units, recorded dates and source changes.
- Read your history. Request summaries, time series or an aligned dataset for several metrics. Missing observations stay missing.
- Open the records. Read sleep sessions, workouts, supplement intake, structured mood entries and tags. Sleep-stage timelines are available where a usable timeline exists.
- Explore saved insights. Open a result, read its statistics and inspect related findings. Reading an insight does not start another analysis run.
- Explain a metric. Retrieve definitions and formulas rather than guess from the label.
- Go beyond wearables. Lab-report history and ECG records have their own tools where records are available and permitted.
For relationship analysis, an aligned dataset supports up to 12 metrics and 10,000 cells per request. That is a query limit, not the size of your account.
You can move from “show me my resting heart rate” to “open the saved comparison, check the matching dates, and show what else was recorded.”
Two examples from my account
These are real saved findings retrieved through MCP on 29 November 2026. They use the account's available sources and logs—not exclusively WHOOP data.
Mood has a time of day
One finding put pleasantness highest around 06:19 and lowest around 18:19, in my account's time zone. The fitted swing was 1.18 points on the −1 to +1 scale.
This is not a wearable score. It comes from structured feeling logs, which is exactly why I want the connector to reach beyond the band on my wrist.
A useful next question:
Open my saved daily mood-rhythm insight. Explain the pattern, then check which dates and feeling entries are available for a closer look.
This is an example prompt, not a transcript of an answer.
A supplement comparison worth opening
Another finding reported resting heart rate 0.91 bpm higher after recorded GABA intake, for 8 August–27 November 2026. The card labels it exploratory: p=0.107, q=0.263, with overlapping Keto Energy exposure.
Interesting? Yes. A verdict on GABA? No. But now there is an actual comparison to discuss rather than a vague memory of feeling different.
Open my GABA and resting-heart-rate finding. Show the analysis window, overlapping exposures and available heart-rate history.
The important part is the continuity. The assistant can read the finding and then request the records for the next question.
Connect WHOOP data to Claude or another MCP client
Before starting, connect WHOOP in optiHealth and check that measurements have arrived. Your AI client must support remote MCP connections and authorization.
- Open Agents in optiHealth.
- For Claude, use Connect to Claude. For another compatible client, use Copy MCP URL and add that address as a remote server.
- Sign in to optiHealth and approve access.
- Ask: “What data do I have, and which saved insights should I open first?”
The product also provides ChatGPT connection guidance. Custom-connector availability depends on your client and workspace; follow the current instructions in the connection panel.
Expected result: your assistant retrieves the authorized record instead of relying on numbers you typed into chat. Feature availability and source permissions still apply.
Save agent notes and import measurements
Reading and writing are separate permissions. With an additional per-agent write grant, the assistant can save signed notes and import supported measurements.
A note stays an attributed agent note—not an optiHealth statistical finding wearing a new title. That distinction matters when you return to the record later.
Imports use canonical metric names and exact units, with a validation mode before insertion. Existing readings cannot be edited or deleted through MCP. The purpose is to bring measurements into the workflow, not silently rewrite wearable history.
There is also a tool for creating a public share link to a saved insight. Sharing is a deliberate action, not a requirement for reading your private findings.
WHOOP API limits: sleep stages and source permissions
The connector cannot create data the device never exposed. WHOOP's documented sleep API provides stage-duration summaries, not a chronological stage-by-stage hypnogram. A richer timeline from another source should not be relabelled WHOOP data.
Nor does every record automatically reach every assistant: export restrictions and permissions apply. Free-text journal content is excluded from the structured mood tool.
Those are the connection's boundaries. They do not have to be the whole conversation.
FAQ
Does WHOOP have an API?
Yes. WHOOP provides an authorized API for records including recovery, sleep, cycles and workouts. Its optiHealth integration brings available measurements into your record.
Is optiHealth MCP the same as WHOOP API?
No. WHOOP API supplies WHOOP records. optiHealth MCP lets an authorized assistant work with your connected record, personal logs and saved insights.
Can I use WHOOP data with Claude?
optiHealth provides a Connect to Claude route for its remote MCP server. Connect your wearable, then authorize access to the records available to your account.
Can I connect ChatGPT?
The Agents page includes ChatGPT connection guidance. Custom MCP support depends on your client and workspace.
Can an assistant save notes or import measurements?
Yes, with a separate per-agent write grant. Signed notes stay distinct from statistical findings; measurement imports use supported catalog names and units.
Must my insights be public?
No. Authorized reading does not require a public share link. Publishing an insight is a separate action.
Summary
WHOOP API gives you access to measurements. optiHealth connects them with the rest of your record. MCP lets your assistant work with that context and follow a question beyond the first answer.
Less exporting. More asking the next useful question.
Start with your connected history in optiHealth.
Personal data analysis, not medical advice. Examples describe one account, not treatment effects.