Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

apple-health-mcp

MCP server by davidmosiah Community

Apple Health MCP is an unofficial, local-first MCP server that reads Apple Health export files and exposes them to AI agents. It is for people who want to discuss activity, sleep, HRV and workout trends without copying numbers by hand. The export stays on your machine.

  • Score 76
  • 4 stars
  • 171 a week
  • MIT
  • Updated

Install apple-health-mcp

Built from the published package, never by AI.

claude mcp add apple-health-mcp -- npx -y apple-health-mcp-unofficial

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install apple-health-mcp in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the apple-health-mcp block.

About

Apple Health MCP is an unofficial, local-first MCP server that reads Apple Health export files, either export.xml, an unzipped folder or export.zip, and exposes the data to AI agents. It covers activity, heart rate, sleep, workouts, body measurements, HRV, breathing rate and ECG metadata. The export is read on your machine, with no tokens, OAuth or cloud sync.

It works over stdio by default, with an optional loopback Streamable HTTP mode. A watch folder can pick up new exports automatically. It is aimed at people who use Claude, Cursor, Hermes, OpenClaw or other MCP-compatible agents to review long-term health and activity trends. It does not provide live HealthKit access.

Written from the project's README and checked against it.

Tools it gives your assistant

  • apple_health_connection_statusVerifies the export path before reading data.
  • apple_health_data_inventoryLists available record types, date coverage, sources and stale export risk.
  • apple_health_daily_summaryReturns a daily wellness brief from export data.
  • apple_health_weekly_summaryGives a weekly comparison and habit signals.
  • apple_health_list_recordsReturns bounded records by type, start, end and limit.
  • apple_health_list_workoutsReturns bounded workouts by start, end and limit.
  • apple_health_reimportRe-scans the watch folder and promotes the newest export.
  • apple_health_capabilitiesLists what the server can do.
  • apple_health_agent_manifestProvides the agent manifest for the connector.
  • apple_health_privacy_auditRuns a privacy audit of the setup.

What you need

  • An Apple Health export from an iPhone (export.zip, export.xml or unzipped folder)
  • Node.js, since the server runs through npx
  • An MCP-compatible client such as Claude Desktop, Cursor or ChatGPT Desktop
SettingNeededWhat it is
APPLE_HEALTH_EXPORT_PATHEnvironment variableOptionalPath to export.xml, an Apple Health export directory, or export.zip.
APPLE_HEALTH_TIMEZONEEnvironment variableOptionalIANA timezone used to interpret daily and weekly local-day summaries.
APPLE_HEALTH_PRIVACY_MODEEnvironment variableOptionalsummary, structured, or raw. Defaults to summary.
APPLE_HEALTH_WATCH_PATHEnvironment variableOptionalOptional folder watched for new Apple Health exports; the newest is auto-promoted and summaries refreshed.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Use apple_health_connection_status to check setup, then run apple_health_daily_summary.
  • Give me a 5-line wellness brief for today from my Apple Health export.
  • Compare my steps, sleep and workouts across the last 7 days.

Good to know

  • Reads exported files only. There is no live HealthKit access.
  • Unofficial project, not affiliated with or endorsed by Apple Inc.
  • In summary mode, a list call reads the whole export.xml, about 33 ms per MB.
  • Raw ECG waveforms require a PDF export.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to apple-health-mcp

All alternatives →
Mirobody thetahealth
96

Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.

AAA Local 1.9k
Ruview ruvnet
94

RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.

AAA Local 106k
tooluniversemims-harvard
90

ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.

AAA Local 1.8k
Mirobody thetahealth
90

Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.

AAA Local 1.9k
Scansci PDF Rimagination
88

ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.

AAA Local 1.3k
Dsh Wensu hui-xu-ai
87

Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.

AAC Local 5k/wk

Compare with Mirobody, Ruview or tooluniverse

apple-health-mcp: common questions

Does my health data leave my computer?

The source says the export never leaves your machine. The connector uses no tokens, OAuth or cloud sync.

Does it read Apple Health live?

No. It reads export files, since Apple does not expose a public live API. A native HealthKit bridge is described as a separate future component.

Which Apple Health data types are supported?

Activity, heart rate, sleep, workouts, body measurements, HRV, breathing rate and ECG metadata are listed. Live HealthKit access and iCloud Health sync are not available.

How do I install apple-health-mcp?

In Claude Code run claude mcp add apple-health-mcp -- npx -y apple-health-mcp-unofficial. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is apple-health-mcp the official server?

apple-health-mcp is a community project by davidmosiah, not verified by a company domain.

Is apple-health-mcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is apple-health-mcp safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to apple-health-mcp?

Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.

Does apple-health-mcp work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

apple-health-mcp Install

Add to stack

Loading.