Iran Weather

v0.1.1
io.github.sepehr071/iran-weather-mcp Checked 1 day ago Published 14 days ago

Read-only Iran Meteorological Org (irimo.ir): city forecasts, observations, warnings.

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

wx_cities Main cities forecast

Today's forecast (condition, max and min temperature) for the main cities (about 35), with the ids wx_weather accepts. Start here for "what is the weather in Iran today". Temperatures are in °C; `day` is the Persian date label the site shows.

wx_weather Weather at a city

Current observation and 3-day forecast for one city or weather station. Current: temperature, wind, humidity, visibility, rain and min/max over the last 24 h, with the observation time and the update time (Jalali, Tehran time). Forecast: three 24 h periods with condition and min/max. Not every station has a forecast; small stations only have observations.

ParameterTypeDescription
city *stringCity or station name in Persian (تهران, مشهد, کاشمر) or a station id from wx_cities / wx_province

wx_province Province stations now

Latest observations of every weather station in the province of a city. Each station has an id (usable in wx_weather), temperature in °C, humidity, wind speed and the direction it blows from. Stations without a reading show no temperature.

ParameterTypeDescription
city *stringAny city or station of the province (تهران, مشهد) or its station id

wx_observations Country observations

Current temperature, humidity and wind at the ~37 stations on the national map of irimo.ir. Compact whole-country snapshot (main cities, airports, islands). For one city's full detail use wx_weather.

wx_warnings Weather warnings

Latest official warnings of the Iran Meteorological Organization, newest first. Each has an id for wx_warning, a type, a level (yellow, orange, red) and a number. Warnings are issued per event and nothing marks them expired: check the dates in wx_warning.

ParameterTypeDescription
kindstringWarning type: weather (rain, wind, snow, heat), marine (sea), pollution (air quality), agriculture (frost, farming)
limitinteger
pageintegerList page, 20 warnings per page, newest first

wx_road Road weather

Current weather of every city along a main road, from the road-weather service of irimo.ir. One row per city in route order: time, condition, temperature, visibility, pressure, wind. If the route name is not exact, the matching routes are returned (`routes`) to pick from. Only the routes the site lists (about 400).

ParameterTypeDescription
route *stringRoute as 'origin-destination' in Persian (تهران-مشهد, آبادان تهران) or a route id

wx_airports Airport forecasts

Aviation forecasts (TAF) of about 29 Iranian airports with their flight category (vfr, mvfr, ifr, lifr). Without `airport` only the list with categories is returned; with it, the full TAF text of the match. TAF is the standard coded airport forecast (wind, visibility, cloud, TEMPO/BECMG changes, UTC times). `station_id` works in wx_weather for the city's ground observation.

ParameterTypeDescription
airportstring | nullICAO code (OIII, OIMM) or part of the English name (Mashhad); empty lists all airports

wx_bulletins Forecast bulletins

Link to the latest official forecast bulletin (PDF): 5-day, weekly, seasonal, Tehran province or Tehran air quality. The site publishes these long-range forecasts only as PDF files, so this returns the title, publish date and the PDF link, not the text.

ParameterTypeDescription
kindstringfive_day, weekly (about 6 weeks), seasonal, tehran (province) or air_quality (Tehran)

wx_warning Warning detail

Full text of one warning: system description, start and end time, hazard, affected area, impact, advice. `details` lists the labelled lines the site prints (Persian, as written; a warning for two systems repeats the labels). `files` holds the PDF bulletin and `map_image` the affected-area map.

ParameterTypeDescription
warning_id *integerWarning id from wx_warnings