iran-roads-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@iran-roads-mcp Which roads are closed in Iran right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
iran-roads-mcp: 141.ir (راهداری) road status MCP server for AI agents, Iran road closures and traffic
iran-roads-mcp is an unofficial, read-only MCP server that lets an AI agent read Iran's road status from 141.ir (۱۴۱, the road information service of the Road Maintenance and Transportation Organization, RMTO, راهداری و حملونقل جادهای). Its 8 tools read the official road bulletin, closed roads, police traffic restrictions, road works, road weather warnings, the 22 main intercity axes and province traffic map images. No API key or account is needed; it works in Claude, Cursor, Copilot and any other MCP client.
For AI agents · Quick start · Tools · Limits · فارسی
For AI agents
What: unofficial MCP server (model context protocol) for 141.ir and its API api.141.ir: the road bulletin, closures, traffic restrictions, road works, weather warnings, main axes and province traffic maps.
Install:
uvx iran-roads-mcporclaude mcp add iran-roads -- uvx iran-roads-mcp. Transport: stdio. Needs uv (Python 3.10+).Auth: none. Optional
IRAN_ROADS_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.Access: read-only, no confirmation needed. It answers from any network, an Iranian IP is not required.
Tools: 8, all prefixed
rd_. List tools takeprovince(id or Persian name, fromrd_provinces),limitandpage.Use when: the user asks whether a road in Iran is closed, what traffic limits or road works are active, or what the road weather warning says.
Do not use when: the user needs live traffic counters or road cameras, which are not offered.
Output: compact JSON with Persian official announcement texts, ASCII digits and coordinates.
Related MCP server: balad-mcp
Quick start
You need uv. No API key or account.
Claude Code:
claude mcp add iran-roads -- uvx iran-roads-mcpClaude Desktop, Cursor, VS Code and other clients:
{
"mcpServers": {
"iran-roads": { "command": "uvx", "args": ["iran-roads-mcp"] }
}
}Example prompts:
"Which roads are closed in Iran right now?"
"Are there road works on the Tehran-Qom highway?"
"What is the latest road weather bulletin for the northern axes?"
آیا جادهی فشند - طالقان بسته است؟
محدودیتهای ترافیکی فعلی در استان کردستان چیست؟
Real answer (17 Nov 2026): rd_closures returned 5 closures in total, among them "انسداد در قشند ( فشند - طالقان )" in Alborz (since 2026-11-07). rd_workshops returned 81 road works and rd_restrictions 1 police restriction.
Tools
Tool | What it does |
| List the 31 provinces with the ids the other tools accept. |
| Latest official road weather and traffic status bulletin of the Road Maintenance Organization. |
| List current road closures (blockades) with cause, direction, alternative route text and coordinates. |
| List traffic restrictions announced by the traffic police (vehicle types or hours, road still open). |
| List road works with work type, whether traffic can pass, period and alternative route. |
| Current road weather warnings: hazard, affected provinces by day and validity dates. |
| List the 22 main intercity axes the 141 app tracks, with endpoints. |
| Get the URL of a province's traffic status map image. |
Limits
Entries stay listed until the operator removes them: some closures date from years ago. Check the
sinceanduntilfields.Not offered: traffic counters (تردد شمار, they need a 141 login) and road cameras (the public camera endpoint returns nothing).
The province filter of the bulletin was not verified for every province (it returned nothing for two provinces tested).
The tools read the same API the 141.ir page calls. Counts were matched against the page's banner and slideshow, not field by field against the page.
Texts are Persian official announcements. The traffic map tool returns an image URL, not the image.
فارسی
iran-roads-mcp یک سرور MCP غیررسمی و فقطخواندنی است که به دستیار هوش مصنوعی اجازه میدهد وضعیت جادههای ایران را از سامانهی ۱۴۱ (راهداری و حملونقل جادهای) بخواند: بولتن رسمی وضعیت جادهها، جادههای مسدود، محدودیتهای ترافیکی پلیس، کارگاههای جادهای، هشدارهای هواشناسی جادهای، محورهای اصلی و نقشهی ترافیک استانها. کلید API یا حساب کاربری لازم نیست. نصب در Claude Code:
claude mcp add iran-roads -- uvx iran-roads-mcpDevelopment
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 # real api.141.irReleases: bump the version in pyproject.toml and server.json, run uv lock, then push a v* tag; GitHub Actions publishes to PyPI and the MCP Registry.
Disclaimer
Unofficial and not affiliated with or endorsed by RMTO or 141.ir. It is read-only and uses the public API of 141.ir, which can change without notice. For safety decisions on the road, follow official announcements.
Author
Built and maintained by Sepehr Radmard (سپهر رادمرد). LinkedIn · GitHub · more servers in iran-mcp.
مجوز استفاده (License)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.1.1 با مجوز MIT منتشر شده‌اند و همان مجوز را دارند.
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. Versions before 0.1.1 were released under MIT and stay under it.
Available Tools
8 toolsrd_bulletinRoad status bulletinBRead-onlyIdempotent
Latest official road weather and traffic status bulletin (northern axes, other axes) of the Road Maintenance Organization.
Inputs: province.
rd_closuresClosed roadsBRead-onlyIdempotent
List current road closures (blockades) with cause, direction, alternative route text and coordinates.
Inputs: page, limit, province.
rd_main_routesMain routesARead-onlyIdempotent
List the 22 main intercity axes the 141 app tracks (Tehran-North, Tehran-Mashhad...) with endpoints.
Inputs: no named parameters.
rd_provincesProvincesARead-onlyIdempotent
List the 31 provinces with the ids the other tools accept (and the province centre point).
Inputs: no named parameters.
rd_restrictionsTraffic restrictionsARead-onlyIdempotent
List traffic restrictions announced by the traffic police (limited vehicle types or hours, road still open).
Inputs: page, limit, province.
rd_traffic_mapProvince traffic mapARead-onlyIdempotent
Get the URL of the province's traffic status map image (updated by 141; the image shows live congestion).
Inputs: province (required).
rd_weatherRoad weather warningsBRead-onlyIdempotent
Current weather warnings for roads: hazard, affected provinces by day, and validity dates.
Inputs: no named parameters.
rd_workshopsRoad worksARead-onlyIdempotent
List road works (workshops) with work type, whether traffic can pass, period and alternative route.
Inputs: page, limit, province.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools target clearly distinct resources: weather warnings, works, closures, restrictions, provinces, routes, map image, and bulletin. The main overlap is between rd_weather and rd_bulletin (the bulletin also carries road weather/traffic status), and closures vs. restrictions vs. works could blur, though the descriptions explicitly differentiate 'road blocked', 'road open but limited', and 'construction'.
Every tool follows the same rd_<noun> snake_case pattern with no deviations or mixed conventions. The implicit list/get action is uniform across the set, making names predictable.
Eight tools is well within the ideal 3-15 range and each maps to a distinct data source in the 141 road-status domain. No filler tools are present.
Coverage spans weather, closures, restrictions, works, routes, provinces, map imagery, and bulletins, forming a solid read-only surface. However, there is no route-level or point-to-point query (e.g. status for a given axis or between two cities) and no search/lookup beyond province ids, which agents may need to work around.
Maintenance
Related MCP Connectors
Web scraping and Iranian-web data tools for AI agents: JS rendering, proxies, Markdown output.
US & Canada 511 road data: incidents, closures, cameras, truck restrictions. Paid API key.
European NAP road data (DATEX II): incidents, roadworks, cameras, truck parking. Paid API key.
Unblocking and fresh web data for agents: URL to Markdown, YouTube, Maps, Amazon, jobs. Pay per call
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides access to real-time Danish road traffic events, roadworks, and queues via public data from Vejdirektoratet, enabling AI assistants to check road conditions without any API keys.3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to search Iranian places and addresses, discover nearby or en-route places ranked by driving time, retrieve hours, photos, and reviews, reverse-geocode coordinates, and plan driving routes with live traffic through a read-only MCP interface.9297 PyPI1PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to search Iranian places, read place details, reviews, photos and menus, find nearby places, reverse geocode coordinates, check air quality, and get car, motorcycle, bicycle, walking or bus/metro directions, travel times and Tehran traffic-zone status without an API key.11303 PyPIPolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to read public Iranian car-marketplace data, including filtered used-car ads, full ad details, new-car prices and history, spec comparisons, and magazine articles, without an API key.15142 PyPI2PolyForm Noncommercial 1.0.0