Skip to main content
iran-weather-mcp: unofficial Iran Meteorological Organization (IRIMO, سازمان هواشناسی) MCP server for city forecasts, observations, weather warnings, road and airport weather in Claude, Cursor and Copilot

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.

PyPI Python CI License: PolyForm Noncommercial

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-mcp or claude 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_PROXY to an Iranian proxy.
  • Tools: 9, all prefixed wx_. Typical sequences: wx_cities -> wx_weather; wx_weather -> wx_province; wx_warnings -> wx_warning; wx_road and wx_airports on their own; wx_bulletins for 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_PROXY to 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, have had less testing than the other tools.

فارسی

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)

استفادهٔ شخصی و غیرتجاری رایگان است؛ برای استفادهٔ تجاری با سپهر رادمرد تماس بگیرید. Free for personal and non-commercial use; commercial use needs a 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iran-weather-mcp 0.1.1
File Size Uploaded Provenance Actions
iran_weather_mcp-0.1.1.tar.gz 1.1 MB With provenance Details for iran_weather_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iran-weather-mcp 0.1.1
File Interpreter ABI Platform Actions
iran_weather_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for iran_weather_mcp-0.1.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / iran_weather_mcp-0.1.1.tar.gz

Download URL iran_weather_mcp-0.1.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1e9520c234df49408ff9e4428678b055264e44e1bce1c2c896701a76663b3e9d
BLAKE2b-256 checksum
How to use checksums
5a9bfd508f43f820aec17fa19c7975b2d7d6583fbddb44458a2fb1c0aba1ec4a
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 log

Release files / iran_weather_mcp-0.1.1-py3-none-any.whl

Download URL iran_weather_mcp-0.1.1-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c9124b26c0956a55117ef41f2663de6822b2f5ec8fc47c1e201ea040ab939a8
BLAKE2b-256 checksum
How to use checksums
11232eb429d1cf6b5fb143778fa429aa1e0ff7ea404ef45cf82dab73ae8f3e40
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 log

Security for iran-weather-mcp 0.1.1

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.

Select from 2 files

Attestation for iran_weather_mcp-0.1.1.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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page