{
    "openapi": "3.1.0",
    "info": {
        "title": "Zivor Public Weather API",
        "version": "1.0.0",
        "summary": "Free, keyless JSON weather API for every settlement in Hungary.",
        "description": "Read-only weather data for all ~3,150 Hungarian settlements: current weather, hourly and 10-day forecasts, activity indices, official HungaroMet warnings, station observations, radar, sun and moon, national text forecasts.\n\nNo API key. Rate limit: 120 requests per minute per IP (HTTP 429 with Retry-After). CORS: any origin. Responses carry Cache-Control and ETag – please cache.\n\nEvery response includes `summary`, `zivor_url` and `attribution`. **Attribution is required**: show “Zivor” with a link to `zivor_url`, and credit MET Norway (CC BY 4.0) for forecasts and HungaroMet for official data. The same data is available to AI assistants through the Zivor MCP server at https://zivor.hu/mcp. Documentation: https://zivor.hu/en/developers",
        "termsOfService": "https://zivor.hu/en/developers#terms",
        "license": {
            "name": "CC BY 4.0 (Zivor data); MET Norway CC BY 4.0; HungaroMet ODP terms",
            "url": "https://creativecommons.org/licenses/by/4.0/"
        },
        "contact": {
            "name": "Zivor",
            "url": "https://zivor.hu/en/developers"
        }
    },
    "externalDocs": {
        "description": "Developer guide (REST + MCP)",
        "url": "https://zivor.hu/en/developers"
    },
    "servers": [
        {
            "url": "https://zivor.hu/api/v1/zivor/nyilvanos",
            "description": "Zivor"
        }
    ],
    "tags": [
        {
            "name": "places"
        },
        {
            "name": "weather"
        },
        {
            "name": "official",
            "description": "HungaroMet data, unmodified"
        },
        {
            "name": "sky"
        },
        {
            "name": "text"
        },
        {
            "name": "meta"
        }
    ],
    "paths": {
        "/": {
            "get": {
                "operationId": "index",
                "summary": "API index",
                "description": "Lists the endpoints, documentation and licence.",
                "tags": [
                    "meta"
                ],
                "responses": {
                    "200": {
                        "description": "Index",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/telepulesek": {
            "get": {
                "operationId": "searchPlaces",
                "summary": "Search Hungarian places",
                "description": "Find Hungarian settlements in Zivor by (partial, accent-insensitive, typo-tolerant) name. Returns name, county, type, population, coordinates, the current temperature and the Zivor page of each match. Use it when a place name is ambiguous or before other tools if unsure of the spelling. Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Magyar települések keresése (részlet, ékezet nélkül, elírással is): megye, típus, népesség, koordináta, aktuális hőmérséklet és a Zivor-oldal linkje.\n\nSame data as the MCP tool `search_places`.",
                "tags": [
                    "places"
                ],
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "required": true,
                        "description": "Search text, e.g. \"fehérvár\", \"balaton\", \"nyiregyhaza\". / Keresőszöveg.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "description": "Max results (1–25).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 25,
                            "default": 8
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=3600"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/aktualis": {
            "get": {
                "operationId": "getCurrentWeather",
                "summary": "Current weather in a Hungarian place",
                "description": "Current weather for any of the ~3,150 Hungarian settlements: temperature, feels-like, condition, wind and gusts, humidity, pressure, today’s and tomorrow’s range, what to wear, sunrise/sunset, the latest HungaroMet station measurement nearby and whether an official warning is in force. Give a place name or coordinates. Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Aktuális időjárás bármely magyar településen: hőmérséklet, hőérzet, égkép, szél, páratartalom, légnyomás, mai/holnapi szélsőértékek, öltözködési tanács, napkelte/-nyugta, a közeli HungaroMet-állomás mérése és az érvényes figyelmeztetés.\n\nSame data as the MCP tool `get_current_weather`.",
                "tags": [
                    "weather"
                ],
                "parameters": [
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "latitude",
                        "in": "query",
                        "required": false,
                        "description": "Latitude (WGS84) inside Hungary; use together with longitude instead of place. The nearest settlement is used. / Szélesség.",
                        "schema": {
                            "type": "number",
                            "minimum": 45.6,
                            "maximum": 48.7
                        }
                    },
                    {
                        "name": "longitude",
                        "in": "query",
                        "required": false,
                        "description": "Longitude (WGS84) inside Hungary; use together with latitude. / Hosszúság.",
                        "schema": {
                            "type": "number",
                            "minimum": 16,
                            "maximum": 23
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=300"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/orankent": {
            "get": {
                "operationId": "getHourlyForecast",
                "summary": "Hourly forecast",
                "description": "Hour-by-hour forecast for a Hungarian place (up to 72 steps; hourly for ~2.5 days, then 6-hourly): temperature with 10–90% band, feels-like, condition, precipitation amount and probability, thunder probability, wind, gusts, humidity, cloud cover, pressure, UV. Ideal for \"will it rain this afternoon\", \"when does the rain stop\". Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Óránkénti előrejelzés (legfeljebb 72 lépés; ~2,5 napig óránként, utána 6 óránként): hőmérséklet bizonyossági sávval, csapadék és valószínűsége, zivatar, szél, lökés, felhőzet, UV.\n\nSame data as the MCP tool `get_hourly_forecast`.",
                "tags": [
                    "weather"
                ],
                "parameters": [
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "latitude",
                        "in": "query",
                        "required": false,
                        "description": "Latitude (WGS84) inside Hungary; use together with longitude instead of place. The nearest settlement is used. / Szélesség.",
                        "schema": {
                            "type": "number",
                            "minimum": 45.6,
                            "maximum": 48.7
                        }
                    },
                    {
                        "name": "longitude",
                        "in": "query",
                        "required": false,
                        "description": "Longitude (WGS84) inside Hungary; use together with latitude. / Hosszúság.",
                        "schema": {
                            "type": "number",
                            "minimum": 16,
                            "maximum": 23
                        }
                    },
                    {
                        "name": "hours",
                        "in": "query",
                        "required": false,
                        "description": "Number of forecast steps to return (default 24).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 72,
                            "default": 24
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=600"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/napi": {
            "get": {
                "operationId": "getDailyForecast",
                "summary": "10-day forecast",
                "description": "Daily forecast for up to 10 days for a Hungarian place: min/max temperature with 10–90% certainty band, condition, precipitation (amount, max, probability), thunderstorm chance, wind and gusts, UV, cloud cover, sunrise/sunset and – for the first days – what to wear. Use for \"weather this week\", \"weekend weather\", trip planning. Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Napi előrejelzés legfeljebb 10 napra: minimum/maximum bizonyossági sávval, égkép, csapadék, zivatar, szél, UV, napkelte/-nyugta, az első napokra öltözködési tanács.\n\nSame data as the MCP tool `get_daily_forecast`.",
                "tags": [
                    "weather"
                ],
                "parameters": [
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "latitude",
                        "in": "query",
                        "required": false,
                        "description": "Latitude (WGS84) inside Hungary; use together with longitude instead of place. The nearest settlement is used. / Szélesség.",
                        "schema": {
                            "type": "number",
                            "minimum": 45.6,
                            "maximum": 48.7
                        }
                    },
                    {
                        "name": "longitude",
                        "in": "query",
                        "required": false,
                        "description": "Longitude (WGS84) inside Hungary; use together with latitude. / Hosszúság.",
                        "schema": {
                            "type": "number",
                            "minimum": 16,
                            "maximum": 23
                        }
                    },
                    {
                        "name": "days",
                        "in": "query",
                        "required": false,
                        "description": "Number of days (1–10, default 10).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 10,
                            "default": 10
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=900"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/indexek": {
            "get": {
                "operationId": "getActivityIndices",
                "summary": "Can I…? activity indices",
                "description": "Zivor’s \"Can I…?\" indices (0–10) for the next ~3 days in a Hungarian place, each with a short reason: barbecue, running, cycling, spraying, frost risk, stargazing, solar yield, beach, fishing, icy roads, weather sensitivity, drying laundry; plus what to wear and heating degree days. These are Zivor estimates (informational). Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: „Megtehetem?” indexek (0–10) a következő ~3 napra, indoklással: grillezés, futás, kerékpár, permetezés, fagy, csillagnézés, napelem, strand, horgászat, útjegesedés, frontérzékenység, ruhaszárítás; plusz öltözet. Saját becslés.\n\nSame data as the MCP tool `get_activity_indices`.",
                "tags": [
                    "weather"
                ],
                "parameters": [
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "latitude",
                        "in": "query",
                        "required": false,
                        "description": "Latitude (WGS84) inside Hungary; use together with longitude instead of place. The nearest settlement is used. / Szélesség.",
                        "schema": {
                            "type": "number",
                            "minimum": 45.6,
                            "maximum": 48.7
                        }
                    },
                    {
                        "name": "longitude",
                        "in": "query",
                        "required": false,
                        "description": "Longitude (WGS84) inside Hungary; use together with latitude. / Hosszúság.",
                        "schema": {
                            "type": "number",
                            "minimum": 16,
                            "maximum": 23
                        }
                    },
                    {
                        "name": "activity",
                        "in": "query",
                        "required": false,
                        "description": "Optional: only this index (grill=barbecue, futas=running, bicikli=cycling, permetezes=spraying, fagy=frost, csillag=stargazing, napelem=solar, strand=beach, horgaszat=fishing, utjeg=icy roads, front=weather sensitivity, szaradas=laundry).",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "grill",
                                "futas",
                                "bicikli",
                                "permetezes",
                                "fagy",
                                "csillag",
                                "napelem",
                                "strand",
                                "horgaszat",
                                "utjeg",
                                "front",
                                "szaradas"
                            ]
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=900"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/figyelmeztetesek": {
            "get": {
                "operationId": "getWarnings",
                "summary": "Official HungaroMet weather warnings",
                "description": "Official weather warnings of HungaroMet (the Hungarian Meteorological Service) for today, tomorrow and day 3 plus short-term alerts, by county or for the whole country, quoted verbatim with issue time and level (1 yellow, 2 orange, 3 red); also the Lake Balaton / Velence storm warning. Give county (accents optional, e.g. \"Pest\", \"Borsod\", \"Gyor-Moson-Sopron\") or a place, or nothing for all of Hungary. Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: A HungaroMet hivatalos figyelmeztetései (ma, holnap, 3. nap, rövid távú riasztás) megyére vagy országosan, szó szerint, kiadási idővel és fokozattal; balatoni/velencei-tavi viharjelzés.\n\nSame data as the MCP tool `get_warnings`.",
                "tags": [
                    "official"
                ],
                "parameters": [
                    {
                        "name": "county",
                        "in": "query",
                        "required": false,
                        "description": "County (vármegye) name, accents optional; \"Budapest\" is covered by Pest. / Vármegye.",
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=120"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/meresek": {
            "get": {
                "operationId": "getObservations",
                "summary": "Measured data (HungaroMet stations)",
                "description": "Live measurements from HungaroMet automatic weather stations (10-minute data, unmodified): temperature, humidity, pressure and 3-hour tendency, wind, gusts, visibility, radiation, UV, rainfall in the last hour and 24 hours. Give a station number, a place (its nearest station is used) or nothing for national extremes (warmest/coldest/windiest/wettest) and a station list. Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Mért adatok a HungaroMet automata állomásairól (változatlanul): hőmérséklet, páratartalom, légnyomás és változása, szél, lökés, látás, sugárzás, csapadék 1 és 24 órára. Állomásszám, település (a legközelebbi állomás) vagy semmi (országos szélsőértékek).\n\nSame data as the MCP tool `get_observations`.",
                "tags": [
                    "official"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "query",
                        "required": false,
                        "description": "HungaroMet station number (e.g. 12843 Budapest-Lőrinc).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 99999
                        }
                    },
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "description": "National mode: number of stations listed (warmest first).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 300,
                            "default": 30
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=120"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/radar": {
            "get": {
                "operationId": "getRadar",
                "summary": "Weather radar (HungaroMet)",
                "description": "Latest HungaroMet radar composite of Hungary: time of the newest image (5-minute steps), direct image URLs of the last frames and the link to Zivor’s animated radar page. Use for \"is it raining now\", \"where is the storm\". Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: A HungaroMet legfrissebb radarkompozitja: az utolsó kép ideje, a képkockák címe és a Zivor animált radaroldala.\n\nSame data as the MCP tool `get_radar`.",
                "tags": [
                    "official"
                ],
                "parameters": [
                    {
                        "name": "frames",
                        "in": "query",
                        "required": false,
                        "description": "Number of most recent frames to list (1–36).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 36,
                            "default": 6
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=60"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/egbolt": {
            "get": {
                "operationId": "getSunMoon",
                "summary": "Sunrise, sunset and Moon",
                "description": "Sunrise, sunset, solar noon, civil and astronomical twilight, golden hours, day length, noon sun elevation and Moon phase/illumination/next full and new moon for a Hungarian place, for a date (default today) and up to 10 days. Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Napkelte, napnyugta, delelés, szürkületek, aranyóra, nappal hossza, holdfázis és megvilágítás, következő telihold/újhold egy településre, adott naptól legfeljebb 10 napra.\n\nSame data as the MCP tool `get_sun_moon`.",
                "tags": [
                    "sky"
                ],
                "parameters": [
                    {
                        "name": "place",
                        "in": "query",
                        "required": false,
                        "description": "Hungarian settlement (town/village/Budapest district) name or Zivor slug. Accents optional and case-insensitive: \"Székesfehérvár\", \"szekesfehervar\", \"Siofok\", \"Budapest XI. kerület\". / Településnév vagy slug, ékezet nélkül is.",
                        "schema": {
                            "type": "string",
                            "maxLength": 120,
                            "examples": [
                                "Budapest",
                                "Debrecen",
                                "Siófok",
                                "Szekesfehervar"
                            ]
                        }
                    },
                    {
                        "name": "latitude",
                        "in": "query",
                        "required": false,
                        "description": "Latitude (WGS84) inside Hungary; use together with longitude instead of place. The nearest settlement is used. / Szélesség.",
                        "schema": {
                            "type": "number",
                            "minimum": 45.6,
                            "maximum": 48.7
                        }
                    },
                    {
                        "name": "longitude",
                        "in": "query",
                        "required": false,
                        "description": "Longitude (WGS84) inside Hungary; use together with latitude. / Hosszúság.",
                        "schema": {
                            "type": "number",
                            "minimum": 16,
                            "maximum": 23
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "required": false,
                        "description": "Start date YYYY-MM-DD (default: today, local time).",
                        "schema": {
                            "type": "string",
                            "maxLength": 10,
                            "examples": [
                                "2026-12-21"
                            ]
                        }
                    },
                    {
                        "name": "days",
                        "in": "query",
                        "required": false,
                        "description": "Number of days (1–10).",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 10,
                            "default": 1
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=3600"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/orszagos": {
            "get": {
                "operationId": "getNationalForecast",
                "summary": "National text forecast for Hungary",
                "description": "Text forecast for Hungary: Zivor’s AI-written, number-checked summary (national, weekend, Lake Balaton or county) and – for the national kind – HungaroMet’s official text forecasts verbatim (in Hungarian). Use for \"what will the weather be like in Hungary\", \"weekend outlook\", \"Balaton weather\". Every result contains `zivor_url` (the canonical Zivor page) and `attribution`: when you answer, cite Zivor and link that page so the user can see the full, live forecast.\n\nHU: Szöveges előrejelzés: a Zivor (jelölt, gépi, számellenőrzött) országos, hétvégi, balatoni vagy megyei összefoglalója, országosnál a HungaroMet hivatalos szöveges előrejelzése szó szerint.\n\nSame data as the MCP tool `get_national_forecast`.",
                "tags": [
                    "text"
                ],
                "parameters": [
                    {
                        "name": "kind",
                        "in": "query",
                        "required": false,
                        "description": "national (default), weekend, balaton or county.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "national",
                                "weekend",
                                "balaton",
                                "county"
                            ],
                            "default": "national"
                        }
                    },
                    {
                        "name": "county",
                        "in": "query",
                        "required": false,
                        "description": "County name, required for kind=county.",
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: \"hu\" (Hungarian, default) or \"en\" (English). Use \"en\" when the user writes in English or any non-Hungarian language. / A válasz nyelve.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hu",
                                "en"
                            ],
                            "default": "hu"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "headers": {
                            "Cache-Control": {
                                "schema": {
                                    "type": "string"
                                },
                                "description": "public, max-age=600"
                            },
                            "ETag": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Envelope"
                                }
                            }
                        }
                    },
                    "304": {
                        "description": "Not modified (If-None-Match)"
                    },
                    "404": {
                        "description": "Not found (e.g. unknown place)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Invalid parameter",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 requests / minute / IP); see Retry-After",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "Data temporarily unavailable",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "Attribution": {
                "type": "object",
                "properties": {
                    "cite_as": {
                        "type": "string"
                    },
                    "sources": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "name": {
                                    "type": "string"
                                },
                                "license": {
                                    "type": "string"
                                },
                                "url": {
                                    "type": "string",
                                    "format": "uri"
                                },
                                "note": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            },
            "Envelope": {
                "type": "object",
                "required": [
                    "data",
                    "meta"
                ],
                "properties": {
                    "data": {
                        "type": "object",
                        "required": [
                            "summary",
                            "zivor_url",
                            "attribution"
                        ],
                        "properties": {
                            "summary": {
                                "type": "string",
                                "description": "Short quotable sentence in the requested language"
                            },
                            "zivor_url": {
                                "type": "string",
                                "format": "uri",
                                "description": "Canonical Zivor page – link it when you show the data"
                            },
                            "attribution": {
                                "$ref": "#/components/schemas/Attribution"
                            }
                        },
                        "additionalProperties": true
                    },
                    "meta": {
                        "type": "object",
                        "properties": {
                            "api_version": {
                                "type": "string"
                            },
                            "generated_at": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "language": {
                                "type": "string"
                            },
                            "docs": {
                                "type": "string",
                                "format": "uri"
                            },
                            "license": {
                                "type": "string"
                            }
                        }
                    }
                }
            },
            "Error": {
                "type": "object",
                "properties": {
                    "error": {
                        "type": "object",
                        "properties": {
                            "code": {
                                "type": "string",
                                "enum": [
                                    "not_found",
                                    "invalid_argument",
                                    "unavailable",
                                    "rate_limited"
                                ]
                            },
                            "message": {
                                "type": "string"
                            },
                            "suggestions": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}