An Apple Health MCP bridge that stays synced — without manual XML exports.
Most Apple Health MCP repos ask you to manually export XML files from iPhone and load them into DuckDB or SQLite. Mibly syncs directly from HealthKit to an open-source Local MCP receiver or Cloud Pro relay for Claude, Cursor, Windsurf, OpenClaw, and Gemini CLI.
Mibly vs. manual XML / DuckDB Apple Health MCP scripts
Apple HealthKit only lives on iOS and has no cloud REST API. Here is how Mibly compares to typical GitHub export-parser MCP servers.
| Dimension | Manual XML / DuckDB MCP scripts | Mibly Apple Health MCP |
|---|---|---|
| Data freshness | Stale snapshot until you manually export & unzip XML again | Automatic sync from iPhone + 7-day backfill + 14-day catch-up |
| Setup effort | Clone repo, install Python/DuckDB, parse XML, edit JSON config | No Xcode or manual coding — paste one setup prompt to your AI |
| Privacy & inspectability | Local only | Open-source Local receiver (Free) + optional encrypted Cloud Pro |
| Remote / multi-agent access | Tied to one local machine | Cloud Pro lets multiple MCP clients query from anywhere over HTTPS |
| Data filtering | Full Health archive exported together | Per-category toggles in iOS; menstrual cycle stays Local-only |
MCP endpoint, tools, and supported clients
Mibly’s receiver exposes a lightweight HTTP MCP endpoint authenticated with a Bearer token so any modern MCP client can query your current state or drill into detailed history.
Two clean MCP tools
health_now— returns a concise current snapshot across the categories you enabled (sleep summary, today’s steps, heart rate, recent workouts, weight/body fat).health_detail— queries structured historical readings by category (sleep,steps,heartRate,workouts,weight,bodyFat, plus Local-onlymenstrualFlow).
Works with personal & coding agents
- Personal AI & companions: Claude Desktop, OpenClaw, Hermes Agent, or your own custom MCP bot.
- Coding agents: Claude Code, Cursor, Windsurf, Codex, Gemini CLI, GitHub Copilot, OpenCode, Cline, Qwen Code, and Kimi Code.
Header: Authorization: Bearer <your-mibly-token>
Tools: health_now, health_detail
Local (Free) vs. Cloud (Pro) architecture
Start free on your own Wi-Fi, or upgrade to Cloud Pro when you want remote agents or multi-device access.
| Feature | Local Mode (Free) | Cloud Mode (Pro) |
|---|---|---|
| Data path | iPhone → your private LAN/VPN receiver (no Mibly server) | iPhone → HTTPS → Mibly Cloud Relay → your MCP clients |
| Encryption & storage | Stored locally and encrypted at rest on your own machine | Encrypted at rest with per-user keys; 365-day default cleanup window |
| Menstrual cycle data | Supported (off by default) | Excluded from cloud upload (strictly Local-only) |
| Open-source code | Yes — mibly-apple-health-mcp | Managed HTTPS relay with in-app cloud data deletion |
| Best for | Home Mac running Claude Desktop, Claude Code, or Cursor | Away-from-home syncing and connecting multiple AI agents |
Frequently asked questions
Can I inspect what the Local receiver installs and stores?
Yes. The Local receiver is open source at github.com/littlenew117/mibly-apple-health-mcp, so you can review how it ingests, stores, and exposes your Apple Health data before running it.
Looking for a step-by-step Claude walkthrough?
Read the dedicated Connect Apple Health to Claude guide for Claude Desktop, Claude Code, and global/European setup instructions.
Does Mibly require an Apple Developer account or Xcode?
No. Mibly is distributed directly on the App Store, so you never have to compile a Swift app or renew developer certificates.
Skip the XML exports. Connect Apple Health over MCP.
Install Mibly on iPhone, inspect the open-source receiver on GitHub, and connect your favorite MCP agent in minutes.