Apple Health for Claude and ChatGPT

Ask your AI
about your health.

Connect once, then ask about your sleep, heart, workouts and trends in plain English. Answers come from your own Apple Health data.

Claude on every plan · ChatGPT Plus and up · Read only
“How's my recovery this week?”

Strong. You slept 7.7 h a night, up 6%. Resting heart rate is down to 54 bpm and HRV is up to 68 ms.

Sleep7.7h▲ 6%
Resting HR54bpm▼ 4%
HRV68ms▲ 9%
Read from Apple Health through HealthAPI

Ask it like you'd ask a coach.

Your AI looks up what it needs in your synced data, then answers. A few examples:

“How did I sleep this week compared with last week?”

You averaged 7 h 12 min a night, 24 minutes more than last week. Your deepest nights were after your Tuesday and Thursday runs.

“Is my resting heart rate trending up?”

No, it's trending down: 56 bpm on average this month, against 59 in August.

“Summarize my workouts this month.”

14 workouts, 9 h 40 min in total: 8 runs covering 52 km, 4 strength sessions and 2 rides.

“Which nights did I sleep least, and how was my HRV the next day?”

Tuesday (5 h 50 min) and Friday (6 h 5 min). Your HRV the next mornings was 41 and 44 ms, below your 58 ms average.

Set up in a minute.

No passwords and no keys to paste. Your iPhone does the approving.

01

Install and sync

Get HealthAPI on your iPhone and allow Apple Health once. Your data keeps itself up to date.

02

Add the connector

In Claude or ChatGPT, add HealthAPI as a connector with the address below. No key or password goes in.

03

Approve on your iPhone

A HealthAPI sign-in page opens. On a computer, scan its QR code with your iPhone; on your iPhone, tap Open HealthAPI. Then tap Approve.

Step by step.

The connector address, for both:

https://healthapi.app/mcp

Claude

Every plan, including Free

Works on the web, in the desktop app and in the Claude apps for iPhone and Android.

  1. In Claude, open Customize, then Connectors.
  2. Choose + Add, then Add custom connector. Name it HealthAPI, paste the address and select Continue twice.
  3. Keep Sign in now and Claude's published identity, select Add, then Connect and approve in HealthAPI on your iPhone.
  4. Ask: “How did I sleep last night?”

The Free plan allows one custom connector at a time. On Team and Enterprise plans, an owner adds it first in Organization settings, Connectors.

Full Claude guide

ChatGPT

Plus and up, in a browser

Plus, Pro, Business, Enterprise or Edu, on chatgpt.com in a browser. ChatGPT Free and Go can't add custom MCP servers, and neither can the phone apps.

  1. On chatgpt.com, open Plugins, select + and add a custom MCP server. Not there? Turn on Developer mode in Settings, Security and login, then look again.
  2. Name it HealthAPI, paste the address as the Server URL and choose OAuth, leaving the other OAuth fields empty. Select I understand and want to continue, then Create as a plugin.
  3. Install HealthAPI from your plugins and sign in when ChatGPT asks, then approve in HealthAPI on your iPhone.
  4. In a chat, type @, pick HealthAPI and ask.

ChatGPT shows a risk warning for every custom MCP server, not only ours.

Full ChatGPT guide

Using Claude Code, Cursor, n8n or your own scripts? Use the same address, signing in the same way or sending your API key, or call the REST API. Read the docs

Read only. Your call. Always.

Read only

Your AI can read what you've synced. It can't change or delete anything.

You approve it

Every connection is approved on your iPhone, and you can disconnect it at any time in the app, under Settings, Connected apps.

Only when you ask

Data goes to your AI when you ask it a question, never in the background.

Your key stays private

Connecting never puts your API key in a chat. Regenerating your key also disconnects everything you've connected, in case it leaked.

Questions.

Which Claude and ChatGPT plans work?

Claude: every plan, including Free, which allows one custom connector. On Team and Enterprise, an owner adds it for the organization. ChatGPT: Plus or Pro on chatgpt.com in a browser, Business workspace admins, and Enterprise or Edu members their admin allows. ChatGPT Free and Go can't add custom connectors, and the phone apps can't either.

Don't Claude and ChatGPT already work with Apple Health?

In some places. Claude's iPhone app has a built-in Apple Health option for Pro and Max subscribers in the US, and ChatGPT has a Health feature that connects Apple Health from its iPhone app where OpenAI offers it. HealthAPI works differently: you add it as a connector, so it works on every Claude plan, including Free, in Claude on the web, on desktop and on your phone, and outside the US. The same connection works in ChatGPT, and the same data is there for your own scripts over a REST API.

Does it cost extra?

Not beyond your HealthAPI plan. Each time your AI looks something up, it uses one of your daily HealthAPI requests: 100 a day on Pro, 1,000 on Developer. A question usually takes a few, and syncing from your iPhone never counts.

What can my AI read?

The Apple Health data you've synced to HealthAPI, in the categories you turned on in the app: activity, heart, sleep, workouts, body measurements and more. Nothing else on your phone.

How do I disconnect?

In HealthAPI, open Settings, then Connected apps, and choose Disconnect. You can also remove the connector in Claude or ChatGPT. Regenerating your API key also disconnects Claude, ChatGPT and everything else you've connected.

Does it work with other AI apps?

Other AI apps and developer tools that support MCP connectors can use the same address and the same approval on your iPhone. Tools that send their own headers can use your API key instead, and scripts and automations can call the REST API.

Is this medical advice?

No. HealthAPI shares your data with the AI you choose; what it says is not medical advice. Talk to a doctor about anything that worries you.

Ask your first question tonight.

Get HealthAPI for iPhone, connect your AI, and see what your data has been saying.