Delx Living Body

io.github.davidmosiah由 GitHub 账号 davidmosiah 发布v0.3.0更新于 Oct 24, 2026

Meta-MCP that auto-detects installed wellness connectors and composes them into one body data layer.

概览

AI 生成的概览

一个本地元 MCP,自动检测已安装的健康类连接器,并把它们组合成统一的身体数据层,用于训练、恢复、睡眠和营养问题。

可以做什么
检查 15 个已知健康连接器中哪些已安装,并为缺失的连接器给出安装提示,同时提供能力矩阵和自描述。用自然语言提出准备度问题,获得带规则推理轨迹和分来源置信度的综合建议。根据各连接器的每日摘要生成 Markdown 每日简报。把多个来源合并为规范化的健康上下文结构,供下游代理使用。运行无需密钥的合成数据演示。
适用场景
当你已经运行多个健康类 MCP 服务器(如 WHOOP、Oura、Garmin 或营养类)时适用,希望有一个入口直接回答今天是否该高强度训练之类的问题,而不必逐个编排各服务器。
运行要求
通过 npx 在本地运行(需要 Node.js)。自身无认证;各子连接器自行处理凭据。子连接器通过 npx 启动,因此需要网络访问以获取软件包。可选环境变量用于设置缓存路径、检测缓存有效期、禁用缓存和 npm 运行器。可选仅限本机回环的 HTTP 传输。
安装前请注意
它会将检测到的子连接器作为子进程启动并调用其工具,可能读取个人健康数据;响应会缓存在本地 SQLite 文件中。只有在设置 explicit_user_intent 时才会请求子连接器的原始输出。输出仅为运营参考,不构成医疗建议。请审查已安装的子连接器,因为凭据由它们持有。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Delx Living Body,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

delx-living-body

Meta-MCP that turns 15 wellness MCPs into one unified body data layer for AI agents.

[npm] [GitHub Release] [npm downloads] [license] [conduct] [Delx Wellness] [Verified Release Index]

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:

  1. Auto-detects which of 15 Delx Wellness connectors you already have installed locally — no manual config
  2. Composes parallel calls to the right subset
  3. 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.

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.


HTTP (v2 stateless)

Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:

bash
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.

  • 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-body never 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

bash
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)

bash
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)

ToolPurpose
living_body_statusWhich connectors are detected? Safe; no subprocess spawning.
living_body_askMain tool. Spawns detected children in parallel, returns synthesized answer. Requires explicit_user_intent: true.
living_body_daily_briefMarkdown brief built from each connector's daily_summary.
living_body_compose_contextNormalized delx-wellness-context/v1 shape merged across sources.
living_body_health_checkAll 15 known connectors with install hints for missing ones.
living_body_capabilitiesSelf-description + per-connector availability matrix.

How detection works

For each known connector, delx-living-body checks:

  1. ~/.<vendor>-mcp/tokens.json exists
  2. ~/.<vendor>-mcp/config.json exists (password-based connectors like Eight Sleep)
  3. An export file at the path in the vendor's env var (Apple Health, Samsung Health)
  4. ~/.delx-wellness/profile.json lists 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)

IDPackageCategory
whoopwhoop-mcp-unofficialrecovery
ouraoura-mcp-unofficialsleep
garmingarmin-mcp-unofficialrecovery
stravastrava-mcp-unofficialtraining
fitbitfitbit-mcp-unofficialrecovery
google_healthgoogle-health-mcp-unofficialmulti
withingswithings-mcp-unofficialmulti
apple_healthapple-health-mcp-unofficialmulti
samsung_healthsamsung-health-mcp-unofficialmulti
polarpolar-mcp-unofficialtraining
eight_sleepeight-sleep-mcp-unofficialsleep
nourishwellness-nourishnutrition
airwellness-airenvironment
cycle_coachwellness-cycle-coachcycle
cgmwellness-cgm-mcpglucose

Composition flow

When living_body_ask or living_body_compose_context runs:

  1. Detect installed connectors.
  2. For each, spawn it as a child MCP via npx -y <package> over StdioClientTransport.
  3. Call the child's *_wellness_context (or *_daily_summary) tool in parallel.
  4. Normalize results into a delx-wellness-context/v1 shape with merged scores.
  5. 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 bands
  • bb_low / bb_high — Garmin Body Battery bands
  • sleep_poor / sleep_good — sleep score bands
  • strain_high — WHOOP strain ≥ 18
  • cycle_luteal / cycle_follicular — cycle phase signals
  • load_high / load_low — aggregate training load
  • no_data — nothing installed, advisory only
  • conflict — sources disagree → low confidence

Privacy & security

  • delx-living-body never 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=structured by default. raw is only honored when the caller sets explicit_user_intent: true on living_body_ask.
  • Child responses are not logged verbatim — only counts and summary fields.
  • Per-child call timeout: 30s. A hanging child is marked timeout and skipped.
  • Cache lives at ~/.delx-living-body/cache.sqlite (chmod 600), 5 min TTL. Disable with DELX_LIVING_BODY_NO_CACHE=true.
  • No phone-home from delx-living-body itself.

See SECURITY.md for the full threat model.

Env vars

VariableDefaultPurpose
DELX_LIVING_BODY_DETECT_TTL60Detection cache TTL in seconds
DELX_LIVING_BODY_NO_CACHEunsetDisable SQLite response cache
DELX_LIVING_BODY_CACHE_PATH~/.delx-living-body/cache.sqliteOverride cache path
DELX_LIVING_BODY_NPM_RUNNERnpxOverride npm runner for child spawning
DELX_LIVING_BODY_CHILD_OVERRIDE_<ID>unsetOverride child binary path (testing only)
LIVING_BODY_MCP_HOST / LIVING_BODY_MCP_PORT127.0.0.1 / 3030HTTP transport bind address

CLI

bash
living-body-mcp-server                # MCP stdio server (default)living-body-mcp-server --http         # Local HTTP transportliving-body-mcp-server doctor         # Detect installed connectorsliving-body-mcp-server doctor --json  # JSON outputliving-body-mcp-server setup          # Print profile path + install hintsliving-body-mcp-server demo           # Zero-secret end-to-end demo (--scenario=red, --help)living-body-mcp-server version

Use with Claude Desktop

json
{  "mcpServers": {    "living-body": {      "command": "npx",      "args": ["-y", "delx-living-body"]    }  }}

Use with Cursor

json
{  "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.

Dense series

When child connectors expose *_series tools (agent-safe-series/v1), prefer them over raw stream dumps.

Skill or MCP

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:

bash
npx -y delx-living-body call living_body_connection_status --json '{}'

Copy skill/SKILL.md into your agent skills dir.

来源:README.md,提交 f795276

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分