The Key the Service Never Sees: What Losing It Costs on an Encrypted Apple Health Relay Versus a File on Your Mac

An end-to-end encrypted relay and a passphrase-sealed file on your own Mac make the same promise: the people running the service cannot read your health data. The difference shows up on the day you lose the secret. Here is what each design costs you then, taken from each side's own documents.

By MetricBridge · Published 6 December 2026 · ~7 min read

AI-assisted, human reviewed. How we use AI

Quick answer

On an encrypted relay, a lost key means the service cannot help you: its own privacy page says it cannot recover the key, so the encrypted copies it holds stay shut until you rotate the key and let the phone send everything again. With a passphrase-sealed file on your Mac the cost is the same shape. Nobody can recover the passphrase, including us, and the fix is to delete the sealed files, set a new passphrase and export again. Apple Health on the phone is the source in both cases, so a lost secret costs you time, not your history. What neither design fixes: once an agent reads a number, the model provider sees it.

Two designs, one promise

Health MCP is an iPhone app plus a relay. It encrypts each file on the phone with AES-256-GCM, uploads the ciphertext, and a client on your computer holds the key and decrypts locally. Its privacy page states that the key is never sent to the service and that the service cannot recover it. That is a real design, and it gives live sync without handing a vendor your plaintext.

MetricBridge takes the other road. With Export encryption switched on, the app seals each export on the iPhone (AES-256-GCM, a key derived from a passphrase you choose) before it reaches iCloud Drive, a folder, your server or your local network. The open-source MCP server decrypts in memory, on your own computer, when you give it the same passphrase. There is no relay. No server of ours sits in the path, and your health data never reaches us or a cloud AI.

The day you lose it

Encrypted relay (Health MCP)Passphrase-sealed file (MetricBridge)
Who can recover the secret Nobody. The service cannot recover the key. Nobody, including us. The app asks you to confirm this before it saves.
What the lost secret locks The encrypted cache at the service. The sealed export files wherever you sent them.
The way out Rotate the key: connections are revoked, the cache is removed and a new backfill starts under the new key. Delete the sealed exports, set a new passphrase of at least 12 characters, export again.
What the way out costs Re-approving every connection, then waiting for the backfill. A fresh export from the phone, and your server pointed at the new files.

The relay column comes from Health MCP's privacy page, which we read on 6 December 2026. The way-out row for the relay is our reading of its rotation rules, not a recovery procedure it publishes for a lost key, so check its support page before you rely on it. The MetricBridge column comes from the app's own screens: the confirmation reads "I understand that if I lose this passphrase, my encrypted exports can't be recovered by anyone, including MetricBridge", and exports sealed under another passphrase show "Enter that passphrase in Settings, or delete the exports."

If a phone is restored with the encryption switches still on and no key, the app offers a Turn off encryption path that does not ask you to invent a passphrase first. That is the less obvious half of recovery: getting out of a locked state without a secret you no longer have.

What happens when the secret is wrong, not lost

A quieter failure is typing the wrong one. We ran the open-source server's envelope tool against one sealed test file on 6 December 2026. The right passphrase printed the JSON and exited 0. A wrong one exited 1 with:

envelope: This health export is encrypted with a different passphrase than HEALTH_EXPORT_PASSPHRASE.
Use the passphrase set in the MetricBridge app (Settings > Export encryption).

No passphrase at all also exited 1, with a message that names HEALTH_EXPORT_PASSPHRASE and HEALTH_EXPORT_PASSPHRASE_FILE. The server reports a wrong or missing passphrase as exactly that, never as "no data". An agent told "no data" will cheerfully report an empty history.

Where each design is weaker

The relay's secret is random. Health MCP says new keys carry 130 bits of entropy, so nobody can guess one. Ours is a passphrase you pick. The server's README is blunt about it: a weak passphrase can be guessed offline by anyone who holds the files, and the app requires at least 8 characters (12 for a new one). HEALTH_EXPORT_PASSPHRASE_FILE keeps it out of your shell history.

The relay has to keep a catalog the service can read: series names, first and last dates, sample counts, file sizes and sync timestamps. No measurements, but it shows which kinds of data you have. A sealed file hides its contents but not its size or timing from whatever stores it. The relay also wins for some people: it syncs live and needs no folder on a Mac. It connects through a local client that needs Node.js 22 or later, and clients that accept only a remote MCP URL cannot use it, by its own blog's account. Our longer view of that split is a remote MCP server versus a file on your Mac.

The caveat both designs share

Encryption protects the pipe and the storage. It does not protect the conversation. When an agent reads your resting heart rate, that number becomes part of a chat the model provider processes under its own terms. Health MCP says this plainly on its blog, and our README's list of what encryption does not cover includes the computer that holds the passphrase. Neither design lets you skip that choice. A model on your own hardware closes the gap, with the quality and speed trade-offs that come with it. Our post on read-only scoping covers the narrower question of what an agent should be able to reach in the first place.

How to choose

  • Remote-only clients, or live sync with no folder: the relay fits. Keep the key in a password manager.
  • No service in the path, and a server you can read: the sealed file fits. The MCP server is open source, has no runtime dependencies and makes zero network calls.

Either way, back up the secret before you encrypt anything. Both designs let you lose it. Neither lets anyone get it back.

Trying the local-file route? MetricBridge seals the export on the iPhone when you switch on Settings > Export encryption, and the open-source MCP server (GitHub) decrypts it on your Mac with the same passphrase.

FAQ

What happens if I lose the key to an end-to-end encrypted Apple Health relay?

The service cannot recover it, by its own privacy page, so the encrypted copies it holds stay unreadable. Rotating the key removes the cache and starts a new backfill under a new key.

What happens if I lose the passphrase for an encrypted MetricBridge export?

Nobody can recover it, including MetricBridge. The app asks you to confirm that before it saves the passphrase. The data is not gone, because Apple Health on the phone is the source: delete the sealed exports, set a new passphrase and export again.

Does end-to-end encryption stop the AI model from seeing my health data?

No. Both hide it from the service. Once an agent reads a value, the model provider processes it under its own terms.

Which design leaks less metadata?

A relay keeps an unencrypted catalog: series names, dates, sample counts, sizes and timestamps. A sealed file exposes only its size and timing to wherever it is stored.

Seal it on the phone, read it on your Mac

7-day free trial, then $24.99 once. No account, no relay.

Where it goes: to the destination you pick, sealed if you switch encryption on. Your health data never reaches us or a cloud AI; the MCP server makes zero network calls. Wellness information, not medical advice. What you get: 194 metrics as local JSON or CSV.