health4ai
Query your Apple Health data from your own Supabase/Postgres via local MCP.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
health4aiclaude mcp add health4ai -e 'DATABASE_URL=<your database_url>' -e 'HEALTHKIT_USER_ID=<HEALTHKIT_USER_ID>' -- uvx health4ai==0.1.0
{
"mcpServers": {
"health4ai": {
"command": "uvx",
"args": [
"health4ai==0.1.0"
],
"env": {
"DATABASE_URL": "<your database_url>",
"HEALTHKIT_USER_ID": "<HEALTHKIT_USER_ID>"
}
}
}
}
Environment variables
DATABASE_URLrequired secret Postgres connection string for your Supabase project (transaction pooler; database password, not a service-role key).HEALTHKIT_USER_IDrequired UUID of the Supabase Auth user whose HealthKit data to query.
Frequently asked questions
What is health4ai?
Query your Apple Health data from your own Supabase/Postgres via local MCP.
How do I install health4ai?
It runs on your machine. In Claude Code: claude mcp add health4ai -e 'DATABASE_URL=<your database_url>' -e 'HEALTHKIT_USER_ID=<HEALTHKIT_USER_ID>' -- uvx health4ai==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does health4ai need an API key?
Yes. It expects DATABASE_URL, HEALTHKIT_USER_ID, which you set in its configuration.
Is health4ai open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains health4ai?
It is published by jefflitt1. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.