health-export-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HEALTH_LISTEN | No | Set to '1' to enable LAN push receiver | |
| PAIRING_SECRET | No | Optional pairing code from the iOS app to gate access | |
| HEALTH_DATA_DIR | No | Path to the directory containing .health-cache.json from Health Export AI. Default: ~/Library/Mobile Documents/iCloud~ai~healthexport~app/Documents | ~/Library/Mobile Documents/iCloud~ai~healthexport~app/Documents |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_mcp_statusA | Health check: data source, how many metrics/workouts are available, and the most recent data date. Call this first to confirm the bridge is connected. |
| list_metricsA | List every available Apple Health metric with its unit, day count, and date range. Use this to discover metric names before querying. |
| get_health_metricsB | Get daily values for a metric (or all metrics) over an optional date range, with an aggregate (avg/sum/min/max/latest). The core data-retrieval tool. |
| get_trendsB | Compare the most recent N-day window against the prior N days for a metric — returns change, percent change and direction (up/down/flat). |
| compare_periodsB | Compare a metric between two arbitrary date periods (A vs B) — returns each aggregate plus the change and percent change. |
| get_structured_exportB | Return clean structured JSON for the chosen metrics/date range — ideal to drop straight into an agent's context window. |
| query_health_dataA | Natural-language convenience: pass a question (e.g. "average HRV last month") and get routed structured results. Prefer the specific tools above when you can. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PhilipAD/health-export-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server