Skip to main content

iran-news-mcp: Iranian news RSS MCP server for AI agents

Let your AI agent read Iranian news (اخبار ایران) from 10 sources: Mehr, Khabaronline, Hamshahri, Tabnak, Entekhab, Asriran, Zoomit, Digiato, Varzesh3 and Khabarvarzeshi.
An unofficial, read-only MCP server over the sites' public RSS feeds and article pages: latest headlines per source and category, a merged overview, keyword search across all of them, and the full text of any story.

For AI agents · Quick start · Tools · Sources · فارسی


For AI agents

  • What: unofficial MCP server for the RSS feeds and article pages of Mehr (mehrnews.com), Khabaronline (khabaronline.ir), Hamshahri (hamshahrionline.ir), Tabnak (tabnak.ir), Entekhab (entekhab.ir), Asriran (asriran.com), Zoomit (zoomit.ir), Digiato (digiato.com), Varzesh3 (varzesh3.com) and Khabarvarzeshi (khabarvarzeshi.com). Persian text. Each source has a group: news, tech or sports.
  • Install: uvx iran-news-mcp or claude mcp add iran-news -- uvx iran-news-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none. Optional IRAN_NEWS_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. All sources answer from a direct Iranian connection.
  • Access: read-only. No login or posting, so no confirmation is needed before calling any tool.
  • Tools: 6: nw_list_sources, nw_latest, nw_search, nw_latest_all, nw_tech_news, nw_article. Start with nw_list_sources for valid source ids and category slugs; for any technology question start with nw_tech_news.
  • Use when: the user wants current Iranian headlines, a news overview, recent coverage of a keyword, or the full text of a story.
  • Do not use when: an archive is needed (only what is in the current feeds, 10 to 300 stories per feed, is searchable).
  • Output: compact JSON. Times are UTC ISO strings (Tehran is UTC+3:30); summaries are plain text cut to 200 characters (80 in nw_latest_all). Null and empty fields are omitted. Replies stay under ~15 KB: limit is capped at 15 and per_source at 2; nw_tech_news is the exception (summaries up to 300 characters, limit up to 30, up to ~35 KB). A failing source is listed under errors while the others still answer. nw_latest sets stale: true when a feed's newest story is over 3 days old. Feeds are cached for 3 minutes.
  • Machine-readable: server.json and the awesome-iran-mcp catalog.

Quick start

claude mcp add iran-news -- uvx iran-news-mcp

Other clients: command uvx, args ["iran-news-mcp"].

Tools

Tool What it does
nw_list_sources The 10 sources with their group and category slugs.
nw_latest Newest headlines of one source, optionally one category (source, category, limit 1-15).
nw_search Keyword search over the current feeds of several sources (query, sources, category, limit 1-15).
nw_latest_all Newest headlines from every source merged by time (sources, category, per_source 1-2).
nw_tech_news Technology news, Digiato by default read several feed pages deep, optionally Zoomit (topic, category, limit 1-30, source digiato / zoomit / both); summaries up to 300 characters, scanned shows search depth.
nw_article Full body text of one story from its url, in parts of 6000 characters (url, part).

Sources

id Site Categories Feeds
mehr Mehr 14 one per category (30 items)
khabaronline Khabaronline 12 one per category (30 items)
hamshahri Hamshahri 16 one per category (30 items)
tabnak Tabnak 11 one per category (up to 100 items)
zoomit Zoomit 18 one feed (300 items), categories filtered here
digiato Digiato 14 one per topic (10 items)
entekhab Entekhab 11 one per category (up to 100 items)
asriran Asriran 11 one per category (up to 100 items)
varzesh3 Varzesh3 (sports) 1 (sports) one feed (40 items)
khabarvarzeshi Khabarvarzeshi (sports) 1 (sports) one feed (30 items)

Common slugs shared by most sources: politics, economy, society, culture, world, sports, science, provinces, photo. The sites offer more sub-category feeds than listed here; see the API map.

FAQ

Does it work outside Iran? Yes: the RSS endpoints and article pages answered from a Turkish exit in testing, and from a direct Iranian connection.

Can I filter by group? Yes: filter on group (news, tech, sports) from nw_list_sources and pass the ids as sources.

Why no ISNA or IRNA? Their article pages (also /amp/ and /print/) answer every non-browser client with an ArvanCloud JavaScript check, from an Iranian connection too, so only headlines would work. They were left out.

فارسی

سرور MCP غیررسمی و فقط‌خواندنی برای خوراک RSS و صفحه‌های خبر ده منبع خبری: مهر، خبرآنلاین، همشهری، تابناک، انتخاب، عصر ایران، زومیت، دیجیاتو، ورزش سه و خبرورزشی. آخرین عناوین هر منبع و دسته، مرور ترکیبی، جست‌وجوی کلیدواژه در همه منابع و متن کامل خبر.

claude mcp add iran-news -- uvx iran-news-mcp

License

MIT

Metadata

Release files for iran-news-mcp 0.2.0

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-news-mcp 0.2.0
File Size Uploaded Provenance
iran_news_mcp-0.2.0.tar.gz 115.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for iran-news-mcp 0.2.0
File Interpreter ABI Platform
iran_news_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 137.8 kB

Release files / iran_news_mcp-0.2.0.tar.gz

Download URL iran_news_mcp-0.2.0.tar.gz
Size 115.4 kB
Tags Source
SHA-256 checksum
How to use checksums
91b83266e0e91ad345944942758f7e15957ae06087f1940040ccab18645c42ff
BLAKE2b-256 checksum
How to use checksums
20f5a9291739c97d2098a68855571591e57001bed3f12a0706805fd3b0d53245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / iran_news_mcp-0.2.0-py3-none-any.whl

Download URL iran_news_mcp-0.2.0-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
968e6a155d3c115f765469cbd9532bc588679bda2f8185a5daa4270389277f8a
BLAKE2b-256 checksum
How to use checksums
0a5f455753dfc1f6fee8bb410c60d68435aa21a9d53fc56f3856ca562acdcbe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Security for iran-news-mcp 0.2.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for iran_news_mcp-0.2.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 Oct 20, 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.

Release history Release notifications | RSS feed

This release

0.2.0 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