Delx Living Body
Meta-MCP that auto-detects installed wellness connectors and composes them into one body data layer.
README
delx-living-body
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:
- Auto-detects which of 15 Delx Wellness connectors you already have installed locally — no manual config
- Composes parallel calls to the right subset
- Synthesizes a natural-language answer plus a structured reasoning trace and per-source confidence — using rule-based reasoning, no LLM calls
Install it once. Get a unified body data layer. Works with whatever wellness MCPs you already have.
If it helps your agent workflow, star the repo. Stars make the single-entry Delx Wellness path easier for other AI builders to find.
- Try it now, no accounts —
npx -y delx-living-body demo("Should I train hard today?") - Run it in Claude · Cursor · ChatGPT · Hermes · OpenClaw — see agent setup examples
- Local-first —
delx-living-bodynever reads your tokens; children read their own creds (privacy) - Which connector should I use? — start at the Delx Wellness front door
The three flagship connectors this composes over: google-health-mcp (google-health-mcp-unofficial), garmin-mcp (garmin-mcp-unofficial), and wellness-nourish (wellness-nourish).
Install
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.
See the full agent demo → "Should I train hard today?" (no accounts needed)
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.
Tools (6)
| 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. |
How detection works
For each known connector, delx-living-body checks:
~/.<vendor>-mcp/tokens.jsonexists~/.<vendor>-mcp/config.jsonexists (password-based connectors like Eight Sleep)- An export file at the path in the vendor's env var (Apple Health, Samsung Health)
~/.delx-wellness/profile.jsonlists the device
If 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).
Known connectors (15)
| 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 |
Composition flow
When living_body_ask or living_body_compose_context runs:
- Detect installed connectors.
- For each, spawn it as a child MCP via
npx -y <package>over StdioClientTransport. - Call the child's
*_wellness_context(or*_daily_summary) tool in parallel. - Normalize results into a
delx-wellness-context/v1shape with merged scores. - Run the synthesizer (rule-based, offline) to produce a recommendation + reasoning trace.
Critically: delx-living-body never calls an LLM. Synthesis is deterministic so downstream agents can reason on top of a stable trace.
Synthesizer rules
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 confidence
Privacy & security
delx-living-bodynever reads child connector tokens or config files — children read their own credentials independently.- Upstream secret env vars (
*_CLIENT_SECRET,*_ACCESS_TOKEN,*_REFRESH_TOKEN,*_API_KEY,*_PASSWORD) are stripped before spawning children. - Children are spawned with
privacy_mode=structuredby default.rawis only honored when the caller setsexplicit_user_intent: trueonliving_body_ask. - Child responses are not logged verbatim — only counts and summary fields.
- Per-child call timeout: 30s. A hanging child is marked
timeoutand skipped. - Cache lives at
~/.delx-living-body/cache.sqlite(chmod 600), 5 min TTL. Disable withDELX_LIVING_BODY_NO_CACHE=true. - No phone-home from
delx-living-bodyitself.
See SECURITY.md for the full threat model.
Env vars
| 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 |
CLI
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
Use with Claude Desktop
{
"mcpServers": {
"living-body": {
"command": "npx",
"args": ["-y", "delx-living-body"]
}
}
}
Use with Cursor
{
"mcpServers": {
"living-body": { "command": "npx", "args": ["-y", "delx-living-body"] }
}
}
Not medical advice
Outputs are operational context for training/recovery/sleep/nutrition agents. Not for medical diagnosis or clinical use.
License
MIT — see LICENSE. Built by David Mosiah.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。