Remix.run Logo
monatron 2 days ago

Very cool indeed. I started building something similar - relying on Auto Export [https://apps.apple.com/us/app/health-auto-export-json-csv/id...] to export my health data to an endpoint which stores it in a sqlite database. I never got as far as building an MCP server around the data but that's certainly the direction I was heading. The initial idea was to use my health data to provide context to a health/fitness agent that would recommend workouts, check-in on things, etc.

dkdcio 2 days ago | parent | next [-]

it is wild to me that products like this don’t allow you to easily export all data into sqlite (or duckdb) natively. it’s 2025 and you frequently have to page through hundreds or thousands of API calls to get a trivial amount of data (or use 3p services)

s0sa 2 days ago | parent | next [-]

This isn’t some bespoke API/format that they made up to make it harder for you to get your data. Apple did the right thing here and implemented HL7 standards like CDA and FHIR. This is a win for interoperability. There are already a wealth of tools available for dealing with these standards.

mattkrause 2 days ago | parent | prev [-]

I thought this was sort of deliberate for Apple Health.

People use it to track sensitive information, like reproductive and mental health data, that should only be exported very intentionally.

_neil 2 days ago | parent [-]

Agreed. I'm fine jumping through a couple hoops to get my own data in this case.

yunohn 2 days ago | parent [-]

Why would a malicious actor not be willing to setup the same infra as you, with an app on the iOS store to mine data once consented? I don’t see how api usage difficulty is a real security feature…

_neil 2 days ago | parent | prev | next [-]

Great minds :)

I haven't experimented with MCP too much because I have some reservations about it, but I decided to go MCP-first for this to see how it feels to prototype around it. My typical flow would have been to go sqlite+sveltekit.

yurishimo 2 days ago | parent | prev [-]

Thanks for the link to that app. Gonna setup something this weekend to ingest and aggregate my workout stats onto my personal website :)