Self-hosted MCP server for Android Health Connect β 34 metrics, daily rollups, dedup, 5 LLM tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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.
| App | Endpoint | Format | Best for |
|---|---|---|---|
| life-dashboard-companion-app v1.4.0 | POST /ingest/health | source: "health_connect" required | Incremental sync, 200 records per type |
| HC Webhook | POST /ingest/hc-webhook | source optional, rmssd_millis HRV, extra types | Full sync, all types in one POST |
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.
See docs/ANDROID.md for step-by-step instructions.
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.
| Tool | Description |
|---|---|
daily_summary | Daily health rollups: steps, distance, calories, sleep, HR, weight |
metric_series | Time series for any metric with day/week bucketing |
sleep_detail | Detailed sleep sessions with stages (deep, REM, light, awake) |
get_sync_health | Per-type sync status: last event, coverage, gaps, errors |
inspect_last_payload | Raw payload metadata and app diagnostics |
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.
/debug.data/.MIT β see LICENSE.
life-dashboard-companion-app v1.4.0
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/health-hub-mcp)<a href="https://allmcps.com/mcp/health-hub-mcp"><img src="https://allmcps.com/api/badge/health-hub-mcp?style=directory" alt="Health Hub MCP on AllMCPs" /></a>