apple-health-shortcuts-mcp
Provides read-only access to Apple Health data, including current status, sleep details, and trends over time.
Click on "Deploy 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-shortcuts-mcpshow my sleep details for last night"
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 Shortcuts MCP
Turn Apple Health data into 3 tools that AI can view read-only.
This is an independent, from-scratch open-source project. It doesn't rely on paid health export apps, nor does it belong to any chat software or character platform.
One-click deployment using only your phone
The default timezone is China Asia/Shanghai. Cloudflare will automatically create the database; no computer, terminal, database ID, or code changes are needed.
Related MCP server: apple-health-shortcuts-mcp
What is it like?
Apple Watch
↓ 自动同步
iPhone 的“健康”
↓ 快捷指令抄一份
你自己的 Cloudflare 小仓库
↓ 只有拿着 AI 钥匙才能看
支持 HTTP MCP 的 AIAI will only see three tools:
health_now: recent status, today's activity, and last night's sleep.health_detail: details of a specific night's sleep or a specific metric.health_trends: changes over the last 7, 14, or 30 days.
There are no tools like "modify health data", "delete data", or "remotely command the watch".
Where to start?
Please read first:
When you need to troubleshoot from the command line, also see the advanced computer tutorial.
What's in the project
src/index.ts: standalone Worker and MCP code.GUIDE-MOBILE.zh-CN.md: the default recommended mobile tutorial.schema.sql: a small drawer for health data.migrations/: automatically creates data tables during one-click deployment.wrangler.toml: Cloudflare project settings.scripts/make-keys.mjs: generates two private keys.examples/: fictional examples with no real personal information.SECURITY.md: privacy protection notes.
Developer self-check
npm install
npm test
npm run checkLicense and disclaimer
The code is under the MIT License; you may study, modify, and share it, but please keep the license.
This project only organizes data that users have explicitly authorized to upload; it does not provide medical diagnosis and is not suitable for emergencies. Apple, Apple Health, Apple Watch, and iPhone are trademarks of their respective owners; this project has no affiliation with or endorsement from Apple.
Related MCP Connectors
- SomviaOAuthapp.somvia
Private Apple Health metrics and workout detail for ChatGPT, Claude, and any MCP client.
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
Collect Apple Health data from your wearables through the Context app and query it via MCP
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Cloudflare Workers MCP server that allows AI to read-only access Apple Health data (current status, sleep details, trends) via shortcuts without modifying or deleting data.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides read-only access to Apple Health data via three tools (health_now, health_detail, health_trends), letting AI assistants query recent activity, sleep, and trends securely through a Cloudflare-deployed API.1MIT
- AlicenseNot gradedqualityCmaintenanceExposes Apple Health data as three read-only MCP tools (current status, details, trends) via a Cloudflare Worker, enabling AI assistants to view health metrics without modification.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to read-only access Apple Health data through three tools: current status and sleep, detailed metrics, and 7/14/30-day trends, deployed via one-click on Cloudflare with private-key authentication.MIT