Data & analytics / MetricBridge Apple Health

MetricBridge Apple Health

io.github.PhilipAD/health-export-mcp · v1.10.2

Ask your agent about your own Apple Health data: 194 metrics, 22 tools, local, 0 deps.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #27 of 435 Data & analytics servers on Socketlist by score, with 11 GitHub stars and a last code push 25d ago.

Install

npx -y health-export-mcp

Published as an MCP bundle (.mcpb); download it from the project's GitHub releases page.

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect MetricBridge Apple Health to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.

claude mcp add --env PAIRING_SECRET=<pairing_secret> --env HEALTH_EXPORT_PASSPHRASE=<health_export_passphrase> --transport stdio metricbridge-apple-health -- npx -y health-export-mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "metricbridge-apple-health": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "health-export-mcp"
      ],
      "env": {
        "PAIRING_SECRET": "${PAIRING_SECRET}",
        "HEALTH_EXPORT_PASSPHRASE": "${HEALTH_EXPORT_PASSPHRASE}"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "metricbridge-apple-health": {
      "command": "npx",
      "args": [
        "-y",
        "health-export-mcp"
      ],
      "env": {
        "PAIRING_SECRET": "${env:PAIRING_SECRET}",
        "HEALTH_EXPORT_PASSPHRASE": "${env:HEALTH_EXPORT_PASSPHRASE}"
      }
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
HEALTH_DATA_DIRNoNoFolder holding .health-cache.json from the MetricBridge iOS app. Unset on a Mac, the server reads ~/Library/Mobile Documents/iCloud~ai~healthexport~app/Documents if it exists.
PAIRING_SECRETNoYesOnly if Agent pairing is on in the iOS app (Settings > Agent pairing).
HEALTH_EXPORT_PASSPHRASENoYesOnly if Export encryption is on in the iOS app.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "health-export-mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Signals

GitHub stars11
npm weekly downloads298
Last push25d ago
LicenceMIT
Open issues0
SECURITY.mdYes
LanguageJavaScript
Latest version published2026-11-03

Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.

Similar servers compare all →

Apple Health

Score 72

Local-first Apple Health MCP server for questions about your sleep, workouts and heart data.

★ 575MITpushed 2mo ago
Data & analytics

apple-health-mcp

Score 82

Unofficial local-first MCP server for Apple Health export data.

★ 3↓ 144/wkMITpushed 24d ago
Data & analytics

ko-mcp

Score 75

Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.

★ 0MITpushed 20d ago
Data & analyticsFinance & commerceRemote

Five MCP servers worth your time, every week

The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.

Subscribe free