Skip to main content
Glama
Wellness Cycle Coach

Wellness Cycle Coach

⚡ One-command install — pick your runtime:


HTTP (v2 stateless)

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

npx -y wellness-cycle-coach@0.5.0 --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.

Related MCP server: macrofactor-mcp

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

npx -y wellness-cycle-coach@0.5.0 doctor

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

Then in your agent:

{
  "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)

Tool

Purpose

cycle_agent_manifest

Runtime contract

cycle_capabilities

Phases, upstream connectors, metrics

cycle_connection_status

Health + stateless reminder

cycle_privacy_audit

What's logged (nothing) vs sent out (nothing)

cycle_data_inventory

Phase taxonomy + metric catalog

cycle_estimate_phase

Current phase + cycle day + confidence

cycle_predict_next_period

Average cycle length + next-period date

cycle_phase_guidance

Recommendations for any specific phase

cycle_recommend_nutrition

Phase-aware nutrition for current phase

cycle_recommend_training

Phase-aware training for current phase

cycle_full_report

Single-call combined report

cycle_irregular_check

PCOS / irregular-cycle screening from history

cycle_quickstart

Minimal getting-started walkthrough

cycle_profile_get

Read the shared Delx Wellness profile (read-only)

cycle_profile_update

Persist opt-in profile prefs (requires explicit user intent)

cycle_onboarding

11-question onboarding flow for the shared profile

cycle_demo

Sample request/response for quick exploration

The 4-phase model

Phase

When

Energy

Nutrition emphasis

Training

menstrual

days 1 → period end (~5)

Lower

Iron + magnesium + omega-3

Restorative (yoga, walking, mobility)

follicular

post-period → ovulation - 2

Rising / peak

Complex carbs + lean protein + fermented foods

Build (strength, sprints, new skills)

ovulatory

ovulation ± 1 day

Peak

Antioxidants + zinc

Peak (PRs, plyometrics)

luteal

ovulation + 2 → next period

Falling

B vitamins + magnesium + complex carbs

Endurance + 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 + guidance
Fitbit 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:

npx -y wellness-cycle-coach@0.5.0 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.

Available Tools

17 tools
cycle_agent_manifestCycle agent manifestB
Read-onlyIdempotent

Returns the wellness-cycle-coach agent manifest: tool list, supported clients, env vars, recommended first calls, capabilities, privacy posture, and community links.

Inputs: client, privacy_mode.

cycle_capabilitiesCycle capabilitiesA
Read-onlyIdempotent

Lists supported phases, upstream connectors this coach reads from, available metrics, and privacy modes.

Inputs: privacy_mode.

cycle_connection_statusCycle connection statusA
Read-onlyIdempotent

Reports the coach is alive and reminds the agent that cycle data must be passed in via tool args (this MCP is stateless).

Inputs: privacy_mode.

cycle_data_inventoryCycle data inventoryB
Read-onlyIdempotent

Returns the metric catalog and phase taxonomy used by the coach.

Inputs: privacy_mode.

cycle_demoCycle demoA
Read-onlyIdempotent

Returns a realistic example payload showing what cycle_full_report looks like with sample data. Use to help agents understand the contract before a real call.

Inputs: privacy_mode.

cycle_estimate_phaseCycle estimate phaseA
Read-onlyIdempotent

Given a list of recent period start dates (from any source), returns the current phase, cycle day, estimated cycle length, next-period date, and confidence. v0.3.2 adds a late_luteal sub-phase (triggered when the cycle is past its expected end + grace day) plus days_past_due and delay_flag (raised when ≥2 days late vs prediction from 3+ historical cycles). v0.3.3 adds cycle_irregular (PCOS / irregular-cycle mode): when true, accepts cycles 21-90 days, caps confidence at 'low', returns luteal_extended + irregular_window: true past 35 days since last period, and adds a clinician-defer warning.

Inputs: history (required), today, privacy_mode, cycle_irregular.

cycle_full_reportCycle full reportB
Read-onlyIdempotent

Single-call report: phase + nutrition + training + hydration + next-period estimate. Includes a TL;DR string for quick agent rendering. v0.3.3 supports cycle_irregular: true for PCOS-aware mode.

Inputs: history (required), today, privacy_mode, cycle_irregular.

cycle_irregular_checkCycle irregularity checkA
Read-onlyIdempotent

v0.3.3 — Given the user's last 3+ cycle lengths (in days), reports whether the cycles look regular or irregular based on a stdev/CV/max-length heuristic. Use this BEFORE deciding whether to set cycle_irregular: true on the other tools. NOT a clinical diagnosis — surfaces a clinician hint when irregular.

Inputs: cycle_lengths_days (required), privacy_mode.

cycle_onboardingCycle onboardingA
Read-onlyIdempotent

Returns the 11-question onboarding flow for the shared Delx Wellness profile. Read-only. The agent should ask these questions next so wellness-cycle-coach (and the rest of the wellness stack) can personalize responses — non-secret data only, stored at ~/.delx-wellness/profile.json.

Inputs: locale, privacy_mode.

cycle_phase_guidanceCycle phase guidanceA
Read-onlyIdempotent

Returns evidence-informed nutrition + training + hydration recommendations for a given phase. v0.3.3 supports the luteal_extended phase (PCOS / amenorrhea placeholder) and accepts a cycle_irregular flag that surfaces the clinician-defer warning in the response.

Inputs: phase (required), privacy_mode, cycle_irregular.

cycle_predict_next_periodCycle predict next periodA
Read-onlyIdempotent

Given period history, returns the average cycle length and the next-expected period start date with confidence. v0.3.3 adds cycle_irregular — when true, accepts cycles 21-90 days and caps confidence at 'low' (PCOS / unpredictable patterns).

Inputs: history (required), privacy_mode, cycle_irregular.

cycle_privacy_auditCycle privacy auditA
Read-onlyIdempotent

Returns what wellness-cycle-coach stores locally (none), what it sends out (none), and agent rules for handling cycle data.

Inputs: privacy_mode.

cycle_profile_getCycle profile getA
Read-onlyIdempotent

Returns the shared Delx Wellness profile (~/.delx-wellness/profile.json). Read-only. Surfaces the user's sex_or_gender_context so wellness-cycle-coach knows whether to activate phase-aware coaching at all.

Inputs: privacy_mode.

cycle_profile_updateCycle profile updateB

Persist a partial patch to the shared Delx Wellness profile. Requires explicit_user_intent: true. Rejects any field containing oauth/token/secret/password/cookie/refresh/api_key/session — the profile is for non-secret wellness context only.

Inputs: patch (required), explicit_user_intent.

cycle_quickstartCycle quickstartA
Read-onlyIdempotent

Returns a personalized 3-step walkthrough for using wellness-cycle-coach. Call this first when the user asks 'how do I use this?'

Inputs: client, privacy_mode.

cycle_recommend_nutritionCycle recommend nutritionA
Read-onlyIdempotent

Given period history, returns nutrition recommendations for the user's current phase. Combine with wellness-nourish for full meal planning. v0.3.3 supports cycle_irregular: true for PCOS-aware mode.

Inputs: history (required), today, privacy_mode, cycle_irregular.

cycle_recommend_trainingCycle recommend trainingA
Read-onlyIdempotent

Given period history, returns training recommendations for the user's current phase. Pair with WHOOP/Oura/Garmin recovery for late-luteal load adjustments. v0.3.3 supports cycle_irregular: true for PCOS-aware mode.

Inputs: history (required), today, privacy_mode, cycle_irregular.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 17 tools

    Disambiguation3/5

    Several tools overlap in purpose: cycle_agent_manifest, cycle_capabilities, cycle_data_inventory, and cycle_quickstart all serve discovery/introspection, while cycle_phase_guidance overlaps with cycle_recommend_nutrition and cycle_recommend_training. The descriptions help clarify boundaries, but an agent could still misselect between meta tools or between phase guidance and specific recommendations.

    Naming Consistency4/5

    All tools share a consistent cycle_ prefix and snake_case style, which is a strong unifying pattern. However, the second part mixes verb phrases like estimate_phase and recommend_nutrition with noun phrases like agent_manifest and phase_guidance, so the naming is not fully uniform.

    Tool Count3/5

    Seventeen tools is on the heavier side for a single wellness coaching domain. Roughly half are meta/discovery/profile tools rather than core cycle functionality, which makes the surface feel larger than necessary, though each tool still has a plausible use.

    Completeness4/5

    The core cycle-coaching workflow is well covered: phase estimation, next-period prediction, irregularity checks, phase guidance, nutrition, training, full reports, and profile persistence. There is no explicit hydration-only tool or data-logging endpoint, but the stateless design and phase_guidance coverage make those gaps minor.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      MacroFactor MCP is a local Fueling & Recovery Decision Engine. Give your MCP client a MacroFactor export, optionally add Garmin, and ask for a decision instead of manually comparing nutrition, sleep, body, and training screens.
      29
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Local MCP server for analyzing Intervals.icu accounts, creating AI-assisted training plans, and applying managed drafts to the calendar after explicit confirmation.
      14
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      An AI training coach MCP server that integrates with Garmin Connect to provide science-based load management, code-enforced injury gates, and persistent coaching memory, keeping data local.
      28 PyPI
      3
      MIT