Free · Available now on the App Store

Apple Health MCP
for Claude & Cursor.

Send your Apple Health data to a Google Sheet in your own Google Drive, or to your own database. health4.ai has no account and no server, and never receives a copy. Then ask Claude, Claude Code, Cursor, ChatGPT, or Ollama about your sleep, HRV, and workouts.

Three steps: Sync Apple HealthYour Sheet or databaseAsk Claude/Cursor

HRV62 ms↑Sleep7h 23mSteps8,432VO₂ Max47.2
Download on the App Store

Free · no account · start with a Google Sheet.

Or explore first: Apple Health MCP setupvs Health Auto ExportMCP docs

HRV
62ms
↑ Good recovery
Last Night
7h 23m
Deep 1h 12m · REM 1h 34m

Every tracker that shares with Apple Health

Not just Apple Watch. If it writes to Apple Health, health4ai syncs it.

One real database: 40 devices and apps. The biggest source isn't Apple Watch. It's Oura.

Coverage depends on what each brand shares with Apple Health. Some hold back metrics (for example, WHOOP does not share Recovery or Strain), and Fitbit and FreeStyle Libre do not share to Apple Health at all.

Millions
of datapoints per user, over time
11
MCP tools for AI
150+
HealthKit metric types
Any AI
Claude · ChatGPT · Ollama · more
What it looks like in Claude
Claude · health4ai MCP connected
How was my recovery this week? Anything standing out?
C

Your HRV trended well this week — Wednesday was a standout at 71ms, your highest in 3 weeks. Here's the full picture:

Mon68ms████████████↑ +8%
Tue58ms██████████
Wed71ms█████████████Peak
Thu62ms███████████
Fri66ms████████████↑ avg

avg: 65ms · range: 58–71ms · 7-day trend: ↑
Sleep was consistent (7h 10m avg). Active energy slightly below your baseline on Tuesday — rest day effect.

Your Sheet, or your database

Start with a Google Sheet.
Go further with a database.

The easy path: sign in with Google and health4.ai creates a spreadsheet in your own Drive, one row per day with steps, sleep, heart rate, HRV, workouts and more. It uses the narrow drive.file permission, so the app can only see files it creates. No account with us, no health4.ai server, no subscription.

Power users can send every HealthKit sample to their own Postgres/Supabase database instead, then query it from any MCP client. The setup below is for that option.

Setup: Google Sheet or databaseCompare Apple Health MCP options

# Database option only. 1. Create a free project at supabase.com, then in its
#    SQL editor run https://health4.ai/schema.sql

# 2. Deploy the ingest function (Supabase CLI)
supabase functions deploy healthkit-ingest \
  --project-ref <ref> --no-verify-jwt

# 3. Authentication → Users → add yourself, then sign
#    in from the iOS app with your URL + anon key.
Why Supabase (database option)
✓Free tier — 500 MB storage, no credit card
✓Hosted Postgres — No server to maintain
✓Row-level security — Built-in RLS — your data stays yours
✓Dashboard — Query your health data in a web UI

Database option schema: health4.ai/schema.sql · Supabase only. Not needed for the Google Sheet option.

How it works
📱01

Install the iOS app

Tap to authorize HealthKit. The app syncs new Health data in the background when iOS allows it, and you can sync from the app any time. Background timing is up to iOS.

🗄️02

Pick where it goes

Sign in with Google and the app creates a Sheet in your own Drive. Or connect your own Supabase/Postgres database if you want every sample and a queryable history.

🤖03

Ask Claude / Cursor anything

With a Sheet, share it with your AI assistant. With the database option, the Connect Your AI screen in the app gives you copy-paste MCP config for Claude Desktop, Claude Code, and Cursor. Then ask: "How's my sleep debt this week?" "When was my HRV last above 70?" "Am I ready to train tomorrow?"

Why health4.ai

Works with every AI — not just claude.ai

Claude's native Apple Health connector only works on claude.ai web. health4.ai also works with Claude Code, the Claude API, ChatGPT, Cursor, and any tool that supports MCP.

Your Health history, queryable

The app imports the Health history iOS shares with it. iOS can limit sharing to recent data, and the app warns you when that happens so you can widen access in Settings or the Health app.

Background sync, nothing to export

The app syncs in the background when iOS allows it. Timing is best-effort and decided by iOS, so open the app and tap sync if you need data right now.

Private by design: you own the destination

Your data goes to a Google Sheet in your Drive or to a database you control. There is no health4.ai account and no health4.ai server, so we never receive, store, or sell it.

Get health4.ai

Free, on the App Store now. Sync to a Google Sheet in your own Drive or to your own database; health4.ai never sees your health data.

Download on the App Store

Or explore first:SetupCompareDocs