Apple Health Shortcuts MCP
Provides tools to read Apple Health data, including current status, detailed sleep and health metrics, 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 MCPWhat's my current health status?"
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
把 Apple 健康数据变成 AI 可以只读查看的 3 个工具。
这是一个独立、从零编写的开源小项目。它不依赖付费健康导出 App,也不属于任何聊天软件或角色平台。
只用手机一键部署
默认时区是中国 Asia/Shanghai。Cloudflare 会自动创建数据库,不需要电脑、终端、数据库编号或改代码。
Related MCP server: apple-health-shortcuts-mcp
它像什么?
Apple Watch
↓ 自动同步
iPhone 的“健康”
↓ 快捷指令抄一份
你自己的 Cloudflare 小仓库
↓ 只有拿着 AI 钥匙才能看
支持 HTTP MCP 的 AIAI 只会看到三个工具:
health_now:最近状态、今天活动、最近一晚睡眠。health_detail:某晚睡眠或某项指标的明细。health_trends:最近 7、14 或 30 天的变化。
没有“修改健康数据”“删除数据”“远程命令手表”等工具。
从哪里开始?
请优先阅读:
需要命令行排错时,再看电脑高级版教程。
项目里的东西
src/index.ts:独立 Worker 与 MCP 代码。GUIDE-MOBILE.zh-CN.md:默认推荐的手机教程。schema.sql:健康数据的小抽屉。migrations/:一键部署时自动建立数据表。wrangler.toml:Cloudflare 项目设置。scripts/make-keys.mjs:生成两把私人钥匙。examples/:不含真人信息的虚构示例。SECURITY.md:保护隐私的注意事项。
开发者自检
npm install
npm test
npm run check许可证与声明
代码使用 MIT License,可学习、修改和分享,但请保留许可证。
本项目只整理用户主动授权上传的数据,不提供医疗诊断,不适合急救。Apple、Apple Health、Apple Watch、iPhone 是其各自权利人的商标,本项目与 Apple 无隶属或背书关系。
Related MCP Connectors
- SomviaOAuthapp.somvia
Apple Health training load, recovery, HRV and workout detail for Claude, ChatGPT and any MCP client.
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
Read wearables and lab health data — sleep, activity, workouts, timeseries, lab tests and orders.
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Related MCP Servers
- 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 gradedqualityCmaintenanceRead-only MCP server for Apple Health data, exposing tools to query current health stats, sleep/health details, and trends over 7, 14, or 30 days.MIT
- AlicenseNot gradedqualityCmaintenanceExposes Apple Health data as three read-only MCP tools (now, detail, trends) for AI to query health metrics, sleep, and trends via HTTP.MIT