apple-health-shortcuts-mcp

apple-health-shortcuts-mcp

Provides AI with read-only access to Apple Health data via three tools (health_now, health_detail, health_trends). Deployable on Cloudflare with a one-click mobile setup.

Category
Visit Server

README

Apple Health 快捷指令 MCP

把 Apple 健康数据变成 AI 可以只读查看的 3 个工具。

这是一个独立、从零编写的开源小项目。它不依赖付费健康导出 App,也不属于任何聊天软件或角色平台。

只用手机一键部署

Deploy to Cloudflare

默认时区是中国 Asia/Shanghai。Cloudflare 会自动创建数据库,不需要电脑、终端、数据库编号或改代码。

它像什么?

Apple Watch
    ↓ 自动同步
iPhone 的“健康”
    ↓ 快捷指令抄一份
你自己的 Cloudflare 小仓库
    ↓ 只有拿着 AI 钥匙才能看
支持 HTTP MCP 的 AI

AI 只会看到三个工具:

  • 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 无隶属或背书关系。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured