# Philipad Health Export MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.philipad%2Fhealth-export-mcp
Registry id: `mcp-registry/io.github.philipad/health-export-mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "philipad-health-export-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "health-export-mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add philipad-health-export-mcp-server -- npx -y health-export-mcp
```

## Tools (16)

- `compare_periods`: A metric across two arbitrary date periods (A vs B), or around a logged event.
- `correlate_metrics`: Pearson correlation between two metrics with a 0..3 day lag.
- `get_cycle_context`: Day-in-cycle and coarse phase derived from logged period starts. Never predictive.
- `get_freshness`: How current the export is: stale threshold, age hours, as-of, last data date, per-file write times.
- `get_health_metrics`: Daily values for a metric (or all) over a date range plus an aggregate.
- `get_intraday`: Today's hour-by-hour window from the app's hourly automations.
- `get_mcp_status`: Health check: source, metric/workout counts, context files, latest data date, freshness summary.
- `get_profile`: Opted-in context fields (conditions, medications, goals, allergies, notes) plus presentFields.
- `get_sleep_sessions`: Clustered sleep sessions attributed to the waking day; split nights returned as-is.
- `get_structured_export`: Clean JSON for chosen metrics/range, paginated with a cursor.
- `get_trends`: Recent N-day window vs prior N days: change, % change, direction.
- `get_workouts`: Workouts by activity/date with pagination; includes heart rate, running dynamics, cycling power, intervals, hasRoute.
- `list_events`: Logged context events (medication, habit, visit, life, shift, episode, travel) with filters.
- `list_metrics`: Every available metric with unit, day count, and date range.
- `query_health_data`: Natural-language convenience: 'average HRV last month' routed to structured results.
- `resolve_metric`: Canonical name and unit for any spelling, unit variants, optional conversion, and whether export holds it.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
