Apple Health to Claude: connect Claude, Claude Code or Claude Desktop
To get Apple Health data into Claude, use Anthropic's built-in connector in the Claude iPhone app (US, Pro and Max), or connect Claude to an MCP server that an iPhone app keeps current. With Marrow, connect Marrow Health, the official connector in Claude's directory, for claude.ai and the Claude apps, or point Claude Code, Claude Desktop or Cursor at its free MCP server on your iPhone or your own machine.
The steps, for each Claude
These match Marrow 1.7.2. Every route starts the same way: install Marrow from the App Store or Google Play, allow Apple Health (Health Connect on Android), and open Connects, then the MCP tab.
claude.ai and the Claude apps (Cloud MCP, Marrow Pro)
- In Marrow, tap Claude app in the list. Tap the button: it turns on Cloud MCP if it is off, then reads Open Marrow Health in Claude. That adds Claude to Your AIs, copies your link and opens Marrow Health in Claude.
- Tap Connect. When the page asks which Marrow this is, paste your link. It is already copied.
- The page shows a 6-character code. Type it into Marrow and approve.
- Ask: How am I doing today? The connector is then in the Claude apps on the same account too.
Claude Code, Claude Desktop or Cursor on your network (Local MCP, free)
- In Marrow, tap your tool in the list and pick Local MCP. Tap Turn on Local MCP, then Add to Your connections.
- Marrow shows an address and a token made for this connection, with the command or JSON to paste. For Claude Code:
claude mcp add --transport http marrow http://<phone-ip>:21212/mcp \ --header "Authorization: Bearer <token>"
- Keep Marrow open, on the same Wi-Fi or tailnet as the computer, and ask.
For an agent that needs your data while the phone is asleep, use the self-hosted server in section 4 below.
Two things are true at once in 2026. Claude and ChatGPT can both read Apple Health, and neither can do it anywhere except inside its own iPhone app. If the agent you actually use lives on a Mac, a Mac mini in a closet, a VPS, or a terminal, you need something on the phone to hand the data out. This page covers both halves.
1. What the built-in connectors do
Anthropic added an Apple Health connection to the Claude iOS app in January 2026, in beta for Pro and Max subscribers in the US. OpenAI's ChatGPT Health reached US users in July 2026 and includes the free plan. Both ask iOS for Health permission, pull what they need during a conversation, and are read-only.
| Claude connector | ChatGPT Health | Marrow | |
|---|---|---|---|
| Works in | Claude iPhone app | ChatGPT iPhone app | Any MCP client, any machine |
| Claude Code, Claude Desktop, Cursor | No | No | Yes |
| OpenClaw, Hermes, local models | No | No | Yes |
| While the phone is in your pocket | No | No | Yes, via the self-hosted mirror |
| Meal diary and set-by-set lifts | HealthKit totals only | HealthKit totals only | Yes |
| Numbers checked against Apple's own daily totals | No | No | Yes |
| Where your data goes | Anthropic, per chat | OpenAI, per chat | Stays on your phone or your box |
| Price | Pro or Max | Free | Free, MIT server |
Use the built-in connector if you only ever talk to the assistant on your phone and want a quick read. Use Marrow the moment the agent is somewhere else, needs to run on a schedule, or needs the detail behind the totals.
2. Why "iPhone app only" is not a policy choice
HealthKit is an on-device framework. There is no Apple Health server API, nothing a script on a Mac or a cloud function can call. Every desktop or server integration, including ours, is really an iOS app that reads HealthKit and serves it out. That is why a typical Claude Code setup ends up with a phone app pushing to a database and an MCP server in front of it.
3. The two-minute version: on-device MCP
Marrow runs an MCP server on the iPhone itself. Install the app, open Connects, then MCP, then Local MCP, turn the server on, add your tool to Your connections, and it shows a URL and bearer token. It answers while the app is open and your machine is on the same Wi-Fi or tailnet. Full instructions, including a prompt you can paste into any agent so it walks you through setup, are on the agent setup page.
4. The always-on version: self-hosted mirror
For Claude Code, Cursor, OpenClaw, or anything that needs your data while the phone is asleep, pair the mirror. It is one Python file with no dependencies, MIT licensed, and the phone's background pushes keep it current.
pip install marrow-mcp
marrow-server # prints a pairing link and the agent token
Open the pairing link on any screen, then in Marrow: Connects, MCP, Server MCP, Pair with a server, then scan. From then on the mirror keeps a SQLite copy on your hardware and serves thirteen read tools at http://<server-ip>:8800/mcp: the phone's nine, plus sleep_log, symptoms_and_mood, what_changed and data_quality (all thirteen are listed in section 5). Turn on Allow AI write for the server in Marrow and it lists twelve write tools too. The phone collects those entries when it opens or wakes.
Claude Code
claude mcp add --transport http marrow http://<server-ip>:8800/mcp \
--header "Authorization: Bearer <mcp token>"
Claude Desktop, Cursor, OpenClaw, Hermes, anything with an mcp.json
{
"mcpServers": {
"marrow": {
"type": "http",
"url": "http://<server-ip>:8800/mcp",
"headers": { "Authorization": "Bearer <mcp token>" }
}
}
}
Claude Desktop also has a one-click .mcpb bundle on the releases page.
From outside your network
Do not port-forward the server. Put it on a tailnet and it works from anywhere the agent machine can reach:
tailscale serve --bg --https=8800 http://127.0.0.1:8800
Then use the tailnet URL in the config above. The self-hosted mirror guide has the rest, including what lands on disk.
5. What the agent can ask
Nine read tools on the phone: health_summary, list_metrics, metric_daily, metric_samples, workouts, nutrition_log, strength_log, and two model-ready reads scored against your own normal: daily_brief (today, with the app's own phrases and flags worth mentioning) and baselines. The mirror serves thirteen, adding sleep_log, symptoms_and_mood, what_changed (the last week against the four before) and data_quality (what is fresh, stale or missing). With Allow AI write on, both also list twelve write tools. Behind them are 172 Apple Health types plus Marrow's own meal diary and lifting log. Prompts that work well:
- "Compare my resting heart rate and HRV in the four weeks before and after I started morning training."
- "Which days this month did I sleep under six hours, and what happened to my steps the day after?"
- "Summarize protein against my goal for the last two weeks and flag the worst days."
- "Show my squat progression by estimated 1RM since June."
- "How am I doing today, and what changed this week?" (the mirror answers from
daily_briefandwhat_changed, scored against your own normal)
What Claude receives
Claude does not get a file. It calls tools and gets back small JSON answers, which it turns into words. Asked about resting heart rate this week, it calls metric_daily and receives something like this (sample values):
{"metric": "resting_heart_rate",
"days": {"2026-11-01": 54.0, "2026-11-02": 53.0, "2026-11-03": 56.0, "2026-11-04": 55.0, "2026-11-05": 52.0}}
The phone serves nine read tools, and the self-hosted server and Cloud MCP serve thirteen: a daily brief and your baselines scored against your own normal, any metric by day or as raw records with their source, workouts, sleep by stage, the food diary with 39 nutrients per entry, and lifts set by set. The full list is machine-readable.
6. Why the numbers matter more than the model
In January 2026 a Washington Post reporter connected both assistants to his Apple Health data. ChatGPT graded his heart health an F, then a B on a repeat, and forgot his age. Claude did better and still, in the report's words, failed to account for limitations in the Apple Watch data. The models were fine. They were handed unqualified numbers with no sense of what was missing.
Marrow reconciles every daily value against Apple's own totals before an agent sees it, and its tools return records with source devices and timestamps so the agent can tell a real low from a day the watch sat on a charger. The verification layer exists because the founder caught the incumbent export app silently freezing mid-afternoon and under-reporting steps by about 40 percent. Every answer an agent gives from Marrow is computed from your records, then phrased.
The short version
- Phone-only chats: the built-in Claude or ChatGPT connector is fine.
- Claude Code, Desktop, Cursor on the same network: Marrow's on-device server, two minutes.
- OpenClaw, a home server, or anything that runs while you sleep:
pip install marrow-mcpand pair once. - All of it is free. If you would rather run nothing at all, Cloud MCP (Marrow Pro) hosts the mirror for claude.ai, ChatGPT and Gemini. In Claude it is the official connector, Marrow Health, one button away in the app. Get Marrow on the App Store or Google Play, then follow the setup page.
If it does not work
- The sign-in waits in Marrow. The page shows a 6-character code. Open Marrow, type the code and approve. A request expires after ten minutes, so start again from Claude if it has.
- Claude Code or Desktop gets no answer. Local MCP answers only while Marrow is open in front, to computers on the same Wi-Fi or tailnet.
- 401 Unauthorized. The token is wrong, or that connection is switched off in Marrow. For the self-hosted server, agents use the mcp token the server printed, not the pairing token.
- It worked, then stopped. Cloud MCP pauses when it is switched off or Marrow Pro has ended. Turn it back on and sign in again from Claude.
- Claude reads but cannot log. Turn on Allow AI write for that connection in Marrow.
More fixes: Cloud MCP, Local MCP, Server MCP.
Other ways to do it, and when to pick them
- Claude's built-in Apple Health connection. Pick it if you are in the US on Pro or Max and only ask questions in the iPhone app. It is read-only and needs nothing else installed.
- Health Auto Export's MCP server. Pick it if you already pay for its Premium tier and use Claude Desktop on the same Wi-Fi as your phone. Its app must stay in the foreground while Claude reads.
- Upload an export. For one conversation about your history, export from the Health app, turn the export.zip into CSV with our converter and attach the files. It is a snapshot, so new data means a new export.
- Every other MCP server for Apple Health is compared on Apple Health MCP servers.
Questions
Can Claude read Apple Health?
Yes. The Claude iPhone app has a built-in Apple Health connection in beta for Pro and Max subscribers in the US, and it only reads. Everywhere else, and in Claude Code, Claude Desktop and claude.ai, an MCP server such as Marrow's does it.
Does it work on Claude's free plan?
The Marrow connector on claude.ai works on Claude's free plan. It uses Cloud MCP, which is part of Marrow Pro. Local MCP and the self-hosted mirror are free in Marrow.
Can Claude log meals and workouts for me?
Yes, with Allow AI write on in Marrow. Claude can then log meals, water, weight, workouts, strength sets and sleep, your iPhone writes them to Apple Health, and each one can be undone.
What if I just want answers on my phone?
Mo is the AI inside the Marrow app. It answers from the same data and logs for you, with no agent, config file or connector to set up.
Related: Apple Health MCP servers, compared · Apple Health to ChatGPT · Apple Health to Gemini