Skip to article
← All articles

Health & fitness · Connection guide

Apple Health MCP Servers: Which Connection Should You Use?

Compare Apple Health MCP servers, iPhone apps and official ChatGPT and Claude connections. Check export formats, privacy, sync delays and setup steps.

Choose an iPhone connection or the right export format before installing a server.
AI-generated editorial cover
On this page

Apple Health MCP needs an iPhone app, an export file or a Shortcut to move data out of the phone; there is no public Apple Health cloud API to connect directly. Choose an official iOS connection when eligible, a local server for exported history, or an app-backed bridge for ongoing reviews.

Which Apple Health connection fits your question?

What you wantRoute to useWhat reaches the AIWhat you must check
Ask one assistant about recent health recordsOfficial ChatGPT Health or Claude iOS HealthCategories you permit on iPhoneAccount, country and plan eligibility
Query the native Apple exportvpetersson XML-to-DuckDB MCPSelected results from a local imported databaseExport date, file location and client transport
Query a supported CSV exportneiltron CSV-to-DuckDB MCPQuery results from local CSV filesExporter layout; native XML is not supported
Operate your own ongoing pipelineOpen Wearables or Mibly companion-app routePhone uploads, then MCP query resultsHosting, phone permissions and network boundaries
Reuse structured records across assistantsSaveSlot iPhone import and separately authorized agentsRecords in the destination SlotAllowed categories and dates actually imported

An Apple Health MCP server is a bridge that exposes imported Health records as tools an AI client can call. MCP standardizes those tool calls; it does not grant permission to the phone or create measurements that the original apps never recorded. Pick the ingestion route first. Otherwise, a successful server installation can leave you with an empty database and no explanation.

This is a documentation comparison, checked November 20, 2026, rather than a real-account benchmark. For the broader decision between occasional uploads and ongoing records, see our health-data workflow comparison. A one-time question rarely needs a permanently running service.

Why can a desktop server not read Apple Health directly?

Apple’s HealthKit privacy documentation says the HealthKit store resides on the device and requires permission for each data type. Apple does not offer a public server-side API for downloading a person’s Health store with an Apple Account login. iCloud synchronization between Apple devices is a different feature; it does not provide an OAuth endpoint for an arbitrary MCP server.

The practical boundary is the phone. A native app can request HealthKit access; a Shortcut can prepare a selected summary; an export can carry a snapshot to another machine. A browser or remote MCP endpoint needs one of those routes upstream. Never enter your Apple Account password into a community server expecting it to access Health data.

Reading and writing are separate permissions. An analysis app may need sleep and workout reads without permission to add or change records. Start with the categories needed for your question. If a category is absent, inspect the iPhone settings: HealthKit deliberately does not tell an app whether read access was denied, so an empty result cannot prove that no measurement exists.

Can ChatGPT or Claude connect without a community MCP server?

Yes, for eligible users. OpenAI’s current Health help page documents Apple Health connection through the ChatGPT iPhone app. As checked November 20, 2026, it lists eligible logged-in Free, Go, Plus and Pro users in the US; rollout and account availability can vary. Select Health, add Apple Health in Accounts, and review the categories on the phone. This is a native product connection, not an Apple-hosted MCP endpoint.

The same date’s Claude iOS help page describes Health as a US-only beta for Pro, Max and Ultra plans. Ask a health-data question in the iOS app, then approve the requested Health types. Anthropic documents read access rather than writing or modifying Health entries. The connection is useful when your review stays inside that assistant; it is not evidence that Claude Desktop can directly query your phone.

Prefer these routes if you use one supported assistant and do not need your own ingestion service. Check the official pages again before buying a subscription for this purpose. A friend seeing a Health button does not establish availability for your country or account. When the feature is unavailable, a carefully scoped export is a reasonable fallback rather than a reason to expose a local server publicly.

Which MCP server reads the native export.xml file?

vpetersson/apple-health-mcp-server imports Apple’s native export into a local DuckDB database. The MIT repository was not archived and its latest default-branch commit was in November 2026 when checked on November 20. Its README documents read-only query tools, including record types, workouts, sources and import history. Those are software capabilities, not independent clinical validation.

Create the archive in Health using the profile menu’s Export All Health Data option, described in Apple’s export instructions. Transfer it privately and extract it. The imported directory must contain export.xml; keep that directory separate from unrelated personal files. The following import and stdio launch commands come from the project README. Install a reviewed upstream release first:

