mcpbeat Sign in

health4ai MCP Server

by jefflitt1 Your server? Claim it
local only

health4ai runs on your own machine — the client starts it, so there is no endpoint to ping. 62 installs a week from pypi. Last commit 4 Nov 2026.

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

Installs per day peak 20 · avg 9 · +5% w/w
a month agotoday
62
Installs / week
pypi · health4ai
6
Stars
2 open issues
4 Nov 2026
Last commit
from GitHub
MIT
License
Swift

Nothing serious here today

Today is the operative word: we check health4ai every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add health4ai -e 'DATABASE_URL=<DATABASE_URL>' -e 'HEALTHKIT_USER_ID=<HEALTHKIT_USER_ID>' -- uvx health4ai
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "health4ai": {
      "command": "uvx",
      "args": [
        "health4ai"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "HEALTHKIT_USER_ID": "<HEALTHKIT_USER_ID>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.health4ai]
command = "uvx"
args = ["health4ai"]
env = { DATABASE_URL = "<DATABASE_URL>", HEALTHKIT_USER_ID = "<HEALTHKIT_USER_ID>" }
.cursor/mcp.json
{
  "mcpServers": {
    "health4ai": {
      "command": "uvx",
      "args": [
        "health4ai"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "HEALTHKIT_USER_ID": "<HEALTHKIT_USER_ID>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "health4ai": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "health4ai"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "HEALTHKIT_USER_ID": "<HEALTHKIT_USER_ID>"
      }
    }
  }
}

Put your own values in place of <DATABASE_URL> (Postgres connection string for your Supabase project (transaction pooler; database password, not a service-role key)), <HEALTHKIT_USER_ID> (UUID of the Supabase Auth user whose HealthKit data to query). The author’s registry entry marks them as required.

Alternatives to health4ai

same job, measured the same way
Health Data (your own Supabase)
by almostjacked

Your health data (weight, macros, weigh-ins) as MCP tools — in your own Supabase, zero custody.

58 installs/wk local only
Postgres
by waystation

Connect to your PostgreSQL database to query data and schemas.

answering
P
Postgres Connector
by martymarkenson

MCP server for querying PostgreSQL databases

58 installs/wk local only
Supabase
by waystation

Connect to your Supabase database to query data and schemas.

answering
Mi Fitness Data Bridge
by shkyyy18

Local-first bridge: export your own Mi Fitness (Xiaomi) health data to SQLite/JSON/CSV and MCP.

local only
PostgreSQL
by antonorlov

MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.

1 133 installs/wk local only
DB Metadata Extractor MCP
by optisol-business

Extract database metadata from PostgreSQL, Snowflake, SQL Server, BigQuery, and Oracle.

106 installs/wk local only
Postgres
by ofershap

PostgreSQL MCP — query databases, inspect schemas, explain queries.

51 installs/wk local only

health4ai — questions

Answers built from our own checks of this server.

Why is there no uptime for health4ai?
health4ai runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package health4ai was installed 62 times last week.
How do I connect health4ai?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls health4ai straight from pypi; nothing to host, nothing to sign up for.
How many people use health4ai?
The pypi package health4ai was installed 62 times in the last week. Week over week that is +5%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is health4ai open source?
Yes — it is published under the MIT licence, written in Swift, 6 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.