Apple Health MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Apple Health MCPHow many steps did I take yesterday and what was my sleep like?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
apple-health-mcp
An MCP server for Apple Health data. Reads daily health metrics and workouts exported by the Health Auto Export iOS app.
Features
MCP Server: 3 tools for querying Apple Health data from Claude Code or any MCP client
No API keys needed: Reads local CSV files exported by Health Auto Export to iCloud Drive
Comprehensive: Steps, HR, HRV, SpO2, sleep stages, body composition, workouts
Related MCP server: Apple Health MCP
MCP Tools
Tool | Description |
| Daily summary: steps, energy, HR, HRV, sleep stages, body comp, workouts |
| Workout sessions for a date (type, duration, HR, calories, distance) |
| Multi-day trends for steps, HR, HRV, sleep, weight |
Setup
1. Set up Health Auto Export on iPhone
This MCP server reads CSV files produced by Health Auto Export, a third-party iOS app that automatically exports Apple Health data to iCloud Drive. The app runs in the background and syncs new data throughout the day.
Install Health Auto Export from the App Store
Open the app and grant it access to Apple Health data when prompted
Go to Automations and create two automations:
Daily Metrics: Select the health metrics you want (steps, heart rate, sleep, etc.), set format to CSV, frequency to Daily, and destination to iCloud Drive
Workouts: Select workout data, set format to CSV, frequency to Daily, and destination to iCloud Drive
The app will export CSV files to iCloud Drive, which syncs automatically to your Mac at:
~/Library/Mobile Documents/iCloud~com~ifunography~HealthExport/Documents/Verify the files are syncing by checking that the directory contains
Daily Export/andWorkouts/folders with dated CSV files
2. Install
git clone https://github.com/daveremy/apple-health-mcp.git
cd apple-health-mcp
npm install
npm run build3. Use as MCP Server
Add to your Claude Code project's .mcp.json:
{
"mcpServers": {
"apple-health": {
"type": "stdio",
"command": "node",
"args": ["/path/to/apple-health-mcp/dist/mcp.js"]
}
}
}Or register with the Claude CLI:
claude mcp add apple-health --scope project -- node /path/to/apple-health-mcp/dist/mcp.jsCustom Export Directory
If your Health Auto Export saves to a different location, set the environment variable:
{
"env": {
"APPLE_HEALTH_EXPORT_DIR": "/path/to/your/export/directory"
}
}Data Format
The server expects the CSV file structure produced by Health Auto Export:
Documents/
Daily Export/
HealthMetrics-YYYY-MM-DD.csv
Workouts/
Workouts-YYYY-MM-DD.csvRequirements
Node.js 18+
macOS (for iCloud Drive access)
Health Auto Export iOS app
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables querying health data from the Health Auto Export app on iPhone/iPad via MCP, allowing LLMs like Claude to access and analyze personal health metrics.659MIT
- AlicenseAqualityAmaintenanceLocal-first MCP server that reads Apple Health export files (export.xml/zip) and exposes activity, sleep, HRV, and workout data to AI agents, keeping all data on your machine.181711MIT
- FlicenseBqualityDmaintenanceEnables Claude to answer natural language questions about your Apple Health data by analyzing local CSV exports, supporting metrics like steps, heart rate, sleep, and more.62
- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to query Apple Health data (190+ metrics) in natural language, including trends, comparisons, and structured exports.72882MIT
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
63 tools for Apple Health, Fitbit, Oura & Health Connect data in Claude, ChatGPT, Grok & Mistral.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daveremy/apple-health-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server