iran-weather-mcp: Iran Meteorological Organization (سازمان هواشناسی کشور) weather MCP server for AI agents
iran-weather-mcp is an unofficial, read-only MCP server that lets an AI agent read forecasts, current observations and official weather warnings from the Iran Meteorological Organization (IRIMO, سازمان هواشناسی کشور, irimo.ir).
Its 9 tools list today's forecast for the main cities, show one city's current weather and 3-day forecast, list every station of a province, read the national station map, list and read official warnings (weather, marine, pollution, agriculture), show road weather along a main road, show airport TAF forecasts and link the latest PDF bulletins.
No API key or account is needed; it works in Claude, Cursor, Copilot and any other MCP client. IRIMO answers only Iranian IPs, so the server uses the direct line by default.
For AI agents · Quick start · Tools · Limits · فارسی
For AI agents
- What: unofficial MCP server (model context protocol) for irimo.ir: main-city forecasts, current observations, 3-day city forecasts, province stations, official warnings, road weather, airport TAF forecasts and bulletin links.
- Install:
uvx iran-weather-mcporclaude mcp add iran-weather -- uvx iran-weather-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
IRAN_WEATHER_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. It cannot log in or subscribe to anything. The site answers only Iranian IPs: from abroad set
IRAN_WEATHER_MCP_PROXYto an Iranian proxy. - Tools: 9, all prefixed
wx_. Typical sequences:wx_cities->wx_weather;wx_weather->wx_province;wx_warnings->wx_warning;wx_roadandwx_airportson their own;wx_bulletinsfor the PDF outlooks. - Use when: the user asks what the weather is in an Iranian city today or in the next three days, which stations of a province report what, whether a storm, sea, pollution or agriculture warning is active, what the road or an airport looks like, or where the weekly or seasonal outlook is.
- Output: compact JSON. Temperatures in °C, wind in km/h, rain in mm, dates Jalali, times Tehran time. City names and conditions are Persian. Forecast periods are three consecutive 24 h blocks.
Quick start
You need uv. No API key or account.
Claude Code:
claude mcp add iran-weather -- uvx iran-weather-mcp
Claude Desktop, Cursor, VS Code and other clients:
{
"mcpServers": {
"iran-weather": { "command": "uvx", "args": ["iran-weather-mcp"] }
}
}
Example prompts:
- "What is the weather in Iran today?"
- "Weather in Mashhad now and for the next three days."
- "Are there any storm or pollution warnings in Iran?"
- وضعیت آبوهوای تهران را بگو.
- آیا هشدار دریایی برای خلیج فارس صادر شده است؟
Real answer (18 Nov 2026): wx_weather(city="مشهد") returned 13 °C, cloudy (ابری), humidity 54%, wind 11 km/h from the north-west, visibility 6000 m, with forecast minimum and maximum of 7 and 18 °C for the first day, 8 and 22 for the second and 8 and 21 for the third. wx_cities() listed Tehran at 17 / 10 °C, Tabriz 17 / 3 and Bandar Abbas 30 / 19.
Tools
| Tool | What it returns |
|---|---|
wx_cities |
Today's forecast (condition, max and min) for about 35 main cities, with the ids wx_weather accepts |
wx_weather |
One city or station: current temperature, wind, humidity, visibility, rain, 24 h min and max, and a 3-day forecast |
wx_province |
Latest observations of every station in the province of a city |
wx_observations |
Current temperature, humidity and wind at the stations of the national map (about 35) |
wx_warnings |
Latest official warnings, newest first, filtered by kind (weather, marine, pollution, agriculture) |
wx_warning |
Full text of one warning: system, start and end time, hazard, area, impact, advice |
wx_road |
Current weather of every city along a main road (about 400 routes, found by name) |
wx_airports |
Aviation forecasts (TAF) of about 29 airports with their flight category (VFR, MVFR, IFR, LIFR) |
wx_bulletins |
Link to the latest official PDF bulletin: 5-day, weekly, seasonal, Tehran province or Tehran air quality |
Limits
- IRIMO answers only Iranian IPs. A foreign network times out or gets a 503; set
IRAN_WEATHER_MCP_PROXYto an Iranian proxy. - The data comes from the website's HTML pages and refreshes hourly or faster, so values can lag the site by a few minutes and can change between two calls.
- A station whose feed is stale shows no current values and no 3-day forecast. The tools return only what the page shows, and some stations only show the 24 h min and max in forecast period 3.
- No hourly forecast, no historical data, no METAR. Bulletins are PDF links only; the provincial and mountain bulletins are not exposed.
- The first lookup of a small station by name, or of a road by name, reads several pages before it is cached.
- Warning pages 2 and later, and the pollution and marine warning texts, were checked against the page HTML rather than in Chrome (see the test report in the API map).
How it works
IRIMO has no public API. The pages were mapped by watching irimo.ir in Chrome, and every tool was then checked in Chrome against the real rendered pages on 18 Nov 2026, with a second review pass the same day that found and fixed six parser bugs. The server reads those same public pages through a Chrome-impersonating HTTP client, with a 5 minute cache and at most two requests at a time.
فارسی
iran-weather-mcp یک سرور MCP غیررسمی و فقطخواندنی برای سازمان هواشناسی کشور (irimo.ir) است. با آن یک عامل هوش مصنوعی میتواند پیشبینی امروز شهرهای اصلی، وضعیت فعلی و پیشبینی سهروزهٔ هر شهر، ایستگاههای هر استان، هشدارهای رسمی (جوی، دریایی، آلودگی، کشاورزی)، وضعیت جادهها، پیشبینی فرودگاهها و پیوند بولتنهای رسمی را بخواند. بدون حساب کاربری و کلید API کار میکند. سایت هواشناسی فقط از آیپی ایران پاسخ میدهد؛ اگر خارج از ایران هستید، یک پراکسی ایرانی در IRAN_WEATHER_MCP_PROXY بگذارید. نصب در Claude Code:
claude mcp add iran-weather -- uvx iran-weather-mcp
Development
uv sync
uv run ruff check . && uv run ruff format --check .
uv run python -m pytest -q # offline tests on recorded fixtures
uv run python -m pytest -m live -q # live calls to irimo.ir (needs an Iranian IP)
Releases: bump the version in pyproject.toml and server.json, run uv lock, then push a v* tag; GitHub Actions publishes to PyPI.
Disclaimer
Unofficial and not affiliated with or endorsed by the Iran Meteorological Organization. It is read-only and uses the public pages of irimo.ir, which can change without notice. For safety-critical decisions use the official warnings and bulletins directly.
Author
Built and maintained by Sepehr Radmard (سپهر رادمرد). LinkedIn · GitHub · more servers in iran-mcp.
مجوز استفاده (License)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیتهاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0.
Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub.
Metadata
Release files for iran-weather-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iran_weather_mcp-0.1.0.tar.gz | 1.1 MB | With provenance | Details for iran_weather_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iran_weather_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iran_weather_mcp-0.1.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / iran_weather_mcp-0.1.0.tar.gz
| Download URL | iran_weather_mcp-0.1.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a82ae9b4b48a93cab252ced57a4e1c52518962a00890db016ed9406a4dc60c0
|
|
BLAKE2b-256 checksum How to use checksums |
9623b2b8e40364e2a798a702d0b7980c320ae5197df376564db29e98d71430ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / iran_weather_mcp-0.1.0-py3-none-any.whl
| Download URL | iran_weather_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4650687fc4849701855977ed50ef0a3bbba67b3d1503e2360d836f65466f339c
|
|
BLAKE2b-256 checksum How to use checksums |
868debda77475c027e4342e7c15978dd70292958b45efb78a3a23c2dc1d3ebe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for iran-weather-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for iran_weather_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.