swiss-school-calendar-mcp
v0.1.0MCP 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.
| Parameter | Type | Description |
|---|---|---|
language | string |
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.
| Parameter | Type | Description |
|---|---|---|
canton | ||
language | string |
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.
| Parameter | Type | Description |
|---|---|---|
canton * | string | |
valid_from * | string | |
valid_to * | string | |
language | string | |
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.
| Parameter | Type | Description |
|---|---|---|
canton * | string | |
year * | integer | |
language | string |
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?"
| Parameter | Type | Description |
|---|---|---|
canton * | string | |
check_date_iso * | string | |
language | string | |
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.
| Parameter | Type | Description |
|---|---|---|
cantons * | array | |
year * | integer | |
language | string | |
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.
| Parameter | Type | Description |
|---|---|---|
cantons * | array | |
year * | integer | |
language | string | |
min_days | integer | |
school_type |
next_school_holidays
Return the next upcoming school holiday periods for a canton.
| Parameter | Type | Description |
|---|---|---|
canton * | string | |
count | integer | |
language | string | |
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.
| Parameter | Type | Description |
|---|---|---|
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".