Free download · Coming to App Store

Your Apple Health data. For AI.

Download the app. Ask Claude about your sleep, recovery, and fitness in plain language. health4.ai connects Apple Health to Claude, ChatGPT, Cursor, and any AI — no setup required.

What it looks like in Claude Code

# claude_desktop_config.json

  "mcpServers": 
    "health4ai": 
      "command": "npx",
      "args": ["health4ai-mcp"],
      "env": "HEALTH4AI_TOKEN": "your-token" 
    
  


# Claude Code can now call:
get_sleep_last_night()       → HRV, deep sleep, duration
get_activity_today()          → steps, active cal, exercise min
query_health_metric(metric, start, end)  → raw time series

How it works

01

Install the iOS app

One tap to authorize HealthKit. Background sync starts immediately — HKObserverQuery + BGProcessingTask, not a manual export.

02

Data goes to the cloud

Every sample syncs to Supabase. Decade of history on day one. Queryable from anywhere — not just your home network.

03

AI reads your health

Connect the MCP server to Claude Code, n8n, or any MCP client. Your agent now has native health tool calls.

Why health4.ai

Works with Claude Code

Anthropic's native Apple Health connector only works on claude.ai web. Claude Code, Codex, Cursor, and API-based agents get nothing. We fix that.

Reliable background sync

Health Auto Export requires your phone to be awake. We use the correct iOS architecture (HKObserverQuery) — sync happens whether you open the app or not.

Nothing to set up

Download from the App Store, tap to connect HealthKit, and you're done. No server, no config files, no developer account required.

Privacy-first

Big tech health AI is opaque about data use. health4.ai routes your data to your own endpoint. We can't read it.

Pricing

Free

Free download on the App Store. Always.

How we compare

Feature health4.ai Health Auto Export claude.ai native Manual XML export
Works remotely ✓ Any network ✗ Same WiFi only ✓ Web only ✗ Manual
Claude Code / API
MCP server ✓ local only
Continuous sync ✓ Background ✗ Manual
Price Free $30 one-time Requires claude.ai Plus Free

Frequently asked

How do I give Claude Code access to my Apple Health data?
Install the health4.ai iOS app to sync your HealthKit data to Supabase, then run the health4.ai MCP server locally. Add it to your claude_desktop_config.json and Claude gets native tool calls for sleep, HRV, steps, workouts, and any other HealthKit metric. No local network required — works from anywhere.
Does Apple HealthKit have a server-side API?
No. Apple only allows HealthKit access from on-device iOS code — there is no REST API or cloud webhook. health4.ai works around this by running a sync engine inside an iOS app (HKObserverQuery + BGProcessingTask) that continuously pushes data to your own Supabase database.
What's the difference between health4.ai and Health Auto Export?
Health Auto Export is a $30 closed-source app; its MCP server only works over local WiFi. health4.ai is free, stores data in the cloud (accessible from anywhere), and is built specifically for AI agent integration rather than dashboard visualization.
What MCP tools does health4.ai expose?
Eight tools: get_health_summary, get_sleep, get_hrv_trend, get_daily_snapshot, get_workouts, query_metric (any HKQuantityType by identifier), get_long_term_trend, and get_coaching_brief. All return structured JSON. query_metric accepts any HealthKit type identifier.
Is my health data private?
Yes. Your health data syncs to a private cloud database we provision for you — no one else can query it. We do not sell, share, or analyze your health data. health4.ai is not a medical device.
What HealthKit metrics does it sync?
All of them. The app enumerates HKSampleTypes dynamically: steps, heart rate, HRV (SDNN), resting HR, VO2 max, sleep stages, active/basal energy, workouts, weight, and any third-party data written to HealthKit (Oura, Garmin, etc.).

More questions? Open a GitHub Discussion →

Get notified at App Store launch

No spam. One email when it's ready.