Reference

Reference: Maternity protection

Start and end of the maternity protection periods from the expected due date.

Calculates the start and end of the maternity protection periods (Mutterschutzfristen) under § 3 of the Maternity Protection Act (MuSchG) from the expected due date. With the actual date of birth and the case (premature birth, multiple birth, disability), the end shifts automatically. The protection periods after a miscarriage, in force since June 2025, are included.

Endpoints and calls

#
AccessCall
REST APIGET /hr/mutterschutz
SDK JavaScriptqk.hr.mutterschutz(…)
SDK Pythonqk.hr.mutterschutz(…)
CLIqk mutterschutz --termin 2027-03-15
MCP toolhr_mutterschutz

Parameters

#
NameTypeRequiredDefaultAllowedDescription
termindate (YYYY-MM-DD)noExpected due date. Required, except for fall=fehlgeburt
geburtdate (YYYY-MM-DD)noActual date of birth, at most 120 days from the due date. For fall=fehlgeburt, the date of the miscarriage, from June 1, 2025 (optional)
falltextnostandardstandard, fruehgeburt, mehrlinge, behinderung, fehlgeburtCase under § 3 Abs. 2 or Abs. 5 MuSchG. Default: standard
sswintegerno1 to 45Current week of pregnancy at the miscarriage, only for fall=fehlgeburt. The medical notation 12+3 (twelve full weeks and three days) is the 13th week, so ssw=13.

The API rejects unknown parameters with unbekannter_parameter. In addition there are format and trennzeichen, see CSV.

Response fields

#
FieldTypeMeaning
datensatzTextDataset id
terminDate or nullExpected due date
geburtDate or nullActual date of birth or date of the miscarriage
fallTextstandard, fruehgeburt (premature birth), mehrlinge (multiple birth), behinderung (disability) or fehlgeburt (miscarriage)
beginnDateStart: first day of the protection period (maternity protection) or start of training
endeDateDate on which the employment or the protection period ends
wochen_nach_entbindungInteger8 or 12, after a miscarriage 2, 6 or 8
verlaengerung_tageIntegerDays added after an early birth
dauer_tageIntegerTotal length in calendar days
rechtsgrundlageTextLaw or ordinance
hinweiseListLimits of the values or the calculation, in sentences
quelleObjectTitle and URL of the source the value is based on
quellenListAll legal provisions the response is based on, with title and URL
standDateDate of the last check against the source
lizenzTextTerms of use for the values
zitatTextReady-made sentence for citing, with value, validity, legal basis and source
datenstandTextId of the data snapshot: date and sequence number of the last changelog entry (/v1/aenderungen) affecting this dataset. The same datenstand means unchanged content, useful for auditors and for comparing two requests

Example

#

Call with termin = 2027-03-15. The response is generated by the same code that answers the API.

api.quellenkontor.dev/v1/hr/mutterschutz?termin=2027-03-15
Zur API-Doku →
curl "https://api.quellenkontor.dev/v1/hr/mutterschutz?termin=2027-03-15" \
  -H "Authorization: Bearer $QK_KEY"
Antwort200 OK · JSON
{
  "datensatz": "mutterschutz",
  "termin": "2027-03-15",
  "geburt": null,
  "fall": "standard",
  "beginn": "2027-02-01",
  "ende": "2027-05-10",
  "wochen_nach_entbindung": 8,
  "verlaengerung_tage": 0,
  "dauer_tage": 99,
  "rechtsgrundlage": "§ 3 Abs. 1 und 2 MuSchG",
  "hinweise": [
    "Vor der Entbindung darf die Frau beschäftigt werden, wenn sie sich ausdrücklich dazu bereit erklärt. Die Erklärung ist jederzeit widerrufbar (§ 3 Abs. 1 MuSchG).",
    "Nach der Entbindung besteht ein Beschäftigungsverbot.",
    "Berechnet mit dem errechneten Termin. Das Ende verschiebt sich, sobald das tatsächliche Geburtsdatum feststeht."
  ],
  "quelle": {
    "titel": "§ 3 MuSchG (Schutzfristen vor und nach der Entbindung)",
    "url": "https://www.gesetze-im-internet.de/muschg_2018/__3.html"
  },
  "quellen": [
    {
      "titel": "§ 3 MuSchG (Schutzfristen vor und nach der Entbindung)",
      "url": "https://www.gesetze-im-internet.de/muschg_2018/__3.html"
    }
  ],
  "stand": "2026-09-23",
  "lizenz": "Berechnung nach den genannten Normen. Nutzung nach den Nutzungsbedingungen von Quellenkontor.",
  "zitat": "Mutterschutzfrist: 01.02.2027 bis 10.05.2027, 99 Kalendertage. Rechtsgrundlage: § 3 Abs. 1 und 2 MuSchG. Quelle: § 3 MuSchG (Schutzfristen vor und nach der Entbindung), https://www.gesetze-im-internet.de/muschg_2018/__3.html. Daten: Quellenkontor (quellenkontor.dev).",
  "datenstand": "2026-09-23.1"
}

Error cases

#
StatusCodeWhen
400ungueltiger_parameterwrong format or a value outside: fall (standard, fruehgeburt, mehrlinge, behinderung, fehlgeburt); ssw (1 to 45)
400unbekannter_parametera parameter this dataset does not have
404kein_wertoutside the coverage (current law) or the value for this period has not been promulgated yet
401, 429see errorsall error codes

Schema for MCP

#

This is how the MCP server describes the arguments of the tool hr_mutterschutz:

inputSchema
{
  "type": "object",
  "properties": {
    "termin": {
      "description": "Errechneter Geburtstermin. Pflicht, außer bei fall=fehlgeburt",
      "type": "string",
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "examples": [
        "2027-03-15"
      ]
    },
    "geburt": {
      "description": "Tatsächliches Geburtsdatum, höchstens 120 Tage vom Termin entfernt. Bei fall=fehlgeburt der Tag der Fehlgeburt, ab 01.06.2025 (optional)",
      "type": "string",
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "fall": {
      "description": "Fall nach § 3 Abs. 2 oder Abs. 5 MuSchG. Standard: standard",
      "type": "string",
      "enum": [
        "standard",
        "fruehgeburt",
        "mehrlinge",
        "behinderung",
        "fehlgeburt"
      ]
    },
    "ssw": {
      "description": "Laufende Schwangerschaftswoche der Fehlgeburt, nur bei fall=fehlgeburt. Die ärztliche Angabe 12+3 (zwölf volle Wochen und drei Tage) ist die 13. Woche, also ssw=13; die Schreibweise 12+3 nimmt die API auch direkt an.",
      "type": "integer",
      "minimum": 1,
      "maximum": 45
    }
  },
  "required": [],
  "additionalProperties": false
}

Source and freshness

#
ItemContent
Source§ 3 Maternity Protection Act (Mutterschutzgesetz)
LicenseCalculation under the cited provisions. Use under the Quellenkontor terms of use.
Updateswhen the law changes
CoverageGermany, current law
Last checkedSeptember 23, 2026
Next expected changeonly if the law changes
Overview with tables and questions about the dataset: Maternity protection calculator. Report an error through the contact form.

Something missing or unclear? Write to us and we will extend the docs.