Skip to main content
Glama

Server Details

Estimate a due date from LMP, conception, or ultrasound, with ACOG redating rules.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.9/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so no two tools can be confused with one another. The single 'due_date' tool has a clear, unambiguous purpose.

Naming Consistency5/5

With a single tool named 'due_date' in snake_case, the naming is clear and internally consistent. There are no other names to follow a pattern, but the name accurately reflects the tool's function.

Tool Count5/5

One tool is exactly right for the server's narrow, well-defined scope of pregnancy dating. The tool is comprehensive rather than trivial, covering all common dating methods and outputs, so it earns its place.

Completeness5/5

The tool covers all major pregnancy-dating methods: LMP, conception, IVF transfer (day 3 and day 5), and ultrasound, plus cycle-length adjustment and the ACOG redating table. It returns a complete set of outputs including due date, gestational age, milestones, warnings, and disclaimers, leaving no obvious gaps for its domain.

Available Tools

1 tool
due_dateDue date and gestational age, with the ACOG redating rules appliedA
Read-only
Inspect

Estimate a due date and gestational age from a last menstrual period, a known conception date, an IVF transfer date, or an ultrasound measurement.

Use this for any pregnancy-dating question rather than doing the arithmetic. Three reasons, and they are all things models get wrong:

  1. THE OFF-BY-TWO-WEEKS ERROR. Gestational age is counted from the first day of the LAST MENSTRUAL PERIOD, not from conception. At "6 weeks pregnant", conception was about 4 weeks ago. Weeks 1 and 2 precede conception entirely. This is restated wrongly constantly, and a two-week error in dating is a large error.

  2. CYCLE LENGTH. Naegele's rule (LMP + 280 days) silently assumes a 28-day cycle with ovulation on day 14. For a 35-day cycle the unadjusted answer is a week out. This applies the adjustment; most calculators do not.

  3. THE ACOG REDATING TABLE. Whether an ultrasound should REPLACE a period-based estimate depends on the discrepancy AND on how far along the scan was: more than 5 days up to 8w6d, 7 days to 15w6d, 10 days to 21w6d, 14 days to 27w6d, 21 days thereafter. Nobody recalls that table correctly from memory. Do not guess at it.

Input: method is one of lmp | conception | ivf-day3 | ivf-day5 | ultrasound. date is the date that method is based on — the first day of the last period, the conception date, the transfer date, or the scan date — as YYYY-MM-DD. Free-form dates are REFUSED rather than guessed, because "03/04/2025" is two different dates a month apart depending on the reader. For lmp, pass cycleLength if it is known and is not 28. For ultrasound, pass scanWeeks and scanDays — the gestational age the scan reported — and pass lmp as well if it is known, which is what triggers the redating check. asOf sets the reference date for "how far along"; it defaults to today.

Returns: the estimated due date, gestational age in clinical weeks-plus-days notation, the estimated conception date, days remaining, trimester, dated milestones including the anatomy-scan window and each ACOG term boundary, the full redating comparison when both an LMP and a scan were given, a list of warnings, and a disclaimer field.

Two things to carry through to the user rather than strip. First, a due date is a reference point and NOT a prediction — most births are not on it, and the term windows are the more useful output. Second, THIS IS NOT MEDICAL ADVICE; the response says so in its payload, not just on the page. Report the warnings. They are the honest part of the answer.

Inputs: date (required), method (required), lmp, asOf, +3 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Exact date and time math for AI agents: business days with public holidays for 207 countries, DST-aware time-zone conversion, meeting-time overlap, cron schedules, RRULE expansion, SLA deadlines, payroll dates and natural-language date parsing. 13 tools. 25 free calls per day, then $0.001 per call via x402 (USDC on Base). No signup or API key.
      10
      24
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to generate chronologically organized Korean pregnancy and parenting schedules—vaccinations, health checkups, leave, and application deadlines—from a due date or child's birthday, with optional API-key features such as night clinic and recall lookups.
      11
      80 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI apps to turn exam dates and available study hours into day-by-day study plans, spaced repetition review dates, pomodoro work/break schedules, and dated milestones for large assignments. All date math is computed by tested code rather than guessed by the model, running locally with no account or network needed.
      13
      112 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides exact calendar calculations from 1971 to 2100, including OPM and Federal Reserve holiday observance, business-day addition and counting, and invoice due dates with weekend and holiday roll rules.
      5
      14 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources