
Health Hub MCP
io.github.naymEvgPublished by GitHub account naymEvgv0.1.0Updated Oct 24, 2026
Self-hosted MCP server for Android Health Connect — 34 metrics, daily rollups, dedup, 5 LLM tools.
Overview
Self-hosted MCP server that ingests Android Health Connect data and exposes aggregated health metrics to LLM clients through five tools.
- What you can do
- Read daily health rollups such as steps, distance, calories, sleep, heart rate and weight
- Query time series for any metric with day or week bucketing
- Inspect detailed sleep sessions with deep, REM, light and awake stages
- Check per-type sync status, coverage, gaps and errors
- View raw payload metadata and app diagnostics for troubleshooting ingestion
- When to use it
- Useful if you already run a self-hosted Health Hub instance fed by an Android companion app and want an assistant to answer questions about your own steps, sleep, heart rate and other Health Connect metrics.
- Requirements
- A self-hosted deployment on a host with Docker and Docker Compose, a domain with TLS, and an Android 14+ device running the companion app or HC Webhook client. The MCP endpoint is reached over streamable HTTP with an Authorization header containing a Bearer token; the server also needs DEVICE_TOKEN and MCP_TOKEN configured in its environment.
Installation
In SourceWeft
- Open Health Hub MCP in the dashboard and add it to a workspace.
- Connect Authorization token credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Other MCP clients
Follow the launch instructions in the repository.
README
Health Hub MCP Server
Personal MCP server that ingests Health Connect data from an Android companion app and exposes aggregated health metrics to LLM clients over the Model Context Protocol.
The companion app reads raw records from Health Connect and pushes them to this server. The server normalizes, deduplicates, and rolls them up into daily aggregates, then exposes them to LLM clients (Claude, Perplexity, OpenCode) through five MCP tools. Raw events are never handed to the model by default — only rolled-up summaries with explicit caveats so the model cannot silently fabricate missing data.
Requirements
- Android 14+ with life-dashboard-companion-app v1.4.0+
- Any host with Docker and Docker Compose
- Domain with TLS (Caddy handles certificates automatically)
Quick Start
Companion Apps
The server accepts health data from two Android apps via separate endpoints. Both write to the same database and use content-hash deduplication — sending the same data from both apps will not double-count.
Both endpoints require:
The HC Webhook endpoint also accepts 5 additional Health Connect types not present in the companion app: skin_temperature, basal_metabolic_rate, vo2_max, intermenstrual_bleeding, body_water_mass. Unknown type keys are silently tolerated — only types in the server's registry are processed.
Connect Your Phone
See docs/ANDROID.md for step-by-step instructions.
Connect an LLM
Add to Claude Desktop config (claude_desktop_config.json):
For Perplexity, OpenCode, or other MCP clients, use the same URL and token. The Authorization header must include the Bearer prefix — the server rejects requests without it.
MCP Tools
Each tool returns an object (never a bare array) with a caveats: string[] field that warns the model about missing days, overlapping records, or aggregation changes. Responses are capped at 400 objects.
Known Limitations
- No record IDs from Health Connect — deduplication is content-hash based
- Multiple data sources (phone + watch) can cause double-counting for cumulative metrics. The server suppresses overlapping intervals, but this is a heuristic. Check the comparison panel on
/debug. - App sync cursor only moves forward — records added to Health Connect retroactively may not arrive
- Health Connect does not provide data older than 30 days without re-authorization — the server IS your archive. Back up
data/.
License
MIT — see LICENSE.
Companion App
life-dashboard-companion-app v1.4.0
Source: README.md at commit fec00ab
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
60% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts