Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Swiss Holidays MCP

by malkreideversion 0.7.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.malkreide/swiss-holidays-mcp

How to install

What it does

Swiss school & public holidays, 26 cantons, by Schulart (OpenHolidays + Nager.Date)

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Games, sports, food & learning

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Swiss Holidays MCP. Follow https://mcp.popnx.com/i/malkreide-swiss-holidays-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Holidays MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "swiss-holidays": { "command": "uvx", "args": [ "swiss-holidays-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Holidays MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "swiss-holidays": {
          "command": "uvx",
          "args": [
            "swiss-holidays-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Swiss Holidays MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Swiss Holidays MCP or shows a Swiss Holidays MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Swiss Holidays MCP yet

Swiss Holidays MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Swiss Holidays MCP

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Games, sports, food & learning that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Holidays MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user swiss-holidays -- uvx swiss-holidays-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Holidays MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user swiss-holidays -- uvx swiss-holidays-mcp
  4. Type /mcp in Claude Code

    You should see Swiss Holidays MCP listed as connected

  5. Try it

    Use Swiss Holidays MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Swiss Holidays MCP or shows a Swiss Holidays MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Holidays MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "swiss-holidays": { "command": "uvx", "args": [ "swiss-holidays-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Holidays MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Swiss Holidays MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Swiss Holidays MCP or shows a Swiss Holidays MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Holidays MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "swiss-holidays": { "type": "stdio", "command": "uvx", "args": [ "swiss-holidays-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Holidays MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Swiss Holidays MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Swiss Holidays MCP or shows a Swiss Holidays MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Swiss Holidays MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user swiss-holidays -- uvx swiss-holidays-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "swiss-holidays": {
      "command": "uvx",
      "args": [
        "swiss-holidays-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "swiss-holidays": {
      "command": "uvx",
      "args": [
        "swiss-holidays-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "swiss-holidays": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "swiss-holidays-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
22/wk
Connection
Runs on your computer
Latest versioni
0.7.0
Published to registryi
Sep 27, 2026
Code last changedi
Nov 1, 2026
Maker
malkreide
Packages
pypi: swiss-holidays-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account malkreide, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 18 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for swiss-holidays-mcp@0.7.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/malkreide-swiss-holidays-mcp.svg)](https://mcp.popnx.com/en/servers/malkreide-swiss-holidays-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Games, sports, food & learningi

  • More stars than 0% of the other 1619 servers in this category
  • Published to the registry more recently than 29% of the other 1619 servers in this category
  • Basic checks equal to or better than 99% of the other 1619 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Swiss Holidays MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 18 days ago, and the latest version (0.7.0) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

by aikarjalGrowing↓ 1.4K/wk★ 89 Stars for the whole repoUpdated 10 days ago

Runs on your computer✓ service owner · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

by joshsymondsEarly★ 13Updated 7 months ago

Runs in the cloudRepo archived✓ service owner · savecraft.gg

GoodWatch

Find movies and TV shows, track watches, and get suggestions based on your taste.

by alp82Early★ 50 Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · goodwatch.app
Compared with similar ones
This one
Swiss Holidays MCP
Anime GardenWilmAILumify Sports IntelligenceSavecraftGoodWatch
Runs whereInstalls on your computerRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoYesNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/43/34/43/44/4
LicenseMITAGPL-3.0MITMITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

🇨🇭 Part of the [Swiss Public Data MCP Portfolio](https://github.com/malkreide)

This is a private project. It is independent of any employer or institutional affiliation and represents no official position of any authority.

📅 swiss-holidays-mcp

A Swiss holiday calendar for AI agents — public holidays, school holidays and long weekends for all 26 cantons, with cross-cantonal comparison. School holidays are differentiated by *Schulart* (school type), which matters more than it first appears. No API key required.

🇩🇪 Deutsche Version


Overview

swiss-holidays-mcp is a Swiss holiday calendar for AI assistants like Claude — public holidays, school holidays and long weekends for all 26 cantons, no API keys required. Public holidays are cantonal (Berchtoldstag, Fronleichnam & co. differ by canton, not just the federal minimum). School holidays are set cantonally, sometimes at district level, and — in six cantons — separately per school type. A single federal calendar does not exist; anyone planning across cantonal borders is otherwise reduced to opening 26 PDF pages.

The server covers two thematic clusters: public holidays / long weekends and school holidays (with *Schulart* differentiation). Each cluster maps to a group of purpose-built tools that translate raw agency data into clean, provenance-tagged JSON responses. All data comes from the OpenHolidays API (CC BY 4.0) and Nager.Date (MIT).

Mnemonic: *A duplicate in Swiss school data is usually a school type in disguise.* The underlying API publishes the *same* holiday period several times when a canton differentiates by school type. That looks like duplicated data and invites naive de-duplication — which would destroy exactly the distinction a school authority needs.

Anchor demo query: *"In which weeks of 2026 are the compulsory schools of Zurich, Zug and Aargau simultaneously on holiday — and how many overlapping days does each pair share?"* → This exercises find_common_free_window, compare_school_holidays and list_school_types in a single conversation, and answers a question that recurs every planning cycle in inter-cantonal coordination. → More use cases by audience →

Demo

Features

  • 🏫 School holidays — periods per canton and date range, differentiated by *Schulart* (VS / MS / BS / EO)
  • 🎌 Public holidays — cantonal holiday sets, not just the federal minimum (Berchtoldstag & friends)
  • 🔍 Date check — is a given date a school or public holiday in a canton?
  • 🔗 Cross-cantonal comparison — pairwise overlap matrix of holiday days between cantons
  • 🪟 Common free windows — date ranges where all listed cantons are simultaneously on holiday
  • 🌉 Long weekends & bridge days — computed from federal public holidays (Nager.Date)
  • 🏘️ Local & municipal holidays — district- and municipality-level specifics such as Zurich's Sechseläuten and Knabenschiessen, with a scope marker so they are never mistaken for canton-wide
  • 📆 iCal / ICS export — a canton's holidays for a year as a ready-to-import .ics calendar
  • 🔖 Holiday feed resource — holidays:// / MCP resource with a Markdown summary
  • 📌 "Is today a holiday?" — one-call convenience for the everyday question
  • 🩺 Source health — reachability and latency of both upstreams, always evaluable
  • 🔑 No authentication required — both data sources are publicly accessible
  • ☁️ Dual transport — stdio for Claude Desktop, Streamable HTTP/SSE for cloud deployment
  • 🧾 Provenance on every response — live_api | cached | degraded, never a silent empty list

Data Sources

SourceDataLicence
OpenHolidays APICantons, *Schularten*, school holidays, public holidaysCC BY 4.0
Nager.DateLong weekends and required bridge daysMIT

Both sources are publicly accessible, no authentication required. Attribution required: OpenHolidays (CC BY 4.0) and Nager.Date must be cited as the source when using their data.


Tools

ToolPurposeData Source
list_cantonsThe 26 cantons with ISO codes and official languagesOpenHolidays
list_school_types*Schulart* groups per canton (CH-ZH-VS etc.)OpenHolidays
get_school_holidaysSchool holidays for one canton and date rangeOpenHolidays
get_public_holidaysPublic holidays for one canton and yearOpenHolidays
get_local_holidaysPublic holidays for one municipality or district, incl. local specificsOpenHolidays
check_dateIs a given date a school or public holiday?OpenHolidays
compare_school_holidaysPairwise overlap matrix across cantonsOpenHolidays
find_common_free_windowWindows where all listed cantons are on holidayOpenHolidays
next_school_holidaysThe next upcoming holiday periodsOpenHolidays
get_long_weekendsLong weekends and required bridge daysNager.Date
export_holidays_icsA canton's holidays for a year as an iCalendar (.ics) documentOpenHolidays
is_holiday_todayIs today a school or public holiday in a canton?OpenHolidays
source_statusReachability and latency of both upstreamsBuilt-in
Resources
Resource URIContent
holidays://{canton}/{year}Markdown summary of all public + school holidays, e.g. holidays://CH-ZH/2026

All tools carry the full annotation set — readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true (they reach an external API). No tool writes anywhere. Inputs are schema-validated (canton codes against the 26 known cantons, dates as YYYY-MM-DD, year bounded, language/school_type whitelisted).

Example Use Cases
QueryTool
*"Which cantons are there, and what are their codes?"*list_cantons
*"Show Zurich's compulsory-school holidays for spring 2026"*get_school_holidays
*"Is 3 April 2026 a public holiday in Ticino?"*check_date
*"Do Zurich and Zug school holidays overlap this year?"*compare_school_holidays
*"When can all of ZH, ZG, AG plan a joint week off school?"*find_common_free_window
*"What are the next holidays for Basel-Stadt schools?"*next_school_holidays
*"Which long weekends does 2026 have, and which bridge days do they need?"*get_long_weekends
*"Which local holidays does the city of Zurich keep that the rest of the canton doesn't?"*get_local_holidays
*"Export Zurich's 2026 holidays as an .ics calendar I can import"*export_holidays_ics
*"Is today a holiday in Aargau?"*is_holiday_today

🛡️ Safety & Limits

AspectDetails
AccessRead-only (readOnlyHint: true) — the server cannot modify or delete any data
Personal dataNo personal data — all sources are aggregated, public holiday calendars
Caching12-hour in-memory TTL (holiday tables change a handful of times per year)
RetryExponential backoff 2s / 4s / 8s; 4xx except 429 are not retried
Timeout20 seconds per API call (8 seconds for health probes)
AuthenticationNo API keys required — both upstreams are publicly accessible
DegradationUpstream failure yields a degraded envelope with an explanatory note, never a silent empty list
Terms of ServiceSubject to the ToS of the respective data sources: OpenHolidays, Nager.Date

Architecture

This server uses Architecture A (live API only, with in-memory cache).

                    ┌──────────────────────────┐

Claude / any ───▶│ swiss-holidays-mcp │ MCP host │ (MCPServer · 13 tools) │ └────────┬─────────────────┘ │ retry 2s/4s/8s · 12h cache ┌────────┴─────────┐ ▼ ▼ OpenHolidays API Nager.Date (CC BY 4.0) (MIT) cantons · Schularten long weekends school + public bridge days

Rationale (verified live on 2026-07-19):

  • All ten documented OpenHolidays endpoints answered HTTP 200 with plausible payloads; /Subdivisions?countryIsoCode=CH returns exactly 26 cantons, matching the official count.
  • No public bulk dump could be verified at build time (openpotato/openholidays.data raw access returned 404), so Architecture B was not available.
  • Holiday tables change a handful of times per year, so a 12-hour in-memory TTL removes almost all upstream load without risking staleness.

Consequences:

  • Every response carries provenance (live_api | cached | degraded).
  • Upstream failure yields a degraded envelope with an explanatory note, never a silent empty list.
  • source_status always returns an evaluable health report.

Live-probe findings (2026-07-19)

EndpointHTTPStatusRecordsNote
/Countries200✅ works36
/Subdivisions?countryIsoCode=CH200✅ works26matches official canton count
/Groups?countryIsoCode=CH200✅ works11*Schulart* groups, only 6 cantons
/PublicHolidays (CH, 2026)200✅ works39cantonal scope included
/SchoolHolidays (CH, 2026)200✅ works193183 distinct after school-type split
/SchoolHolidaysByDate200✅ works–
/SchoolHolidays?countryIsoCode=XX200⚠️ silently empty0invalid country ≠ error
/Subdivisions?languageIsoCode=ZZ200⚠️ silent EN fallback26invalid language ≠ error
/SchoolHolidays without date range400✅ correct error–RFC 9110 problem+json
Nager /PublicHolidays/2026/CH200✅ works3329 rows carry counties
Nager /LongWeekend/2026/CH200✅ works3
Nager /PublicHolidays/2026/XX404✅ correct error–stricter than OpenHolidays
Known findings
  1. Apparent duplicates are school types. Zurich returns *Frühlingsferien 2026* twice: once for CH-ZH-VS (Volksschulen, tagged Recommended) and once for CH-ZH-BS + CH-ZH-MS (Berufsfach- and Mittelschulen). Use the school_type parameter (VS / MS / BS / EO) rather than de-duplicating.
  2. Only six cantons differentiate by school type (AI, AR, BE, GR, SO, ZH). Elsewhere groups is absent and one table covers everything. The filter therefore treats an absent groups field as "applies to all".
  3. Subdivision codes mix levels. Records may carry CH-AI-AP or CH-BE-TH-BL. Always match on the CH-XX prefix, never on string equality.
  4. An empty list is not an answer. An unknown country or canton code yields HTTP 200 with []. This server sets an explanatory note so that "no holidays" and "bad filter" stay distinguishable.

Prerequisites

  • Python 3.10 or high

Only the beginning is shown; read the rest in the repo