Apple Health MCP MCP Server

Query Apple Health data using natural language and SQL.

Local serverstdio

What is the Apple Health MCP MCP server?

Apple Health MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Query Apple Health data using natural language and SQL.

What you get

Query Apple Health data from an MCP client using SQL and DuckDB. The server runs locally, reads CSV exports on demand, and provides tools for schema discovery, read-only queries, and health summaries.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once Apple Health MCP is connected, these are the calls the assistant has available:

  • health_schema — Discover table names, columns, units, and sample rows
  • health_query — Run a read-only SELECT query with JSON, CSV, or summary output
  • health_report — Generate a weekly, monthly, or custom health summary

Configuration and credentials

You will need one environment variable: HEALTH_DATA_DIR. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Node.js 22 or newer - An Apple Health CSV export created with Simple Health Export CSV The native Apple Health export.xml format is not currently supported.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the apple health mcp mcp server does with a few real requests.

Choosing this one

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Apple Health MCP's toolset — health_schema, health_query, health_report — is a fair guide to whether it matches your workflow.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
health_schemaDiscover table names, columns, units, and sample rows
health_queryRun a read-only SELECT query with JSON, CSV, or summary output
health_reportGenerate a weekly, monthly, or custom health summary

How to install the Apple Health MCP MCP server

{
  "mcpServers": {
    "apple-health": {
      "command": "npx",
      "args": ["-y", "@neiltron/apple-health-mcp"],
      "env": {
        "HEALTH_DATA_DIR": "/path/to/your/unzipped/health-export"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 22 or newer - An Apple Health CSV export created with Simple Health Export CSV The native Apple Health export.xml format is not currently supported.
VariableDescriptionRequired
HEALTH_DATA_DIRFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Apple Health MCP to health schema.
  • Use Apple Health MCP to health query.
  • Use Apple Health MCP to health report.

Frequently asked questions

It connects Apple Health MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (health_schema, health_query, health_report) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Apple Health MCP directly.