Setup in ~15 minutes
End-to-end path from a fresh Supabase project to live MCP tools in Claude or Cursor. Full detail lives indocs/SETUP.md.
The iOS app is invite-only TestFlight right now — join thewaitlist and check the consent box to request a beta invite. There is no public TestFlight link.
Checklist
- 1Create a Supabase project
Free tier at supabase.com. health4.ai needs Supabase Auth + Edge Functions — plain Postgres alone is not enough.
- 2Run schema.sql
Paste and run health4.ai/schema.sql in the SQL editor. Do not use
supabase db pushon a fresh project. - 3Deploy the edge function
git clone https://github.com/jefflitt1/health4ai.git cd health4ai supabase functions deploy healthkit-ingest --project-ref <ref> --no-verify-jwtAlso create your Auth user (Authentication → Users) and copy the UID.
- 4Install the iOS app (invite-only)
TestFlight is invite-only — there is no public link. Join thewaitlist and tick the consent box to request a beta invite. Once installed: enter Project URL + anon key, sign in, start sync. See TESTFLIGHT-BETA.md.
- 5Clone mcp-server & install deps
cd health4ai/mcp-server pip install -r requirements.txt cp .env.example .env - 6Set .env
DATABASE_URL=postgresql://... # transaction pooler, database password HEALTHKIT_USER_ID=<your auth UID> - 7Add Claude / Cursor MCP JSON
{ "mcpServers": { "health4ai": { "command": "python", "args": ["/path/to/health4ai/mcp-server/main.py"], "env": { "DATABASE_URL": "postgresql://...", "HEALTHKIT_USER_ID": "<your auth UID>" } } } }Claude Desktop / Claude Code config, or
~/.cursor/mcp.json. An npx one-liner is not published yet — clone + Python is the supported path. - 8Verify tools list
In Claude Code run
/mcpand confirmhealth4aiis connected with 11 tools. Then ask: "Give me a health summary for the last 7 days."Tool reference: /mcp-tools.
Need more detail?
Full SETUP.md on GitHub → · Docs hub