health4ai

io.github.jefflitt1/health4ai

Query your Apple Health data from your own Supabase/Postgres via local MCP.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "health4ai": {
      "command": "uvx",
      "args": [
        "health4ai"
      ],
      "env": {
        "DATABASE_URL": "<your DATABASE_URL>",
        "HEALTHKIT_USER_ID": "<your HEALTHKIT_USER_ID>"
      }
    }
  }
}
Environment variables
  • DATABASE_URLrequiredsecretPostgres connection string for your Supabase project (transaction pooler; database password, not a service-role key).
  • HEALTHKIT_USER_IDrequiredUUID of the Supabase Auth user whose HealthKit data to query.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.0
Registry
active
Published
9/19/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that health4ai is listed here — it’s also the link we check for a free listing.

health4ai — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-jefflitt1-health4ai?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="health4ai — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![health4ai — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-jefflitt1-health4ai?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.