apple-health-mcp import --export-dir /absolute/path/to/apple_health_export
apple-health-mcp serve --transport stdio

Use stdio when your client starts the process on your computer. The project also offers Streamable HTTP, but an HTTP transport does not make a laptop reachable from a cloud assistant. Loopback belongs to the machine making the request. Remote use needs a deliberately configured reachable service and access controls, not just a pasted localhost address.

Choose this project when you already have the native XML archive and want repeatable database queries. Ask for the most recent imported record and import history before asking about “today.” Re-importing can refresh a snapshot, but a local server cannot fetch records that have not left the iPhone. Keep original exports only as long as your workflow needs them.

Why does another Apple Health MCP server reject my XML?

neiltron/apple-health-mcp supports CSV files produced by Simple Health Export CSV, not Apple’s native export.xml. The MIT repository was not archived, with an October 2026 default-branch commit at the November 20 check. Its README requires Node.js 22 or newer and documents schema discovery, analytical queries and reports over an in-memory DuckDB database.

Use the documented exporter on the iPhone, transfer and unzip its archive, then point HEALTH_DATA_DIR at the resulting CSV directory. Here is the upstream Claude Desktop configuration with a placeholder path. Review the package before running it and restart the client after editing its configuration:

{
  "mcpServers": {
    "apple-health": {
      "command": "npx",
      "args": [
        "-y",
        "@neiltron/apple-health-mcp"
      ],
      "env": {
        "HEALTH_DATA_DIR": "/absolute/path/to/health-csv-export"
      }
    }
  }
}

Start with health_schema rather than guessing table names. Then request a small date range and the units for each returned measurement. The project’s local process reads files without uploading the archive, but results handed to your AI client may reach its configured model provider. “Local MCP” describes the server location, not the full privacy policy of the conversation.

This route fits someone comfortable with its exporter and SQL-style analysis. Choose an XML-capable importer if you want to avoid a separate CSV layout. Do not rename export.xml to a CSV filename or assume all projects with “Apple Health MCP” in their name accept interchangeable inputs. Format compatibility is a setup requirement, not a minor implementation detail.

Which projects support a companion iPhone app?

Momentum’s original Apple Health MCP repository now directs readers to Open Wearables. The original remains unarchived with a July 2026 default-branch commit; the newer platform has November 2026 commits. Both repositories list MIT licenses. The newer route uses mobile SDK uploads and offers a companion demo app, plus an MCP server over the resulting records.

Open Wearables fits a developer operating a broader health-data service. Its backend, database, provider setup and mobile enrollment are real responsibilities. The current README says demo iOS TestFlight and Android builds are available on request; that is different from assuming a universally available production app. Review its current deployment and app instructions before selecting it for a personal weekend experiment.

Mibly’s open-source receiver offers another app-backed design: its iPhone app reads HealthKit and uploads to a receiver on a machine you control. The MIT receiver had November 2026 commits and was not archived at our check. Its README describes encrypted local storage and pairing-token authentication, but also says local-mode traffic uses plain HTTP on your LAN. Do not equate encrypted storage with encrypted transport.

For either design, review phone-to-receiver delivery separately from receiver-to-assistant access. Ask where credentials live, how to rotate them, and what happens if the phone stops sending. A companion app removes repeated manual exports, but it still depends on Health permissions, source-app writes and mobile background scheduling. Commit recency alone does not establish a service-level commitment or a completed security review.

What about a Mac app with a local MCP wrapper?

The Health Data AI Analyzer MCP guide describes another export-based route: import an Apple Health export into its Mac app, then connect the local health-analyzer-mcp package to the app’s loopback API. It documents token-gated read tools. This is a Mac companion for an exported snapshot, not a server reading HealthKit directly from the iPhone.

The guide explicitly distinguishes redesigned test-build previews from its released app. Check which interface your installed version provides before following a screenshot. Choose this route if you prefer a desktop importer over managing a database directly, while still reviewing both the app and wrapper. The wrapper’s open-source license does not establish the app’s commercial terms.

How does the shared-record route work?

The documented SaveSlot Apple Health route starts with its iPhone app on the phone holding the records. Open Data sources, select Apple Health, allow the read categories you want, and keep the app open until the first import finishes. Then separately authorize your AI client to read the destination Slot.

