Convert an Apple Healthkit export zip to a SQLite database
$ pip install healthkit-to-sqlite
First you need to export your Apple HealthKit data.
Now you can convert the resulting export.zip file to SQLite like so:
$ healthkit-to-sqlite export.zip healthkit.db
A progress bar will be displayed. You can disable this using --silent.
Importing from HealthKit [#-------------] 5% 00:01:33
You can explore the resulting data using Datasette like this:
$ datasette healthkit.db
$ claude mcp add healthkit-to-sqlite \
-- python -m otcore.mcp_server <graph>