All plugins

healthrelay

Read-only access to your own Apple Health data through a self-hosted HealthRelay receiver. Portable Agent Plugins v1 package with one stdio MCP server (ten read-only tools, including intake evidence; no raw SQL, no write tools) and three skills for setup, review and troubleshooting. Requires your own HealthRelay receiver (health-bridge) and an iPhone app you sign yourself; the plugin ships neither. Disclosure — exposes your Apple Health data, read-only, from your own receiver database to whichever model you run, so use a local model or one you trust with health data; runs the separately installed health-bridge binary from PATH; the setup skill can install the receiver from the author's git tag with uv tool install.

mwdearingToolsv0.4.6Updated 5 days ago

About

Read-only access to your own Apple Health data through a self-hosted HealthRelay receiver. Portable Agent Plugins v1 package with one stdio MCP server (ten read-only tools, including intake evidence; no raw SQL, no write tools) and three skills for setup, review and troubleshooting. Requires your own HealthRelay receiver (health-bridge) and an iPhone app you sign yourself; the plugin ships neither. Disclosure — exposes your Apple Health data, read-only, from your own receiver database to whichever model you run, so use a local model or one you trust with health data; runs the separately installed health-bridge binary from PATH; the setup skill can install the receiver from the author's git tag with uv tool install.

hermes-healthrelay

A Hermes Agent plugin that gives your agent read-only access to your own Apple Health data through a self-hosted HealthRelay receiver.

It is a portable Agent Plugins v1 package: one stdio MCP server plus three skills. It does not contain the receiver or the iPhone app.

Setting up the whole chain (app and receiver, this plugin, hermes-health-insights, hermes-medlog)? Follow the Full setup guide: one ordered walkthrough with a check after each step.

Privacy and trust

  • Your data stays on your machine. The MCP server reads your local receiver database; nothing is sent to a hosted relay.
  • The MCP tools are read-only. There is no raw SQL and there are no write tools.
  • Enabling any Hermes plugin grants its skills and executable full trust. Read bin/healthrelay-mcp (a short shell script) before enabling.
  • No credentials or database paths are stored in this package.

Install

hermes plugins install mwdearing/hermes-healthrelay --no-enable
hermes plugins enable healthrelay

Then follow the healthrelay-setup skill: install the receiver and the app from health-relay (use the latest stable release), and write your receiver database path on one line to ~/.config/healthrelay/db-path. That file is the one supported route; environment variables exported in the Hermes shell do not reach the plugin. Then check it and start a new Hermes session:

"${HERMES_HOME:-$HOME/.hermes}/plugins/healthrelay/bin/healthrelay-mcp" --check

Hermes names the install folder after the plugin manifest (healthrelay), not the repository; hermes plugins list shows the name. --check prints the HOME it read the db-path file from, the database source, path and readability, the health-bridge it found on PATH and its version, and ends with result: OK (exit 0) or result: NOT READY (exit 2). Local paths (the HOME, the db-path file, the database path and the launcher) are redacted as <redacted: local path, pass --show-paths>; add --show-paths when you need the real values on the local machine, and do not paste them anywhere. When a readable database path is set it also prints one schema: line saying whether the receiver has the intake-context migrations 013 and 014 (intake context ready, intake context not available, or not checked with the reason); those migrations are in the pinned receiver release healthrelay-receiver-2026.11.24 (and in 2026.10.12) and any newer receiver from health-relay main; that line only reads the migration list, never your data, and never changes the exit code. The db-path file must be in the HOME of the Hermes process, because that is the HOME the MCP server gets; on a plain host that is your normal HOME, in Docker it can differ from the agent terminal's HOME. The MCP server only loads at session start. Clearer tool descriptions and error messages arrive with the next HealthRelay receiver release.

Add --json to the same command for the machine-readable form: one JSON object on stdout, nothing else, with the same exit codes. It is meant for scripts and agents, not for reading by eye.

"${HERMES_HOME:-$HOME/.hermes}/plugins/healthrelay/bin/healthrelay-mcp" --check --json
{"home": "<redacted: local path, pass --show-paths>", "db_path_file": "<redacted: local path, pass --show-paths>", "db_path_file_found": true, "database_source": "db_path_file", "database_path": "<redacted: local path, pass --show-paths>", "database_readable": true, "launcher": "<redacted: local path, pass --show-paths>", "health_bridge_version": "health-bridge 1.4.0", "schema": "ready", "result": "ok"}