The repository lists sleep, available activity and workouts, and permitted body and heart-rate records. It describes later updates as scheduled by iOS and advises reopening the original source app and then the importer when records are delayed. It does not establish a fixed background interval, a guaranteed historical range, or complete support for every HealthKit type. Those claims are intentionally absent here.

This makes sense when you want the same structured records across assistants; follow the Apple Health and ChatGPT guide and review Claude connection options for the client side. A native official connection or a file upload is better when you only want one review inside one assistant. No extra state service is necessary for that job.

How do you check that the answer uses the right records?

Validate a small slice before requesting a sweeping health explanation. Choose a completed day you can inspect in Health, compare the original source and timestamps, and ask the assistant to list any missing categories. A persuasive trend summary is not a substitute for checking the underlying rows. Treat this as a data review, not a diagnosis.

  1. Check the export or sync time against the newest record. A recent connection time can accompany an old export.
  2. Keep source app and device identity. A run can appear through both a watch integration and a separate training app.
  3. Use the same local timezone and day boundary. Sleep often spans midnight; date labels need an explicit convention.
  4. Preserve missing values as unknown. An absent heart-rate sample is not a pulse of zero.
  5. Compare an aggregate against the source screen before extending the date range. Explain any difference rather than silently selecting the nicer number.

If you also import a watch service, our Garmin MCP guide explains alternative source routes. Keep a human note with a correction when devices disagree. Our Fitness Log template is an example of organizing ongoing reviews, rather than evidence that every connected source exports identical metrics.

What should you ask after connecting Apple Health?

These are example prompts, not reports from a real user. Adapt the dates and categories to the records you actually imported. Ask for evidence before interpretation, then compare patterns without treating correlations as explanations of symptoms.

List my available Health record types, units, sources and earliest/latest dates. Do not infer that an empty category is a zero.
Summarize my recorded sleep for the last completed week in my local timezone. Show missing nights and distinguish time asleep from time in bed.
Compare last week’s workouts by start time, duration and source. Flag likely duplicates before adding totals.
Show daily steps by source and explain how you avoid double counting overlapping devices.
Compare resting heart-rate records across completed weeks. Report measurement coverage and avoid diagnosing the change.
Show my recorded weight trend with dates and units. Keep manual entries distinguishable from scale entries.
Which records arrived after the last review? Cite their source timestamps and the latest import time.
Prepare a factual summary I can discuss with a clinician. Separate measured values, my notes and your hypotheses.

Apple Health MCP: common setup questions

Can I connect Apple Health to ChatGPT directly?

Eligible users can use the native Apple Health connection in the ChatGPT iPhone app. Check the current Health help page for account and country availability. This is different from installing a community MCP server. If you cannot access the feature, use a selected export or another documented phone-side bridge.

Can Claude read Apple Health?

Claude documents an iOS Health beta with permission-based reading for eligible US subscribers. It does not make your iPhone Health store directly available to every Claude client. For a desktop workflow, use an exported database or a companion-app pipeline, then connect a client that supports that server’s transport.

Why does uploading export.xml seem to hang?

A full Health export can be awkward for a chat upload. A database importer lets you query a selected period instead of asking the model to read the whole archive. Confirm that your chosen project accepts XML: the neiltron server expects a particular CSV export and cannot use the native XML directly.

Do I need an Apple Watch?

An Apple Watch is not a universal prerequisite. Health can contain records from the iPhone, other apps, compatible devices and manual entries. What matters is whether the specific category exists in your Health store and whether the bridge has permission to read it. Do not assume every phone contains sleep stages or HRV.

Does a local server keep everything off the internet?

A local server can keep the archive and database on your machine, but the assistant may send tool results to its model provider. Review both parts of the route. Return only the dates and fields needed for the question, and inspect logs and downloaded files as well as the database.

Why is my newest workout missing?

Check whether the source app has written the workout into Health, then whether the bridge has read permission and has imported again. An export remains a snapshot until replaced or re-imported. For an app-backed route, reopen the source app and bridge and compare actual record dates, rather than relying on a Connected label.

Sources & notes

Check the linked official documentation for current product behavior. Illustrations and downloadable examples use fictional data; they do not demonstrate a live account connection or write.

Revision history

  • : Published a source-checked guide to native connections, export formats and app-backed MCP routes.

Prepared by Jasper with AI-assisted drafting and illustrations. Health content concerns record organization and has not undergone clinical review.

Keep exploring

All articlesLast updated