Wellness Cycle Coach

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

Local-first cycle coach MCP for phase-aware nutrition and training context.

已验证STDIO仅桌面位置与生活AI 与机器学习

概览

AI 生成的概览

本地运行、无状态的 MCP 服务器,把经期开始日期换算为月经周期阶段,并给出分阶段的营养、训练与补水建议。

可以做什么
  • 根据传入的经期开始日期估算当前周期阶段、周期天数和置信度,并按平均周期长度预测下次经期。
  • 获取当前阶段的营养、训练与补水建议,或一次调用取得合并的完整报告。
  • 依据历史记录筛查周期不规律或类似多囊卵巢综合征的情况,并查询任意指定阶段的建议。
  • 查看服务器自身信息:运行时约定、能力清单、连接状态、隐私审计、数据清单、快速上手与示例响应。
  • 读取、引导填写并更新可选的本地健康偏好档案(仅非敏感信息)。
适用场景
适合希望助手把健身、营养或恢复建议与用户所处月经周期阶段相匹配的场景,包括周期不规律或多囊卵巢综合征的情况;也适合要求经期数据留在本机、不交给服务端存储的用户。
运行要求
以本地进程方式通过 npx(Node.js)运行,默认使用 stdio;可选的 Streamable HTTP 模式仅绑定回环地址,通过 WELLNESS_CYCLE_COACH_HOST、WELLNESS_CYCLE_COACH_PORT 和 WELLNESS_CYCLE_COACH_TRANSPORT 配置。无需账号、API 密钥或网络访问,经期日期作为工具参数传入。
安装前请注意
经期数据属于敏感健康信息:服务器声称无状态且不发起外部请求,但日期仍会经过助手及其模型提供方。档案工具会把非敏感偏好写入用户主目录下的本地文件,且需用户明确同意。输出不构成医疗建议、诊断、生育追踪或避孕指导。README 称 0.5.0 为候选版本,并不代表已发布。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Wellness Cycle Coach

Menstrual cycle coach MCP for AI agents — now with PCOS-aware mode.
Built so AI finally serves the 50% of users agents have ignored — without ever storing cycle data.

[npm version] [npm downloads] [License MIT] [Site]

[GitHub stars] [Built for MCP] [Hermes] [OpenClaw]

🌙 Why this exists: Most AI agents treat the body as a single context-free unit. But energy, recovery, training tolerance, nutrient needs and even cognitive bandwidth shift across the menstrual cycle. wellness-cycle-coach gives any agent phase-aware guidance — and never stores cycle data to do it.

⚡ One-command install — pick your runtime:


HTTP (v2 stateless)

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

bash
npx -y [email protected] --http# GET  http://127.0.0.1:3000/health# POST http://127.0.0.1:3000/mcp   (sessionless)

Env: WELLNESS_CYCLE_COACH_HOST, WELLNESS_CYCLE_COACH_PORT, WELLNESS_CYCLE_COACH_TRANSPORT=http.

Overview