The path-valued keys (home, db_path_file, database_path, launcher) hold <redacted: local path, pass --show-paths> instead of a value; --check --json --show-paths prints the real values for local use, and null still means nothing is set. database_source is environment (a HEALTHRELAY_DB you exported yourself), db_path_file or none; database_path, launcher and health_bridge_version are null when nothing is set; schema is ready, not_available or not_checked; result is ok (exit 0) or not_ready (exit 2). The plain --check report is unchanged.

If the healthrelay tools are missing after you enable the plugin, look in hermes logs mcp (or ~/.hermes/logs/mcp-stderr.log) for mcp package not installed. Some images (for example the Docker image) have no recorded dependency selection, and enabling a plugin then rebuilds the environment without the mcp extra; run hermes pm install --extra mcp, then start a new session. A plain host install that already records extras keeps mcp and does not need this. Plugin-declared MCP servers do not appear in hermes mcp list or hermes mcp test; check hermes logs mcp or the tool list of a new session instead.

Upgrade

hermes plugins update healthrelay refuses installs pinned to a commit. Move to a new commit with:

hermes plugins install mwdearing/hermes-healthrelay --force --ref <40-character commit sha>

--force keeps the plugin enabled or disabled as it was. Start a new session afterwards.

What you get

PiecePurpose
MCP server healthrelayTen read-only tools, listed below
Skill healthrelay-setupConnect the receiver and verify the first sync
Skill healthrelay-reviewAnswer questions with aggregates first, flag data quality, no medical advice
Skill healthrelay-troubleshootFind why data is missing or stale

Tools

ToolAnswers
get_bridge_statusWhether the receiver is syncing: latest status, record counts, cursors
get_bridge_context_markdownA short redacted Markdown overview of the store
list_supported_timeseries_typesWhich metric types the bridge knows about, synced or not
list_synced_metricsWhich metric types have data here; the valid type_codes
get_timeseriesRaw samples for metric types in a UTC time range (max 500 points)
get_workoutsWorkouts that started in a date range
get_sleep_summarySleep sessions and time per stage in a date range
get_daily_summaryPer-day totals and statistics across metrics
explain_sourcesThe devices and apps behind the data
get_intake_evidence_v1Which HealthKit sample each intake component claims and whether it is stored here from the registered writer; identifiers, link status and the producer-supplied component amount and unit, never HealthKit sample values

Intake evidence needs a receiver with migrations 013 and 014; an older receiver returns an empty answer. The current pinned release is healthrelay-receiver-2026.11.24 (database migrations through 021; healthrelay-receiver-2026.10.12 is the oldest pinned release that has 013 and 014, and any newer receiver from health-relay main has them too). Install that exact release with:

uv tool install "git+https://github.com/mwdearing/health-relay.git@healthrelay-receiver-2026.11.24"

Upgrading an existing receiver from 2026.10.12 migrates its database on the first start (migrations 015 to 021), and there is no supported way back to 2026.10.12 without a backup: copy the database first, for example sqlite3 <db> ".backup <copy>", and read the release notes.
Receiving intake context is opt-in on the receiver: register the producer, issue its token into a private file with intake-create-token --output-secret and start the receiver with --enable-intake-context, then confirm with health-bridge receiver intake-smoke. The healthrelay-setup skill has the ordered flow and healthrelay-troubleshoot has the symptom table; the same evidence page is readable from a terminal with health-bridge query intake-evidence --db <db>.

Date ranges use YYYY-MM-DD with an inclusive start and an EXCLUSIVE end (one day is 2026-06-03 to 2026-06-04); timestamps look like 2026-06-01T00:00:00Z.

Uninstall

hermes plugins uninstall healthrelay
rm -f ~/.config/healthrelay/db-path    # optional: forget the database path

Use the name that hermes plugins list shows. This removes the plugin only; the receiver, its database and the iPhone app are untouched.

License

Apache-2.0. Not affiliated with Apple. Informational only, not medical advice.

README from the reviewed commit e543131; it updates when the author re-pins.

More by mwdearing

2 plugins by mwdearing in the catalog.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section