Apple Health × Model Context Protocol

Your Apple Health data, queryable by any agent.

Somvia turns the measurements you choose into a private remote Apple Health MCP server. Your agent asks for the relevant dates and workout detail—without another XML export or a Mac left running.

What an Apple Health MCP server does

Apple Health stores data on your iPhone. An MCP server gives a compatible AI client a standard set of tools for reading that data. Instead of pasting a screenshot or uploading one giant file, the client can ask for a bounded date range, list the available workout sessions, and fetch a deeper series only when the question needs it.

Somvia separates the two jobs: the iPhone app handles Health authorization and syncing; the hosted MCP endpoint answers authenticated, read-only tool calls. The endpoint is https://somvia.app/mcp.

The useful distinction is depth, not “AI health” in general. Daily totals can answer “how many steps?” Training questions often need the session underneath them: intervals, splits, heart-rate shape, speed, power, or cadence.

How the remote MCP flow works

  1. Choose what Somvia may read

    Install Somvia on iPhone, sign in with Apple, and authorize only the Apple Health categories you want to share.

  2. Sync the history you need

    Choose how far back the first sync reads daily measurements: 7, 30, 90, or 180 days. Workout sessions and available detail series go back 180 days. New data keeps syncing after that and stays on the server until you delete it.

  3. Connect your MCP client

    GUI clients can use OAuth and Sign in with Apple. Headless or autonomous agents can use the private som_ access token shown in the app.

  4. Ask from the agent you already use

    The agent discovers Somvia's tools and fetches only the structured data required for the answer. It answers with the model you selected in it, so you can use the strongest model you have, and that model only changes when you change it. Somvia runs no model of its own.

Remote MCP, local MCP, or export?

ApproachGood fitTrade-off
XML or CSV exportOne-off archival analysis and tools that ingest a complete fileManual, often large, and quickly becomes stale
Local MCP serverUsers who want processing tied to their own computerA machine and local server must remain available to the client
Somvia remote MCPAutomatic sync and access from multiple agents or devicesSelected data is stored on Somvia's managed cloud service until you delete it

No option is universally best. Somvia is designed for people who value a continuously available endpoint and structured workout depth more than an entirely device-local workflow.

Apple Health MCP servers compared

Each row below comes from the product's own website, documentation or GitHub README, checked on October 19, 2026. Prices are US list prices.

ProductHow data arrivesServer and sign-inWorkout detail and scoresPrice
SomviaiPhone app syncs the Health categories you select to your Somvia accountHosted, Streamable HTTP. Sign in with Apple over OAuth, or an app-issued token for agents without a browserSplits, and heart-rate, speed, route, power and cadence series when Apple Health recorded them. Recovery score, training load, threshold pace and race predictionsPro from $4.99 a month, with annual and lifetime options
HealthAPIiPhone app uploads your history, then syncs in the backgroundHosted, Streamable HTTP. OAuth approved on the iPhone, or an API keyRaw samples at full resolution, such as heart rate during a run, up to 31 days per request. No computed scores listedPro $4.99 a month (100 requests a day), Developer $9.99 a month
AthleteDataiOS app in TestFlight beta. Apple Health is one of more than 30 sourcesHosted. OAuth, or a keyed URLLaps, per-kilometer splits on some runs, heart rate, cadence and pace every 10 to 25 seconds, no route. CTL, ATL, TSB and training loadMCP plan $9 a month or $69 a year, coaching $39 a month
AttuneiPhone app syncs Apple Health dailyHosted, Streamable HTTP. Bearer token, and Claude Desktop connects through mcp-remoteHRV, sleep, heart rate, workouts and weight, with a readiness scorePro $1.99 a month
Wellness ProjectiPhone app reads Apple HealthHosted, listed in Claude's connector directory. OAuthWorkouts, sleep stages, resting heart rate, HRV, body metrics and labs, as daily rows with baselines and trendsPro $9.99 a month
HealthKiteReads HealthKit live from the iPhone at query time, with no cloud copyLocal stdio server on your computer. The iPhone app must stay in the foreground on the same Wi-Fi. Pairing secretIndividual samples, including a workout's heart-rate series. No computed scores listedFree
MetricBridge (health-export-mcp)iPhone app exports 190 metrics to iCloud Drive, a synced folder or your local networkLocal stdio server. Optional pairing codeOne summary per workout, with no individual samples and no routes. Trends and period comparisonsMCP server free, app $24.99 one-time
vpetersson/apple-health-mcp-serverManual Apple Health export, imported into DuckDBLocal, Streamable HTTP or stdioWorkout statistics, GPS routes, ECG waveforms and custom SQL. No computed scoresFree, MIT license
Open Wearables (Momentum)Self-hosted platform. Apple Health through its iOS SDK or an XML uploadYour own backend, with a local MCP serverDaily summaries, workouts and intraday heart rateFree, MIT license, self-hosted

How to choose

  • Nothing may leave your devices: HealthKite reads the iPhone live over your local network. vpetersson's server and MetricBridge keep the data in files you control.
  • Claude on the web, ChatGPT, or an agent on a server: these clients reach a hosted server over the internet without a computer left running. Somvia, HealthAPI, AthleteData, Attune and Wellness Project are hosted.
  • The agent should read training scores: Somvia calculates recovery, training load, threshold pace and race predictions on the iPhone. AthleteData calculates CTL, ATL and TSB.
  • You only use the ChatGPT or Claude app in the US: both now read Apple Health directly. See the ChatGPT and Claude guides for when that is enough.

What an agent can query

LayerExamplesWhy it matters
Daily measurementsSleep, HRV, resting heart rate, steps, active energyTrend and cross-metric questions
Workout summaryActivity, duration, distance, pace, energy, splitsCompare sessions without loading every sample
Workout seriesHeart rate, speed, route, power, cadence, stroke rateAnalyze intervals, effort shape, pacing, and recovery

The exact fields depend on what Apple Health recorded and what you selected. Somvia never invents a missing series, and it does not write to Apple Health.

Connect the client you use

Questions worth asking

  • Compare my last four interval runs. Did pace improve at a similar heart rate?
  • How did sleep duration and HRV change on the nights before my strongest workouts?
  • Show the pacing and heart-rate drift across my long runs this month.
  • Which training days were followed by a lower resting heart rate instead of a higher one?

These are personal fitness and wellness questions, not medical diagnosis. Use qualified medical care for symptoms, treatment, or clinical decisions.

Frequently asked questions

What is an Apple Health MCP server?

It is a bridge that exposes authorized Apple Health measurements as structured, read-only tools using the Model Context Protocol. A compatible AI client can request only the dates and detail needed for a question.

Does Somvia require an Apple Health XML export?

No. The Somvia iPhone app reads the Health categories you authorize and syncs the selected history to a private remote MCP endpoint.

Which Apple Health MCP server should I use?

If nothing may leave your own devices, use a local server such as HealthKite or a server that reads an Apple Health export. If you want Claude on the web, ChatGPT, or an agent on another machine to reach your data without a computer left running, use a hosted server such as Somvia, HealthAPI or AthleteData. Somvia also gives the agent a recovery score, training load, threshold pace and race predictions calculated from your history.

Which AI clients can connect?

Somvia uses standard Streamable HTTP MCP. OAuth-capable clients can sign in with Apple, while clients that connect with a key, such as Hermes, OpenClaw, Grok and Muse, can use an app-issued bearer token.