Tracks menstrual cycles, predicts ovulation and next period, logs symptoms and flow, and provides PMS management suggestions. Use when the user logs period data, asks about cycle predictions, or wants menstrual health insights.
Record and store the following fields for each cycle entry:
| Field | Description | Values/Format |
|---|---|---|
period_start_date | First day of menstrual bleeding | YYYY-MM-DD |
period_end_date | Last day of menstrual bleeding | YYYY-MM-DD |
flow_level | Intensity of menstrual flow | spotting / light / medium / heavy / very_heavy |
symptoms | Physical and emotional symptoms | Free text or predefined list |
mood | Emotional state | Free text or scale (1-5) |
temperature | Basal body temperature (BBT) | Decimal in °C or °F, taken at rest before rising |
cervical_mucus |
| Cervical mucus consistency |
| dry / sticky / creamy / egg-white / watery |
notes | Additional observations | Free text |
Each daily entry should capture as many fields as the user provides. Missing fields are acceptable and should not block logging.
Identify the current cycle phase based on cycle day and average cycle length:
| Phase | Typical Days (28-day cycle) | Key Characteristics |
|---|---|---|
| Menstrual | Days 1-5 | Active bleeding; shedding of uterine lining |
| Follicular | Days 1-13 | Estrogen rising; follicle development; energy increasing |
| Ovulation | Day ~14 | LH surge triggers egg release; peak fertility; possible mittelschmerz |
| Luteal | Days 15-28 | Progesterone dominant; uterine lining thickens; PMS symptoms may appear |
Adjust phase day ranges proportionally for cycles shorter or longer than 28 days. The luteal phase is relatively constant (~14 days), so variations primarily affect the follicular phase length.
Provide evidence-based suggestions for common premenstrual symptoms:
| Symptom | Suggestions |
|---|---|
| Cramps (dysmenorrhea) | Heat therapy (heating pad on lower abdomen), NSAIDs (ibuprofen, naproxen — take with food), magnesium supplementation (200-400mg/day), gentle exercise, ginger tea |
| Bloating | Reduce sodium intake, increase water consumption (counterintuitive but effective), limit carbonated beverages, eat potassium-rich foods (bananas, avocados), light physical activity |
| Mood changes | Regular aerobic exercise (30 min/day), omega-3 fatty acids (fish oil), vitamin B6 (50-100mg/day), mindfulness/meditation, maintain consistent sleep schedule |
| Fatigue | Iron-rich foods (spinach, red meat, lentils), adequate sleep (7-9 hours), moderate exercise, vitamin D check, stay hydrated |
| Breast tenderness | Reduce caffeine intake, wear supportive bra, evening primrose oil, vitamin E (400 IU/day), cold compresses |
| Headaches | Stay hydrated, magnesium supplementation, consistent meal timing, reduce alcohol, cold compress on forehead/neck |
| Acne | Gentle cleansing routine, avoid touching face, zinc supplementation, reduce dairy and high-glycemic foods |
| Food cravings | Eat complex carbohydrates, chromium supplementation, frequent small meals, ensure adequate protein intake |
Always note that persistent or severe symptoms warrant medical consultation.
Calculate a composite health score with the following weighted components:
| Component | Weight | Scoring Criteria |
|---|---|---|
| Regularity | 40% | 100 = SD < 2 days; 75 = SD 2-4 days; 50 = SD 4-6 days; 25 = SD 6-8 days; 0 = SD > 8 days |
| Flow Normal | 20% | 100 = medium flow, 3-7 day duration; deduct points for very heavy, very light, too short (<2 days), or too long (>7 days) |
| Symptom Severity | 20% | 100 = no/mild symptoms; 75 = moderate; 50 = significant; 25 = severe; 0 = debilitating |
| Luteal Length | 20% | 100 = 12-14 days; 75 = 10-11 days; 50 = 8-9 days; 25 = <8 days or >16 days |
Present the overall score along with individual component breakdowns. Provide context: 80-100 = Excellent, 60-79 = Good, 40-59 = Fair (consider consulting a provider), <40 = Needs attention (recommend medical evaluation).
Actively monitor for and flag the following patterns across recorded cycles:
When a pattern is detected, explain what it may indicate and whether medical consultation is advisable.
Critical disclaimer: Fertility awareness data provided by this tool is for informational and educational purposes only. It is NOT a reliable method of contraception and should NOT be used as the sole method for pregnancy prevention. Consult a healthcare provider for contraceptive guidance.
When recording a daily entry, confirm with a structured summary:
## Cycle Log — [DATE]
- **Cycle Day**: [N] (Phase: [phase name])
- **Flow**: [level]
- **Symptoms**: [list]
- **Mood**: [description/rating]
- **BBT**: [temp]°C/°F
- **Cervical Mucus**: [type]
- **Fertility Estimate**: [high/moderate/low]
- **Notes**: [user notes]
At the end of a cycle or on request, provide:
## Cycle Summary — [Start Date] to [End Date]
- **Cycle Length**: [N] days
- **Period Duration**: [N] days
- **Average Flow**: [level]
- **Estimated Ovulation**: Day [N] ([date])
- **Luteal Phase Length**: [N] days
- **Health Score**: [score]/100
- **Key Symptoms**: [most reported symptoms]
- **Patterns Noted**: [any detected patterns or "None"]
- **Next Period Prediction**: ~[date] (±[N] days)
When predicting upcoming events:
## Cycle Predictions
- **Next Period**: ~[date] (based on [N]-day average cycle)
- **Next Fertile Window**: [start date] to [end date]
- **Next Estimated Ovulation**: ~[date]
- **Current Phase**: [phase] (Day [N])
- **Confidence**: [high/moderate/low] (based on [N] cycles of data)
Store daily entries as individual files:
daily/[YYYY-MM-DD].mdMaintain a master tracking file:
items/menstrual-cycle.mdUpdate the consolidated file whenever a new entry is logged or a cycle is completed.
This tool is for personal health tracking and informational purposes only. It does not provide medical diagnoses, treatment recommendations, or clinical advice. All suggestions are general wellness information based on published medical literature and are not a substitute for professional medical care.
Cycle tracking and fertility awareness data provided by this tool are NOT reliable for contraception. The calendar method, BBT, and cervical mucus observations have significant failure rates when used alone or in combination. Always consult a healthcare provider for family planning decisions.
This tool cannot diagnose gynecological or endocrine conditions, including but not limited to:
Detected patterns are observational only and are meant to prompt further evaluation by a qualified medical professional.
Flag and strongly recommend medical consultation if any of the following are detected or reported:
When any of these conditions are detected, display a prominent alert and recommend scheduling an appointment with a gynecologist or primary care provider.