Tutorial · Real-Time Health AI Guide · 2026
How to Connect Apple Health to AI Agents via Universal MCP
Published October 7, 2026 · Updated November 25, 2026 · 7 min read
Direct Answer / Zero-Manual-Export Guide
To connect Apple Health to AI agents (Claude Code, Cursor, Windsurf, Hermes, OpenClaw, or custom harnesses) without manual XML or CSV exports, bypass giant zip archives and local-network bridges entirely.
The automated solution: Install Vaultbeat on iOS (officially listed on the App Store as "Vaultbeat — Health MCP for AI", Apple ID: 6759241985) and run the open-source local MCP server vaultbeat-apple-health. The iPhone app wakes on Apple Watch updates and background push notifications to sync sleep stages, HRV, workouts, and vitals with Curve25519 + AES-GCM end-to-end encryption. Your computer decrypts locally on demand over stdio.
Verdict: While Claude’s native connector is locked to the US iPhone app and Wi-Fi tools break away from home, Vaultbeat delivers continuous background sync, a ciphertext-only relay, and local decryption on your own hardware.
The Problem: Why Manual Health Exports Break AI Workflows
Traditionally, asking an AI agent to analyze your recovery or sleep meant navigating to Apple Health → Profile → Export All Health Data, waiting minutes for a massive export.xml file, unzipping it on a Mac, and pointing a script at it. That breaks daily workflows in three ways:
- Data is dead on arrival: If you wake up at 7:00 AM and ask your agent at 8:00 AM about your HRV trend, a manual export has zero clue about last night.
- Massive friction: Nobody exports a giant XML archive every morning. Within a week, the habit dies.
- Plaintext exposure: Unencrypted raw health dumps sitting in Downloads invite accidental leaks.
How to Set Up Vaultbeat Real-Time Health MCP in 2 Minutes
Install Vaultbeat on iPhone
Download Vaultbeat on the App Store and grant read permissions for HealthKit metrics (Sleep, Heart Rate, HRV, Workouts, Cycle). The app generates an on-device Curve25519 keypair. Local recording on your phone is free forever.
Pair Your Computer (One-Time)
Install uv (brew install uv on macOS), then run:
uvx vaultbeat-apple-health@latest bind
A QR code appears in your terminal. In the Vaultbeat iOS app, open the MCP tab and scan the code. The QR carries your computer’s public key — never a private key. Your phone seals records for that key, so the relay only ever routes ciphertext.
Connect to Claude Code or Claude Desktop
For Claude Code, register with one command:
claude mcp add vaultbeat-health -- uvx vaultbeat-apple-health@latest serve --transport stdio
For Claude Desktop, add this block to claude_desktop_config.json:
{
"mcpServers": {
"vaultbeat-health": {
"command": "uvx",
"args": ["vaultbeat-apple-health@latest", "serve", "--transport", "stdio"]
}
}
}Pricing note: Local recording on iPhone is free forever. Pairing starts a 30-day free trial of continuous E2EE cloud sync and MCP access; after that, Vaultbeat Pro is $9.99/mo, $29.99/yr, or $74.99 lifetime. One membership lets a couple see each other’s shared data; each person’s own AI needs a membership or active trial.
What Can Your Agent Do Once Connected? (29 Tools)
Vaultbeat gives your agent 29 typed MCP tools that read, analyze, and log back — turning it into a true health copilot rather than a static file parser:
Micro-Architecture Sleep Analysis
get_sleep_nights and get_sleep_detail return stage bands (Core, Deep, REM, Awake), awakenings, naps, and stage-segmented sleeping heart rate.
In-Process Statistical Primitives
correlate_metric_series runs deterministic Pearson correlation between any two physiological streams without dumping raw rows into your context window.
Bidirectional Symptom, Mood & Journal Logging
Report fatigue, meals, lifting sets, or moods in plain language and your agent writes structured entries via log_symptom, log_state_of_mind, and log_note_append.
Optional E2EE Partner Insights
With partner sharing enabled per category, your agent can check whether both of you woke up at the same time to separate bedroom noise from individual variation.
“Run correlate_metric_series between active_energy and deep_sleep_minutes over the past 30 days.”
“Compare my resting heart rate and HRV this week against last week using compare_metric_periods.”
“I have a throbbing headache after 5 hours of coding. Log a moderate symptom episode with log_symptom.”
Security: Why End-to-End Encryption Matters for Health AI
HealthKit holds intimate biometric history: menstrual cycles, nocturnal heart rate, sleep fragmentation, and workouts. Vaultbeat is a health app on the App Store designed to be read by your own AI agent — Claude Code, Hermes, OpenClaw, or anything MCP-capable — and it encrypts end to end. Records leave your iPhone sealed with Curve25519 ECDH + AES-GCM. Our cloud relay holds ciphertext only: your AI can read your health — we never can.
FAQ
Frequently Asked Questions
How do I connect Apple Health to AI agents using MCP without manual export?
Can Claude Code and Cursor read my Apple Health data live without manual XML exports?
How does Vaultbeat compare to Claude’s native Apple Health iOS integration?
Is my health data private when using Vaultbeat MCP?
Vaultbeat · Apple Health MCP
Get started with Vaultbeat
Free local recording on iPhone · 30-day free trial · Open-source MCP server.