Skip to main content
Glama

ferien-mcp 🏖️

mcp-name: io.github.mohammad-abbasi-sh/ferien-mcp

Unofficial read-only MCP server for German school holidays (Schulferien) via the ferien-api.de API (bundesAPI project): holidays per year and federal state, is-it-a-holiday checks, the next holiday from a date, and holidays in a date range. No key, no login.

Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with ferien-api.de / the bundesAPI project.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "ferien": {
      "command": "uvx",
      "args": ["ferien-mcp==0.1.0"]
    }
  }
}

Or run locally: python -m ferien_mcp.server (needs mcp<2, httpx).

Related MCP server: vic-au-important-dates-mcp

Tools

Tool

Description

ferien_list_holidays

School holidays of one year in one federal state (optional month filter)

ferien_is_holiday

Is a date (YYYY-MM-DD) inside the school holidays in one state?

ferien_next_holiday

The next school holiday on or after a date (returns the ongoing one if inside a holiday; looks into the next year)

ferien_holidays_between

School holidays overlapping a date range (max ~2 years)

ferien_list_states

All 16 German federal states

ferien_health

Reachability check (ok / blocked / error) — one polite request

Example output (ferien_is_holiday / 2026-08-10, BY):

{"date": "2026-08-10", "weekday": "Monday", "weekday_de": "Montag",
 "state": "BY", "state_name": "Bayern", "is_holiday": true,
 "holidays": ["sommerferien bayern 2026"],
 "details": [{"name": "sommerferien bayern 2026", "kind": "sommerferien",
   "slug": "sommerferien bayern 2026-2026-BY", "state": "BY",
   "year": 2026, "start": "2026-08-03", "end": "2026-09-15",
   "duration_days": 44, "start_weekday": "Monday",
   "start_weekday_de": "Montag", "end_weekday": "Tuesday",
   "end_weekday_de": "Dienstag"}]}

Notes:

  • State codes are the 2-letter codes: BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH. There is no nationwide list — school holidays are per-state, so every query needs one state. Use ferien_list_states for the full list.

  • Holiday names are German ("sommerferien bayern 2026"); each row also carries a kind (winterferien, frĂĽhjahrsferien, osterferien, pfingstferien, sommerferien, herbstferien, weihnachtsferien, beweglicher ferientag) and the duration in days.

  • Coverage varies by state and year: the API returns an empty list for a state/year it has no data for — e.g. Berlin 2026 was empty on 2026-11-14 while Berlin 2025 has 7 entries. Verify important dates against the official source.

  • Cross-year holidays (e.g. Weihnachtsferien running into January) are included by ferien_holidays_between when they overlap the range.

  • Years 2000–2100 are accepted.

  • The API rate-limits aggressively per IP (its docs: "heavily abused, aggressive rate limiting is in place"). If a call reports HTTP 429, wait a few minutes and retry — on 2026-11-14 the limit cleared after ~10 minutes.

Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Available Tools

6 tools
ferien_healthA

Check whether the ferien-api.de API is reachable right now.

Returns status ok (HTTP 200), blocked (HTTP 403/429 — bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.

Inputs: no named parameters. Returns: result

ferien_holidays_betweenB

School holidays overlapping a date range in one German state. start_date / end_date: YYYY-MM-DD (max range ~2 years). state: 2-letter code (required). Cross-year holidays (e.g. Weihnachtsferien running into January) are included when they overlap the range.

Inputs: end_date (required), start_date (required), state. Returns: result

ferien_is_holidayA

Is a date inside the school holidays in one German federal state? day: YYYY-MM-DD, e.g. 2026-08-03. state: 2-letter code (required). Returns is_holiday plus the holiday period(s) covering the date.

Inputs: day (required), state. Returns: result

ferien_list_holidaysA

List the school holidays of one year in one German federal state. year: e.g. 2026 (default: current year). state: 2-letter code (BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH) — required, there is no nationwide list. month: 1..12 to filter to holidays overlapping one month (default: whole year). An empty list means the API has no data for that state/year.

Inputs: year, month, state. Returns: result

ferien_list_statesA

All 16 German federal states (Bundesländer) — the state codes the other tools accept. There is no nationwide school-holiday list; every query needs one state.

Inputs: no named parameters. Returns: result

ferien_next_holidayA

The next school holiday on or after a date in one German state. from_date: YYYY-MM-DD (default: today). state: 2-letter code (required). If the date falls inside a holiday, that ongoing holiday is returned (ongoing: true). Looks into the next year if the current year has no holiday left.

Inputs: state, from_date. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool targets a distinct query shape: point-in-time check (is_holiday), forward lookup (next_holiday), range overlap (holidays_between), year/month listing (list_holidays), plus states and health. The only soft overlap is between list_holidays with a month filter and holidays_between, which an agent could plausibly confuse, but the descriptions make the intended boundaries clear.

    Naming Consistency4/5

    All six tools share a consistent ferien_ snake_case prefix with descriptive suffixes, which is highly predictable. Minor deviation: is_holiday and next_holiday are not verb_noun like list_states/list_holidays, but they remain readable and follow the same family pattern.

    Tool Count5/5

    Six tools is well-scoped for a read-only wrapper around a school-holiday API. Each tool covers a distinct query mode, and the health probe and state listing are justified supporting utilities rather than filler.

    Completeness4/5

    The surface covers the core lifecycle of holiday queries: state discovery, single-date checks, next-holiday lookup, range overlap, and full-year listing, with a health probe for reliability. Gaps are minor, e.g. no cross-state comparison or bulk multi-state query, but agents can loop over states using list_states.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers