Skip to content
appsgit

Apple Health

Apple Health is an MCP server that adds data and analytics tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Local-first Apple Health MCP server for questions about your sleep, workouts and heart data. It has 570 GitHub stars, is released under the MIT license and runs locally with npx -y @neiltron/apple-health-mcp.

github.com/neiltron/apple-health-mcp (opens in a new tab)

Install Apple Health

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "apple-health": {
      "command": "npx",
      "args": [
        "-y",
        "@neiltron/apple-health-mcp"
      ],
      "env": {
        "HEALTH_DATA_DIR": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env HEALTH_DATA_DIR=your-value --transport stdio apple-health -- npx -y @neiltron/apple-health-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "apple-health": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@neiltron/apple-health-mcp"
      ],
      "env": {
        "HEALTH_DATA_DIR": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "apple-health": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@neiltron/apple-health-mcp"
      ],
      "env": {
        "HEALTH_DATA_DIR": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
HEALTH_DATA_DIRYesPath to the Apple Health CSV export directory
MAX_MEMORY_MBNoMaximum memory usage in megabytes
CACHE_SIZENoMaximum number of cached query results

Tools (3)

Parsed from the Tools section of the README; check the repository for the current list.

  • health_schema

    Discover table names, columns, units, and sample rows

  • health_query

    Run one DuckDB SELECT-family analytical statement with JSON, CSV, or summary output

  • health_report

    Generate a weekly, monthly, or custom health summary

About Apple Health

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.

  • apple-health
  • claude
  • duckdb
  • health-data
  • mcp
  • mcp-server
  • model-context-protocol
  • quantified-self
  • sql

FAQ

Apple Health FAQ

Still curious? Email info@appsgit.com.

What is Apple Health?

Apple Health is an MCP server that adds data and analytics tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Local-first Apple Health MCP server for questions about your sleep, workouts and heart data. It has 570 GitHub stars, is released under the MIT license and runs locally with npx -y @neiltron/apple-health-mcp. The source code is at github.com/neiltron/apple-health-mcp.

How do I install the Apple Health MCP server?

Add the command npx -y @neiltron/apple-health-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Apple Health free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Apple Health actively maintained?

The most recent commit was on Oct 2, 2026. The latest release is v1.4.5, published Sep 20, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.