OpenClaw Integration

OpenClaw Apple Health:
Talk to Your Health Data with AI

Get AI-powered daily health briefs from your Apple Health data. Ask OpenClaw about your steps, sleep, heart rate, and workouts — all processed locally on your Mac, never uploaded to the cloud.

What is OpenClaw + Apple Health?

Your iPhone collects an incredible amount of health data every day — steps, sleep duration, heart rate, HRV, workouts, and more. But Apple Health is better at collecting data than explaining it. You get raw numbers without the context that makes them useful.

The OpenClaw Apple Health integration changes that. Health Data AI Analyzer for Mac exposes a local read-only API that OpenClaw can query through the apple-health-export-analyzer ClawHub skill. The result: you can ask AI about your health in natural language and get an instant daily brief with status, trends, suggestions, and missing data alerts.

Think of it as a personal health analyst that lives on your Mac. You ask a question; OpenClaw reads your local health data and delivers an AI Apple Health summary with actionable insights.

How It Works

Setting up your OpenClaw daily brief takes four steps. No cloud accounts, no data sharing, no complex configuration.

1

Install the Mac App

Download Health Data AI Analyzer from the Mac App Store. It runs natively on macOS and processes everything locally.

2

Import Your Apple Health Export

Export your health data from iPhone (Settings → Health → Export All Health Data), then import the ZIP file into the Mac app. Need help? See the export guide.

3

Install the ClawHub Skill

Add the apple-health-export-analyzer skill from ClawHub. This teaches OpenClaw how to read your local health API.

4

Ask for Your Brief

Open OpenClaw and ask for your daily health brief. The AI reads from the Mac app's localhost API and returns a structured summary with suggestions.

Health Data AI Analyzer Mac app showing the OpenClaw / API integration tab with local API running

Once set up, daily health check-ins take seconds. Just open OpenClaw and talk to your Apple Health data whenever you want an update.

What You Get: The OpenClaw Health Brief

Each OpenClaw health brief is structured around four sections that give you a complete picture of your day:

Daily Brief — March 19, 2026
Status

2,444 steps (baseline: 10,005) · Sleep data missing · No workouts logged

What Changed

Steps are 76% below your 7-day average. Activity flagged as below baseline.

Suggestions
  • Take a 20-minute walk to close the gap with your step baseline
  • Log a light workout — even stretching counts toward recovery
  • Check that your Apple Watch is tracking sleep tonight
Missing Data

Sleep hours not recorded. Heart rate and HRV data unavailable for this date.

OpenClaw terminal showing a real daily health brief with status, what changed, suggestions, and missing data

The brief is generated from the compact JSON returned by the Mac app's local API. OpenClaw processes the raw data and turns it into natural language with context — comparing today to your recent baselines so you can spot trends instantly.

Example Prompts

Here are real prompts you can use to talk to Apple Health data through OpenClaw. Copy any of these and paste them directly into your conversation. For more, see the prompt library.

Daily Brief
Use the "health-analyzer-mac-local" skill for this request. Give me my daily health brief for today and 3 suggestions.
Specific Date
Use the "health-analyzer-mac-local" skill for this request. Give me my daily health brief for 2026-03-19 and 3 suggestions for that day.
Week in Review
Use the "health-analyzer-mac-local" skill for this request. Pull my daily brief for the last 7 days and summarize trends in my steps, sleep, and activity.

You can also ask follow-up questions in natural language. Once OpenClaw has your health data in context, you can ask things like "Why were my steps so low on Wednesday?" or "Compare this week to last week."

Privacy by Design

We built this integration with a single principle: your health data stays on your Mac. Here is exactly how that works.

Local Processing

The Mac app processes your imported Apple Health data entirely on your machine. Nothing is sent to external servers.

Read-Only API

The localhost API is read-only. OpenClaw can query your data but cannot modify, delete, or write to your health records.

No Cloud Uploads

The ClawHub skill reads from localhost only. There are no cloud endpoints, no token files, no remote data transfers.

This is a local Apple Health API in the truest sense. The integration path runs from your iPhone export to the Mac app to a localhost endpoint that only your machine can reach. You can analyze your health data with AI without compromising your privacy. For full API documentation, see the Apple Health Local API page.

API Endpoints for Power Users

If you want to understand what is happening under the hood — or build your own integrations — the Mac app exposes two endpoints on http://127.0.0.1:8765.

GET /openclaw/status

Confirms the app is running, reports the loaded dataset, version info, and lists available health metrics.

curl http://127.0.0.1:8765/openclaw/status

GET /openclaw/daily-brief

Returns a compact JSON summary for a specific date, including steps, sleep, workouts, heart rate, HRV, signal flags, and a context summary.

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

Example response:

{
  "ok": true,
  "success": true,
  "summary": "Daily Apple Health brief from Health Data AI Analyzer.",
  "data": {
    "date": "2026-03-19",
    "steps": {
      "value": 2444,
      "baseline_7d": 10004.57,
      "delta_vs_baseline": -7560.57
    },
    "sleep": { "hours": null, "baseline_7d": 6.47 },
    "workouts": { "count": 0, "total_minutes": 0 },
    "signals": ["activity_below_baseline"],
    "context_summary": "Daily brief for 2026-03-19, steps 2444"
  }
}

The signals array is especially useful — it contains machine-readable flags like activity_below_baseline that OpenClaw uses to surface relevant suggestions. You can find the full skill definition on ClawHub, the app source on GitHub, and the complete local API reference on the Apple Health Local API docs page.

Start Getting AI Health Briefs Today

Download the Mac app, import your Apple Health export, and ask OpenClaw for your first daily brief. Setup takes under five minutes.