Local-first Apple Health MCP server for questions about your sleep, workouts and heart data.
registry version 1.4.5
npm
npx -y @neiltron/apple-health-mcpnpm
npx -y @neiltron/apple-health-mcp@1.4.5
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}{
"mcpServers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp@1.4.5"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env HEALTH_DATA_DIR=<YOUR_HEALTH_DATA_DIR> apple-health-mcp-2 -- npx -y @neiltron/apple-health-mcp
claude mcp add --env HEALTH_DATA_DIR=<YOUR_HEALTH_DATA_DIR> apple-health-mcp-2 -- npx -y @neiltron/apple-health-mcp@1.4.5
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}{
"mcpServers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp@1.4.5"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}{
"servers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp@1.4.5"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}{
"mcpServers": {
"apple-health-mcp-2": {
"command": "npx",
"args": [
"-y",
"@neiltron/apple-health-mcp@1.4.5"
],
"env": {
"HEALTH_DATA_DIR": "<YOUR_HEALTH_DATA_DIR>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
HEALTH_DATA_DIR required — Path to the Apple Health CSV export directoryMAX_MEMORY_MB — Maximum memory usage in megabytesCACHE_SIZE — Maximum number of cached query results⭐ 573 stars · 最近更新于 41 天前 · MIT license
Apple Health MCP Server 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, analytical queries, and health summaries. Requirements Node.js 22 or newer An Apple Health CSV export created with S…
Summary from the project README — github.com/neiltron/apple-health-mcp
Distributed as npm, listed under Health & Medical. Review our MCP security guide before granting access to real data.
Apple Health MCP Server 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, analytical queries, and health summaries. Requirements Node.js 22 or newer An Apple Health CSV export created with S
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/neiltron/apple-health-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/apple-health-mcp-2/)
HTML
<a href="https://mcpnav.net/server/apple-health-mcp-2/"><img src="https://mcpnav.net/badge/apple-health-mcp-2.svg" alt="Listed on MCPNav" height="20"></a>