swiss-school-calendar-mcp

v0.1.0
swiss-school-calendar-mcp Checked 19 hours ago Published 4 months ago

MCP server for Swiss school and public holidays — all 26 cantons, differentiated by Schulart

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_cantons

List the 26 Swiss cantons with their ISO subdivision codes. Use this first to resolve a canton name to the `CH-XX` code that every other tool expects.

ParameterTypeDescription
languagestring

list_school_types

List the Schularten (school types) that publish separate holiday tables. Only a minority of cantons differentiate. For Zurich the codes are `CH-ZH-VS` (Volksschulen), `CH-ZH-MS` (Mittelschulen) and `CH-ZH-BS` (Berufsfachschulen). Cantons absent from this list publish one table for all school types.

ParameterTypeDescription
canton
languagestring

get_school_holidays

Return school holiday periods for one canton in a date range. Args: canton: ISO subdivision code, e.g. `CH-ZH`. valid_from: Inclusive start date, `YYYY-MM-DD`. valid_to: Inclusive end date, `YYYY-MM-DD`. school_type: Optional Schulart suffix — `VS`, `MS`, `BS` or `EO`. Use `VS` for compulsory schooling (Volksschule). language: `DE`, `FR`, `IT` or `EN`. Records that look duplicated are usually the same period published for a different Schulart. Set `school_type` to collapse them.

ParameterTypeDescription
canton *string
valid_from *string
valid_to *string
languagestring
school_type

get_public_holidays

Return public holidays for one canton and calendar year. Cantonal holidays such as Berchtoldstag differ substantially across Switzerland, so always pass the canton rather than assuming the federal set.

ParameterTypeDescription
canton *string
year *integer
languagestring

check_date

Check whether a given date falls into school holidays or a public holiday. The everyday question behind this tool: "Can we schedule the parents' evening on that Thursday?"

ParameterTypeDescription
canton *string
check_date_iso *string
languagestring
school_type

compare_school_holidays

Compare school holiday overlap between cantons for a calendar year. Returns a pairwise matrix of overlapping holiday days. Defaults to `VS` (Volksschule) because that is the level most inter-cantonal coordination concerns.

ParameterTypeDescription
cantons *array
year *integer
languagestring
school_type

find_common_free_window

Find date ranges in which all listed cantons are simultaneously on holiday. Useful for planning campaigns, joint events or maintenance windows across cantonal borders.

ParameterTypeDescription
cantons *array
year *integer
languagestring
min_daysinteger
school_type

next_school_holidays

Return the next upcoming school holiday periods for a canton.

ParameterTypeDescription
canton *string
countinteger
languagestring
school_type

get_long_weekends

Return Swiss long weekends and the bridge days needed to create them. Sourced from Nager.Date, which computes these from federal public holidays; cantonal-only holidays are not considered.

ParameterTypeDescription
year *integer

source_status

Report reachability and latency of both upstream sources. Always returns an evaluable status rather than an empty result set, so that "no data" can be distinguished from "source down".