Pass in period start dates (from any source — Apple Health Cycle, Garmin women's health, Fitbit female health, or direct user input) and get back the user's current phase plus phase-aware recommendations for nutrition, training, and hydration. Stateless — the MCP itself never persists cycle data. Supports PCOS-aware mode via the cycle_irregular flag (v0.3.3) — accepts cycles 21-90 days, caps confidence at 'low', and returns a luteal_extended placeholder when standard 14-day-luteal math no longer applies.

Try It In 60 Seconds

bash
npx -y [email protected] doctor
# Or use the MCP directly via your client:# {#   "mcpServers": {#     "wellness-cycle-coach": {#       "command": "npx",#       "args": ["-y", "[email protected]"]#     }#   }# }

Then in your agent:

json
{  "name": "cycle_full_report",  "arguments": {    "history": [      { "start_date": "2026-04-01" },      { "start_date": "2026-04-29" }    ]  }}

Returns current phase + nutrition emphasize/moderate/avoid + training style/intensity + hydration target + next-period estimate.

Tools (17)

ToolPurpose
cycle_agent_manifestRuntime contract
cycle_capabilitiesPhases, upstream connectors, metrics
cycle_connection_statusHealth + stateless reminder
cycle_privacy_auditWhat's logged (nothing) vs sent out (nothing)
cycle_data_inventoryPhase taxonomy + metric catalog
cycle_estimate_phaseCurrent phase + cycle day + confidence
cycle_predict_next_periodAverage cycle length + next-period date
cycle_phase_guidanceRecommendations for any specific phase
cycle_recommend_nutritionPhase-aware nutrition for current phase
cycle_recommend_trainingPhase-aware training for current phase
cycle_full_reportSingle-call combined report
cycle_irregular_checkPCOS / irregular-cycle screening from history
cycle_quickstartMinimal getting-started walkthrough
cycle_profile_getRead the shared Delx Wellness profile (read-only)
cycle_profile_updatePersist opt-in profile prefs (requires explicit user intent)
cycle_onboarding11-question onboarding flow for the shared profile
cycle_demoSample request/response for quick exploration

The 4-phase model

PhaseWhenEnergyNutrition emphasisTraining
menstrualdays 1 → period end (~5)LowerIron + magnesium + omega-3Restorative (yoga, walking, mobility)
follicularpost-period → ovulation - 2Rising / peakComplex carbs + lean protein + fermented foodsBuild (strength, sprints, new skills)
ovulatoryovulation ± 1 dayPeakAntioxidants + zincPeak (PRs, plyometrics)
lutealovulation + 2 → next periodFallingB vitamins + magnesium + complex carbsEndurance + technique

Why stateless?

Menstrual cycle data is medical-record sensitive. The strongest privacy guarantee is to never store it. Other apps (Flo, Clue) live by hoarding cycle data on their servers; this MCP refuses to participate. The agent passes data in, the coach returns guidance, the data evaporates.

Cross-connector wedge

Apple Health Cycle → period dates       ┐Garmin women's health → cycle context   ├─→ wellness-cycle-coach → phase + guidanceFitbit female health → period dates     ┘                                  │                                                                            │                                                                            ↓                                                            wellness-nourish coach                                                            (phase-aware meal planning)                                                                            │                                                            whoop-mcp / garminmcp / ouramcp                                                            (recovery-aware late-luteal load adjustments)

Privacy

  • ✅ Stateless for cycle data — period dates are never persisted; they stay in process memory for the duration of the call and evaporate.
  • ✅ Opt-in local preferences — the cycle_profile_* tools can persist non-secret wellness preferences (name, goals, devices, training/nutrition context) to ~/.delx-wellness/profile.json, but only when the user explicitly asks (cycle_profile_update requires explicit_user_intent: true). Secrets (tokens, API keys, biomarkers) are rejected at write time.
  • ✅ Offline-capable — pure-function computation. No outbound calls.
  • ✅ Tool-arg-only cycle data — the agent passes period history in via the MCP request and it stays in process memory.

Run wellness-cycle-coach doctor to inspect.

What this is NOT

  • Not medical advice or diagnosis.
  • Not a fertility tracker or contraception aid (consult a clinician).
  • Not a replacement for talking to a healthcare provider about painful, abnormal, or absent periods.
  • PCOS / irregular cycles supported via cycle_irregular: true (v0.3.3), but this is NOT a substitute for clinical care — see clinician for fertility, contraception, or symptom-management decisions.
  • Not specialized for perimenopause or post-pill (yet — see CONTRIBUTING.md).

Roadmap

  • v0.2 — adapters for apple-health-mcp / garminmcp / fitbitmcp so agents can pull period history with one MCP call.
  • v0.3 — symptom logging surface + symptom-aware guidance adjustments (cramps → magnesium emphasis, mood drop → B-vitamin emphasis).
  • v0.4 — non-English locale support starting with pt-BR.

📧 Contact & Support

License

MIT — see LICENSE.

wellness-cycle-coach is independent research-software. Not affiliated with Clue, Flo, Stardust, or any other cycle-tracking app. Not medical advice.

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 [email protected] call cycle_connection_status --json '{}'

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

0.5.0 — candidate (2026-11-02)

This is a release candidate, not evidence of an npm publication. Existing installations are not updated automatically.

Migration and security boundaries

  • HTTP transport accepts loopback only. LAN addresses and wildcard binds are rejected; use stdio or a local loopback client instead.
  • Wellness profiles are validated, limited to 256 KiB, and protected with a cooperative lock. Oversized or invalid existing profiles must be corrected before use. Symbolic links, including dangling links and legacy profile paths, are rejected. These checks do not guarantee safety against a hostile local filesystem or non-cooperating processes.
  • MCP inputs have a 10,000-element budget and HTTP bodies are limited to 1 MiB; compressed request bodies are rejected. Previously accepted oversized requests may now fail; reduce request sizes rather than disabling validation.
  • Dependency fixes are included. Upgrade explicitly after publication and restart the connector; old installations retain their previous behavior.

来源:README.md,提交 a93629e

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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