| 5 min read

Private Apple Health Analysis with OpenClaw: Daily Briefs Without Cloud Uploads

Your Apple Health export is huge, messy, and trapped on your iPhone. OpenClaw turns it into a daily brief you can actually read — steps, sleep, heart rate, trends — without uploading anything to the cloud.

Automate daily health briefs on your Mac — no cloud required.

The Problem: Apple Health Data Is Hard to Use

Apple Health collects incredible data — steps, sleep, heart rate, HRV, workouts, and more. But getting insights from it is painful:

247 MB

Typical export.xml file size

Raw XML

Format nobody wants to read

iPhone-only

Export requires your phone

Some people upload this data to ChatGPT or Claude for analysis. That works — but your health data ends up on company servers. If privacy matters to you (legal, medical, or personal reasons), there's a better way.

The Solution: OpenClaw + Local Mac App

The OpenClaw Apple Health integration gives you AI-powered health briefs while keeping everything local. Here's how it works:

100% Local Architecture

The Mac app exposes a read-only localhost API at 127.0.0.1:8765. OpenClaw reads from this local endpoint using the ClawHub skill. Your data never leaves your machine.

What You Get: The Daily Brief

Ask OpenClaw for a daily health brief and you get a structured summary:

OpenClaw Daily Brief

Status: Health Data AI Analyzer is running, dataset loaded

Steps: 8,432 (baseline 10,005 — below average)

Sleep: 7.2 hours (baseline 6.5 — above average)

Workouts: 1 session, 45 min

Heart Rate: 62 bpm resting

HRV: 48 ms

Signals: activity_below_baseline

Suggestions:

1. Your steps are 16% below your 7-day average — try a 20-min walk after lunch

2. Sleep was strong at 7.2h — keep your bedtime consistent

3. Consider a light workout tomorrow to maintain your weekly streak

All of this comes from your local Apple Health data — steps, sleep, workouts, heart rate, and HRV — compared against your own 7-day baselines.

How to Set It Up (5 Minutes)

1

Install the Mac App

Download Health Data AI Analyzer from the Mac App Store.

2

Import Your Apple Health Export

Export from iPhone (Health app > Profile > Export All Health Data), then AirDrop or transfer the export.zip to your Mac. Open it in the app.

Tip: AirDrop is the most private transfer method — end-to-end encrypted, stays on your local network.

3

Install the ClawHub Skill

Go to apple-health-export-analyzer on ClawHub and install the skill. This is the published, read-only integration — no bundled scripts, no token files.

4

Ask OpenClaw for a Daily Brief

Open OpenClaw and type:

Use the "health-analyzer-mac-local" skill for this request. Give me my daily health brief for today and 3 suggestions.

That's it. The app's localhost API serves your health data to OpenClaw. You get a plain-English summary based on your actual Apple Health data — no cloud uploads, no subscriptions.

Under the Hood: What the Local API Returns

The Mac app exposes two read-only endpoints that OpenClaw uses:

For full API documentation, see the Apple Health Local API page.

GET /openclaw/status

Confirms the app is running, a dataset is loaded, available metrics, and version info.

GET /openclaw/daily-brief?date=YYYY-MM-DD

Returns a compact JSON brief with your health data for any date:

{
  "ok": true,
  "summary": "Daily Apple Health brief from Health Data AI Analyzer.",
  "data": {
    "date": "2026-03-27",
    "steps": {
      "value": 8432,
      "baseline_7d": 10005,
      "delta_vs_baseline": -1573
    },
    "sleep": {
      "hours": 7.2,
      "baseline_7d": 6.47
    },
    "workouts": {
      "count": 1,
      "total_minutes": 45
    },
    "heart_rate": { "resting": 62 },
    "hrv": { "value": 48 },
    "signals": ["activity_below_baseline"],
    "context_summary": "Daily brief for 2026-03-27, steps 8432"
  }
}

You can also test the API directly with curl:

curl http://127.0.0.1:8765/openclaw/status
curl "http://127.0.0.1:8765/openclaw/daily-brief?date=2026-03-27"

Why Keep Health Data Local?

You might be wondering: why not just upload to ChatGPT? Here are the real-world reasons people choose local analysis:

Legal exposure

Cloud-stored health data can be subpoenaed. In 2024, ChatGPT logs were obtained in copyright litigation — including from "temporary" chats.

State-level risk

In states with restrictive healthcare laws, health data on third-party servers could be used in legal proceedings about reproductive or gender-affirming care.

Insurance & employment

Data breaches happen. Health insurers could adjust premiums, employers might see information affecting hiring decisions.

Simple preference

Some people prefer keeping health information private. That's reason enough.

The OpenClaw + Mac app approach solves this. Your health data stays on your machine. The ClawHub skill uses a read-only localhost API — no cloud uploads, no bundled scripts, no token-file behavior.

OpenClaw vs. Cloud AI for Health Data

Feature ChatGPT / Claude OpenClaw + Mac App
Setup 2 minutes 5 minutes
Privacy Cloud servers 100% local
Daily briefs Manual re-upload One command
Data freshness Snapshot in time Live from app
Ongoing cost $20/month subscription One-time $4.99
AI quality Excellent Excellent (same models)
Baseline tracking No 7-day rolling

What People Use It For

Morning health check-in

"Give me my daily health brief for today"

Start your day knowing how yesterday's metrics compare to your baseline.

Weekly trend review

"Compare my health briefs for the last 7 days"

Spot patterns in sleep, activity, and recovery across the week.

Pre-doctor visit prep

"Summarize my health trends for the last 30 days"

Walk into your appointment with actual data to discuss.

Fitness accountability

"Am I on track with my activity goals this week?"

Get honest feedback based on your real numbers, not estimates.

Frequently Asked Questions

Q: Do I need to re-export from my iPhone every day?

A: Not every day, but you'll want to re-import periodically to keep your data fresh. The Mac app works with whatever export you've most recently imported.

Q: What if OpenClaw can't reach the local API?

A: Make sure the Mac app is running. You can verify with curl http://127.0.0.1:8765/openclaw/status. If the model can't fetch locally in a given session, you can still test the API directly with curl.

Q: Is the ClawHub skill safe to install?

A: Yes. The published skill (apple-health-export-analyzer@1.0.6) is intentionally narrow: read-only localhost API, no bundled scripts, no repo clone fallback, no token-file behavior. It's designed to be easy to trust.

Q: Can I still use ChatGPT or Claude for health analysis?

A: Absolutely. The privacy-first approach doesn't mean you can never use cloud AI. You can export anonymized subsets and upload those for specific questions. The key difference is control — you decide what leaves your machine.

Q: What Mac do I need?

A: Any Mac that can run macOS and the Health Data AI Analyzer app. No special hardware required — the app handles the processing.

Related

Get your first daily health brief in 5 minutes

Install the Mac app, import your Apple Health data, connect OpenClaw. Your data stays on your machine.