Blog

Guides and tutorials on Apple Health, MCP, and AI-native health data workflows.

Aug 8, 2026·4 min read

How to Get 10 Years of Apple Health Data Out of Your iPhone

Exporting Apple Health historical data via XML, what the export contains, and how health4ai's backfill imports your complete HealthKit history into Postgres on first launch.

apple-healthexporthistorical-datahealthkit
Aug 6, 2026·5 min read

Connecting Wearables to LLMs: A Developer Guide

The full landscape of wearable → LLM integration approaches in 2026 — hardware constraints, architecture patterns, and where each solution fits.

wearablesllmhealthkitapple-watch
Aug 4, 2026·5 min read

Apple Health Background Sync: Why Most Solutions Fail

Technical deep dive on iOS background execution constraints — BGProcessingTask vs HKObserverQuery — and why the architecture choice determines sync reliability.

iosbackground-synchealthkithkobserverquery
Aug 1, 2026·5 min read

The Quantified Self Stack in 2026: Hardware, Apps, and AI

A practical overview of the full QS pipeline — Apple Watch to HealthKit to Postgres to AI — and where each component fits in 2026.

quantified-selfapple-watchhealthkitai-stack
Jul 30, 2026·5 min read

What Is an MCP Server? (And Why Your Health Data Needs One)

MCP explained for developers new to it — what the Model Context Protocol is, how MCP servers work, and why health data is a natural fit for this architecture.

mcpmodel-context-protocolhealthkitapple-health
Jul 28, 2026·4 min read

Apple Health Privacy-First AI Integration: Your Data Never Leaves Your Database

How health4ai's architecture keeps your HealthKit data in your own Postgres instance — health4ai never sees it. Why this matters in 2026.

privacyapple-healthhealthkitpostgres
Jul 25, 2026·5 min read

Querying 10 Years of Apple Health Data with SQL and AI

What a decade of HealthKit data looks like in Postgres, how get_long_term_trend works for multi-year analysis, and what patterns AI surfaces that dashboards miss.

apple-healthhistorical-datasqlpostgres
Jul 23, 2026·4 min read

Automating a Morning Health Brief with Claude Code and Apple Health

How to build a useful daily health brief using get_daily_snapshot and get_hrv_trend, and schedule it to run automatically each morning.

automationapple-healthclaude-codemcp
Jul 21, 2026·4 min read

Running health4ai Locally with Ollama — Zero Cloud Required

How to connect health4ai's MCP server to Ollama via mcphost for a fully local, zero-cloud health data AI setup. Privacy posture and model recommendations.

ollamalocal-aihealthkitapple-health
Jul 18, 2026·6 min read

The health4ai MCP Tools Reference — All 11 Tools Explained

Complete reference for every health4ai MCP tool: parameters, return structure, example calls, and when to use each one.

mcphealthkitapple-healthreference
Jul 16, 2026·4 min read

Using health4ai with Cursor for Health Data Analysis

Adding the health4ai MCP server to Cursor, three practical analysis prompts, and how Cursor Composer handles multi-step health data workflows.

cursormcphealthkitapple-health
Jul 14, 2026·4 min read

How to Set Up health4ai with Neon (Serverless Postgres)

Neon setup walkthrough for health4ai: connection string format, schema deployment, and the key differences from a standard Postgres setup.

neonpostgreshealthkitapple-health
Jul 11, 2026·5 min read

Building a Weekly Health Review Workflow with n8n and health4ai

How to wire n8n to health4ai's MCP server and Claude to generate a weekly health digest delivered to Telegram or email. Step-by-step workflow config.

n8napple-healthautomationhealthkit
Jul 9, 2026·5 min read

Analyzing HRV Trends with Claude: A Practical Guide

HRV raw numbers need context to be useful. How to use get_hrv_trend() and compare_periods to extract meaningful signal from 90+ days of HealthKit HRV data.

hrvapple-healthclaude-codemcp
Jul 7, 2026·5 min read

Building an AI Health Coaching System with Apple Health and Claude

How to use real HealthKit data — not self-reported numbers — as the foundation for AI coaching context. Using get_coaching_brief() and building a weekly workflow.

apple-healthai-coachinghealthkitclaude-code
Jul 4, 2026·4 min read

How to Query Your Apple Health Data with Claude Code

Prerequisites, MCP tool verification, and five real query examples — from health summary to long-term trends — using health4ai in Claude Code.

apple-healthclaude-codemcphealthkit
Jun 23, 2026·6 min read

Every Way to Get Apple Health Data into an AI in 2026 — Compared

A fair comparison of six approaches for connecting HealthKit to an AI: native connectors, Health Auto Export, VitalTrends, Open Wearables, Health Bridge, and health4ai.

apple-healthhealthkitmcpcomparison
Jun 23, 2026·5 min read

Apple Health MCP Server: Connecting HealthKit to Claude Code

How to connect your Apple Health data to Claude Code, Cursor, or Ollama using an MCP server and a Postgres database you control.

apple-healthmcpclaude-codehealthkit
Jun 23, 2026·4 min read

Why Claude's Apple Health Connector Doesn't Work for Developers

Anthropic's Apple Health integration exists — but it only works in the claude.ai web UI. Here's why it doesn't reach Claude Code, the API, or any MCP client.

claude-codeapple-healthmcpanthropic
Jun 23, 2026·4 min read

How to Set Up health4ai with Supabase in 10 Minutes

Step-by-step: create a Supabase project, run the schema, configure the iOS app, and start querying your Apple Health data in Claude Code.

apple-healthsupabasesetuphealthkit
Jun 23, 2026·6 min read

HealthKit → Supabase: Reliable Background Sync That Actually Works

Why iOS background sync is hard, why BGProcessingTask fails, and how HKObserverQuery with a Postgres backend is the only architecture that holds up in practice.

healthkitsupabasebackground-syncios