How to give Claude Code access to your Apple Health data
A new open-source project called health4.ai has been developed to allow AI models like Claude Code and Cursor to access Apple Health data. Due to Apple's privacy design, HealthKit data remains on-device, creating a barrier for external AI access. This solution involves an iOS app that reads HealthKit metrics and pushes them to a user-controlled PostgreSQL database, which is then accessed by an MCP server. This setup enables AI models to query health data locally, with the entire architecture designed to keep user data private and on-device. AI
IMPACT Enables AI models to leverage personal health data for more informed responses and actions, potentially improving health-related AI applications.