Dev open-sources local Apple Health MCP server that feeds workouts to AI agents and pushes plans back to Apple Watch
PrinzPwnage · reddit · 2026-11-16
A developer shared an iPhone app + local MCP server combo that writes Apple Health data as JSON files (per-workout laps, splits, heart rate, effort rating; per-day sleep, HRV, resting HR, VO2 max), which a local stdio server exposes to AI agents — the agent can then call pushplan to write a training plan back, and the app schedules it on Apple Watch via WorkoutKit.
- Motivation: models already write good training plans; what's missing is the feedback loop (how the session went, sleep, resting HR trends)
- Built in Rust, installable via npx -y healthaccess-mcp, 13 tools and 11 prompts, no network code in binaries; deliberately "the folder is the API" instead of a hosted server to avoid holding users' health data
- MIT-licensed, free, no account; unlike Health Auto Export whose auto-export is paywalled
- Known limitation: Health data is locked while the phone is locked, so workouts appear only after the next unlock
More from coding & agent
- Dev Says AI Coding Tools Make Him Stop Caring About Folder Structure — prasenx · 2026-11-16
- Blogger builds Elon Musk interview archive site in 1 hour with Tencent Hy4 flash, open-sources two Skills — vista8 · 2026-11-16
- VibePrevisBench: 242-task benchmark tests coding agents on 4D Blender scene generation — Kling-Keye · 2026-11-16
- raylib author threatens to block users over AI-generated GitHub issues — yacineMTB · 2026-11-16
- Coding agents crack a 1994 Jeep's ECU via a $3 Arduino and start controlling it — LeviTurk · 2026-11-16
- 'My favorite PRs': raylib author hails a change that adds features by deleting 100+ lines — yacineMTB · 2026-11-16