DEV Community

Philip D'Souza
Philip D'Souza

Posted on

get_intraday: a live within-day window for Apple Health, over MCP

Most health MCP servers stop at yesterday. The live within-day window was the missing piece.

health-export-mcp v1.3.0 adds get_intraday, the 8th read-only tool. The iOS app's hourly automations (app 1.4+) write a small health-intraday.json file beside the daily cache. The server serves it back:

  • hour-by-hour points for every metric in the window
  • the latest value per metric
  • an optional metric filter
  • a clean available: false answer with setup guidance when no hourly automation has delivered yet

The file is replaced on every hourly run, so you get a live within-day view, not history. Day-level questions still belong to get_health_metrics and the other daily tools. get_mcp_status now reports whether the intraday window is present.

Install with any MCP client:

npx -y health-export-mcp
Enter fullscreen mode Exit fullscreen mode

Eight read-only tools, local-first, zero network calls. Full docs and the tool list: https://www.healthexport.dev/mcp/?utm_source=devto&utm_medium=social&utm_campaign=exp-20260818-hea59-intraday

Top comments (0)