Healthfolder
概览
作者提供的说明(英文原文)
Read a Health Access folder of Apple Watch workouts and vitals; write training plans back as files.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i2 项中通过 2 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 271/周 · ★ 0
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 诊所与健康
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:2 项中通过 2 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"healthfolder": {
"command": "npx",
"args": [
"-y",
"@reneturcios/healthfolder",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add healthfolder -- npx -y @reneturcios/healthfolder mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"healthfolder": {
"command": "npx",
"args": [
"-y",
"@reneturcios/healthfolder",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"healthfolder": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/healthfolder",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于5天前
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“诊所与健康”中的其他服务器比较i
- 星标数多于此分类中其他 1067 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1067 个服务器的 83% 更新
- 基础检查结果等于或优于此分类中其他 1067 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Healthfolder 安全吗?
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于5天前,最新版本(0.1.0)于5天前进入注册中心。
有什么可以替代它?
同一分类中有:Medplum MCP, Mirobody, Apple Health
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
Apple Health
Local-first Apple Health MCP server for questions about your sleep, workouts and heart data.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
healthfolder
Read a Health Access folder of Apple Watch workouts and vitals, and write training plans back into it — as plain files. The folder an app writes from Apple Health (workouts, day files, an index, a profile) is the whole API: this package is a local stdio MCP server plus a CLI over that folder. No account, no network, nothing leaves the machine.
How the folder is found
First hit wins:
--diron the command line- the
HEALTHACCESS_DIRenvironment variable (aliasTIDE_DIR) dir = "..."in~/.config/healthaccess/config.toml(the path can be overridden withHEALTHACCESS_CONFIG; zone bounds can also be set there aszones = [133, 146, 158, 169])- discovery: iCloud Drive, then
~/Library/CloudStorage/*,~/Dropbox,~/Google Drive,~/OneDrive*,~/Box, then~/Documents. A Health Access folder holds anindex.jsonof schemahealthaccess.index.v1and aworkouts/directory. If discovery finds several, the server refuses to guess and lists them.
Run healthfolder --check to print the resolved folder, where it came from, and the zone bounds in effect.
CLI
npx -y @reneturcios/healthfolder --check
npx -y @reneturcios/healthfolder list --sport swim --limit 5 npx -y @reneturcios/healthfolder show 7A1C3E90 npx -y @reneturcios/healthfolder vitals --days 14 npx -y @reneturcios/healthfolder summary --weeks 4 npx -y @reneturcios/healthfolder rate 7A1C3E90 7 "legs heavy, breathing fine" npx -y @reneturcios/healthfolder plan push ./s30.json npx -y @reneturcios/healthfolder plan status 2026-10-24T20:22:05Z-s30 npx -y @reneturcios/healthfolder plan list npx -y @reneturcios/healthfolder day 2026-05-14 npx -y @reneturcios/healthfolder days --from 2026-05-01 --to 2026-05-14 --groups heart,sleep npx -y @reneturcios/healthfolder catalog npx -y @reneturcios/healthfolder profile npx -y @reneturcios/healthfolder ecgs
Every command prints pretty JSON. Exit codes: 0 success, 1 domain or IO error, 2 usage error. --dir works on every subcommand.
MCP server
npx -y @reneturcios/healthfolder mcp
MCP client config:
{
"mcpServers": { "healthfolder": { "command": "npx", "args": ["-y", "@reneturcios/healthfolder", "mcp"] } } }
Add "--dir", " " to args to skip the folder search.
Tools (13)
| Tool | What it does |
|---|---|
list_workouts | Workouts from the index (deduplicated, newest first), one summary line each |
get_workout | One workout in full: document, summary, parts text, zones, cardiac cost |
get_vitals | Resting HR, HRV, body mass, sleep, steps, VO2max, blood pressure over the last N days |
training_summary | One entry per ISO week: volume, zones, effort, cardiac cost, rings from day files |
rate_workout | Store the athlete's own effort rating (1–10) in the workout file |
push_plan | Validate a training plan and write plans/ .json for the app to put on the Watch |
get_plan_status | A plan's state: pending, scheduled, failed or cancelled |
list_plans | Every plan with its state and planned distance/time |
get_day | One day file with every Health group it holds |
get_days | Day files in a range (max 366 days), optionally reduced to named groups |
get_catalog | catalog.json plus the export-coverage check |
get_profile | profile.json as written |
list_ecgs | Every ECG summary in ecg/, newest first |
All results are pretty-printed JSON text with floats rounded to one decimal. Malformed arguments are JSON-RPC InvalidParams errors; domain problems (unknown id, failed validation, a refusal) come back as isError results with the reason in plain words.
Two safety rules are built in:
rate_workoutonly ever stores a number the athlete said. A workout that already carries Apple's own rating (effort_source: "apple") is refused unless the call passesoverride: true— the refusal names the file, the existing rating, and the remedy, and nothing is written.push_planreports every validation violation in one message (sport, name length, block/step shape, goal type and value, zone, label length), so a plan can be fixed in one pass.
Resources: healthaccess://index (the deduplicated index) and the template healthaccess://workout/{id} (one workout, heart-rate series included). MCP prompts are not implemented in this build.
Derived numbers
- Zones. Four bounds, five zones. Bounds come from config.toml, else are estimated from the age in
profile.json: max HR = 208 − 0.7 × age, bounds at 72/79/86/92 % of it (age 34 → [133, 146, 158, 169]). Zone seconds are computed from the heart-rate series: each sample's time until the next sample goes to that sample's zone, only time inside the workout counts, gaps over 60 s count as 60 s. With no bounds known, a file's own legacy zones are shown, markedbounds_source: "file". - Cardiac cost (swims only) = avg HR × best freestyle 100 m pace (s) / 60 = heart beats per 100 m; lower is better. The best 100 is the fastest work step of at least 95 m whose overlapping laps were at least half freestyle, normalised to 100 m; if no step qualifies and the swim is at least 100 m, the whole-workout pace is used.
- Summary lines look like:
2026-05-14 Pool swim "S12" · 1200 m · 36:06 · avg HR 129 (max 162) · Z1–2 93% · effort 6/10 (apple) · best FR 100 2:12 → 284 beats/100 m— each segment appears only when its data exists.
Presence handshake
On initialize, and after tool calls at most once a minute, the server writes mcp/clients/ .json in the folder so the app can show "Connected". The id is the FNV-1a 64 hash of machine name + client name; the file carries the client name/version from the initialize request, the machine name (HEALTHACCESS_MACHINE overrides it), call counts carried over between writes, and the last tool name — never arguments or results. A failed write never fails a tool call. The CLI writes the same file, as client healthfolder-cli, only from the commands that write into the folder anyway (rate, plan push).
Docker
docker run -i ghcr.io/cloudcorprecords/healthfolder # stdio MCP server
docker run --rm ghcr.io/cloudcorprecords/healthfolder list --dir /data
Mount the Health Access folder into the container and pass --dir (or set HEALTHACCESS_DIR) so the server can find it.
Development
npm install
npm run build # tsc -> dist/ npm test # tsx --test test/*.test.ts (synthetic folders, no network) npm run dev # run the CLI from source
License
MIT — Copyright (c) 2026 Rene Turcios.