Meta-MCP that auto-detects installed wellness connectors and composes them into one body data layer.
Meta-MCP that turns 15 wellness MCPs into one unified body data layer for AI agents.
Today, answering "should I train hard today?" forces an agent to orchestrate WHOOP recovery, Garmin Body Battery, Oura sleep, Nourish nutrition, and cycle phase across five separate MCP servers. That's brittle for users and confusing for the agent.
delx-living-body is one MCP server that:
Install it once. Get a unified body data layer. Works with whatever wellness MCPs you already have.
Compose matrix (which children have *_series vs summary-only): docs/compose-matrix.md.
Pin drift: docs/pin-drift.md.
If it helps your agent workflow, star the repo. Stars make the single-entry Delx Wellness path easier for other AI builders to find.
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
npx -y delx-living-body --http
# GET http://127.0.0.1:3030/health
# POST http://127.0.0.1:3030/mcp (sessionless)
Env: LIVING_BODY_MCP_HOST, LIVING_BODY_MCP_PORT, LIVING_BODY_MCP_TRANSPORT=http.
npx -y delx-living-body demo ("Should I train hard today?")delx-living-body never reads your tokens; children read their own creds (privacy)The three flagship connectors this composes over: google-health-mcp (google-health-mcp-unofficial), garmin-mcp (garmin-mcp-unofficial), and wellness-nourish (wellness-nourish).
npx -y delx-living-body
That's the whole install. No OAuth flow, no API keys — delx-living-body has no auth of its own. Each child connector handles its own credentials.
npx -y delx-living-body demo
One command, no clone. The demo boots the real MCP server, fakes three
installed connectors (WHOOP + Oura + Garmin, backed by a bundled stub child that
carries synthetic body data), and drives it over stdio exactly the way an agent
does. No real accounts, API keys, or network. Add --scenario=red to see the
low-readiness ("back off today") path; demo --help lists options. Captured
output lives at
examples/demo-what-should-i-do-today.txt:
2) living_body_ask question="What should I do today?"
────────────────────────────────────────────────────────────────
Recommendation:
Today at a glance: recovery 74, sleep 83, body battery 68.
Confidence: high Sources: whoop, oura, garmin
3) living_body_ask question="Should I train hard today?"
────────────────────────────────────────────────────────────────
Recommendation:
Green light for a hard session. Recovery and sleep both support high intensity.
Confidence: high Sources: whoop, oura, garmin
Reasoning trace (rule-based, no LLM):
Intent classified as: training_readiness
- (rec_high) Recovery 74 supports a high-intensity day.
- (sleep_good) Sleep score 83 is supporting recovery.
One question in → one synthesized answer composed across all three connectors, with a stable reasoning trace and zero LLM calls. This is the Body-vertical entrypoint: install once, ask in plain language, get a unified answer.
| Tool | Purpose |
|---|---|
living_body_status | Which connectors are detected? Safe; no subprocess spawning. |
living_body_ask | Main tool. Spawns detected children in parallel, returns synthesized answer. Requires explicit_user_intent: true. |
living_body_daily_brief | Markdown brief built from each connector's daily_summary. |
living_body_compose_context | Normalized delx-wellness-context/v1 shape merged across sources. |
living_body_health_check | All 15 known connectors with install hints for missing ones. |
living_body_capabilities | Self-description + per-connector availability matrix. |
For each known connector, delx-living-body checks:
~/.<vendor>-mcp/tokens.json exists~/.<vendor>-mcp/config.json exists (password-based connectors like Eight Sleep)~/.delx-wellness/profile.json lists the deviceIf any check passes → detected. Otherwise → missing (with install hint). Stateless connectors (Cycle Coach) are always considered available.
Detection results cache for 60s (DELX_LIVING_BODY_DETECT_TTL).
| ID | Package | Category |
|---|---|---|
whoop | whoop-mcp-unofficial | recovery |
oura | oura-mcp-unofficial | sleep |
garmin | garmin-mcp-unofficial | recovery |
strava | strava-mcp-unofficial | training |
fitbit | fitbit-mcp-unofficial | recovery |
google_health | google-health-mcp-unofficial | multi |
withings | withings-mcp-unofficial | multi |
apple_health | apple-health-mcp-unofficial | multi |
samsung_health | samsung-health-mcp-unofficial | multi |
polar | polar-mcp-unofficial | training |
eight_sleep | eight-sleep-mcp-unofficial | sleep |
nourish | wellness-nourish | nutrition |
air | wellness-air | environment |
cycle_coach | wellness-cycle-coach | cycle |
cgm | wellness-cgm-mcp | glucose |
When living_body_ask or living_body_compose_context runs:
npx -y <package> over StdioClientTransport.*_wellness_context (or *_daily_summary) tool in parallel.delx-wellness-context/v1 shape with merged scores.Critically: delx-living-body never calls an LLM. Synthesis is deterministic so downstream agents can reason on top of a stable trace.
14 heuristic rules, each with a stable rule_id that appears in the reasoning trace:
rec_low / rec_mid / rec_high — recovery score bandsbb_low / bb_high — Garmin Body Battery bandssleep_poor / sleep_good — sleep score bandsstrain_high — WHOOP strain ≥ 18cycle_luteal / cycle_follicular — cycle phase signalsload_high / load_low — aggregate training loadno_data — nothing installed, advisory onlyconflict — sources disagree → low confidencedelx-living-body never reads child connector tokens or config files — children read their own credentials independently.*_CLIENT_SECRET, *_ACCESS_TOKEN, *_REFRESH_TOKEN, *_API_KEY, *_PASSWORD) are stripped before spawning children.privacy_mode=structured by default. raw is only honored when the caller sets explicit_user_intent: true on living_body_ask.timeout and skipped.~/.delx-living-body/cache.sqlite (chmod 600), 5 min TTL. Disable with DELX_LIVING_BODY_NO_CACHE=true.delx-living-body itself.See SECURITY.md for the full threat model.
| Variable | Default | Purpose |
|---|---|---|
DELX_LIVING_BODY_DETECT_TTL | 60 | Detection cache TTL in seconds |
DELX_LIVING_BODY_NO_CACHE | unset | Disable SQLite response cache |
DELX_LIVING_BODY_CACHE_PATH | ~/.delx-living-body/cache.sqlite | Override cache path |
DELX_LIVING_BODY_NPM_RUNNER | npx | Override npm runner for child spawning |
DELX_LIVING_BODY_CHILD_OVERRIDE_<ID> | unset | Override child binary path (testing only) |
LIVING_BODY_MCP_HOST / LIVING_BODY_MCP_PORT | 127.0.0.1 / 3030 | HTTP transport bind address |
living-body-mcp-server # MCP stdio server (default)
living-body-mcp-server --http # Local HTTP transport
living-body-mcp-server doctor # Detect installed connectors
living-body-mcp-server doctor --json # JSON output
living-body-mcp-server setup # Print profile path + install hints
living-body-mcp-server demo # Zero-secret end-to-end demo (--scenario=red, --help)
living-body-mcp-server version
{
"mcpServers": {
"living-body": {
"command": "npx",
"args": ["-y", "delx-living-body"]
}
}
}
{
"mcpServers": {
"living-body": { "command": "npx", "args": ["-y", "delx-living-body"] }
}
}
Outputs are operational context for training/recovery/sleep/nutrition agents. Not for medical diagnosis or clinical use.
MIT — see LICENSE. Built by David Mosiah.
When child connectors expose *_series tools (agent-safe-series/v1), prefer them over raw stream dumps.
Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:
npx -y delx-living-body call living_body_connection_status --json '{}'
Copy skill/SKILL.md into your agent skills dir.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y delx-living-bodyMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-davidmosiah-delx-living-body": {
"command": "npx",
"args": [
"-y",
"delx-living-body"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencedelx-living-bodynpmio.github.davidmosiah/delx-living-body works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.