health4ai MCP Server
by jefflitt1io.github.jefflitt1/health4aiv0.1.0
Query your Apple Health data from your own Supabase/Postgres via local MCP.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install health4ai MCP server
Install in Claude Code
claude mcp add jefflitt1 -e DATABASE_URL='<database-url>' -e HEALTHKIT_USER_ID='<healthkit-user-id>' -- uvx health4aiInstall in Cursor
{
"mcpServers": {
"jefflitt1": {
"command": "uvx",
"args": [
"health4ai"
],
"env": {
"DATABASE_URL": "<database-url>",
"HEALTHKIT_USER_ID": "<healthkit-user-id>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"jefflitt1": {
"command": "uvx",
"args": [
"health4ai"
],
"env": {
"DATABASE_URL": "<database-url>",
"HEALTHKIT_USER_ID": "<healthkit-user-id>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"jefflitt1": {
"type": "stdio",
"command": "uvx",
"args": [
"health4ai"
],
"env": {
"DATABASE_URL": "<database-url>",
"HEALTHKIT_USER_ID": "<healthkit-user-id>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"jefflitt1": {
"command": "uvx",
"args": [
"health4ai"
],
"env": {
"DATABASE_URL": "<database-url>",
"HEALTHKIT_USER_ID": "<healthkit-user-id>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | yes | yes | Postgres connection string for your Supabase project (transaction pooler; database password, not a service-role key). |
| HEALTHKIT_USER_ID | yes | — | UUID of the Supabase Auth user whose HealthKit data to query. |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 2d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-19 · 20d ago · official registry · v0.1.0
FAQ
›How do I install the health4ai MCP server in Claude Code?
Run: claude mcp add jefflitt1 -e DATABASE_URL='<database-url>' -e HEALTHKIT_USER_ID='<healthkit-user-id>' -- uvx health4ai. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does health4ai require an API key?
Yes. It expects DATABASE_URL, HEALTHKIT_USER_ID, of which 1 is a secret.
›Can I use health4ai as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is health4ai in the official MCP registry?
Yes, as io.github.jefflitt1/health4ai.
Alternatives to health4ai
Other database MCP servers.