apple-health-shortcuts-mcp
Provides read-only access to Apple Health data, including current status, daily activity, sleep details, and trends over 7, 14, or 30 days.
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 me my activity and sleep trends for the last 7 days."
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
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
Hosted MCP server for the Healthie EHR & telehealth API: patients, appointments, charting, tasks.
- SomviaOAuthapp.somvia
Apple Health training load, recovery, HRV and workout detail for Claude, ChatGPT and any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceRead-only MCP server that exposes Apple Health data (steps, workouts, sleep, etc.) from a local SQLite store, allowing AI agents to query health metrics without sending data to hosted services.7Apache 2.0
- AlicenseNot gradedqualityCmaintenanceExposes Apple Health data as read-only tools for AI via HTTP MCP. Provides three tools: health_now, health_detail, and health_trends.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that gives AI read-only access to Apple Health data through shortcuts and Cloudflare, enabling queries of current stats, detailed records, and trends.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