public_holidays
Public holidays of one German state (all 16), Austria or Switzerland for one year: date, name (German or English), weekday and the next upcoming holiday. Calculated on our server, no external source. Returns: JSON with region, year, language, count, holidays, next, coverage. PAID: 0.002 USDC per call (USDC on eip155:8453, x402 v2). Requires an x402-capable MCP client that attaches the payment in _meta["x402/payment"] (e.g. createx402MCPClient from @x402/mcp). Without a payment this tool returns a "payment required" result and charges nothing. NOTE: No municipal or cantonal special days and no school holidays.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"region": "<region>"
},
"name": "public_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year, default the current year. | |
| region | Yes | DE-BY, DE-BW, DE-BE, DE-BB, DE-HB, DE-HH, DE-HE, DE-MV, DE-NI, DE-NW, DE-RP, DE-SL, DE-SN, DE-ST, DE-SH, DE-TH (German states), AT or CH. | |
| language | No | Language of the holiday names, de or en. Default en. | en |