
Iran News RSS
io.github.sepehr071由 GitHub 帳號 sepehr071 發布v0.3.0更新於 Nov 7, 2026
Unofficial read-only Persian news RSS: Mehr, Tabnak, Entekhab, Zoomit, Varzesh3, more.
概覽
唯讀的 MCP 伺服器,讓助理透過公開 RSS 來源瀏覽 10 家波斯語新聞網站的頭條、搜尋新聞並取得文章全文。
- 可以做什麼
- 列出 10 個新聞來源及其分組與分類代稱
- 取得單一來源的最新頭條,可依分類篩選
- 取得全部來源或某一分組、依時間合併的概覽
- 對目前 RSS 來源中的新聞進行關鍵字搜尋
- 取得 Digiato 與 Zoomit 的科技新聞,以及 Varzesh3 與 Khabarvarzeshi 的體育新聞
- 依連結取得報導正文全文,以 6000 字元分段回傳
- 適用情境
- 適合使用者需要伊朗當前頭條、近期報導概覽、對當日波斯語新聞做關鍵字搜尋,或取得某篇報導全文時使用。不適合檔案或歷史檢索,因為只能搜尋目前 RSS 來源中的新聞。
- 執行需求
- 透過 uvx(或 pip install)以 stdio 在本機執行,需要 uv 與 Python 3.10+。不需帳號或 API 金鑰。需要能連線到這些新聞網站;可選環境變數 IRAN_NEWS_MCP_PROXY 用來設定 HTTP 代理(或逗號分隔的代理清單),系統代理設定會被忽略。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Iran News RSS,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
iran-news-mcp: Iranian news MCP server for AI agents
Let your AI agent read Iranian news (اخبار ایران) from 10 Persian news sites.
An unofficial, read-only MCP server over the public RSS feeds and article pages of Mehr, Khabaronline, Hamshahri, Tabnak, Entekhab, Asriran, Zoomit, Digiato, Varzesh3 and Khabarvarzeshi:
latest headlines, a merged overview, keyword search and the full text of any story, from Claude, Cursor or Copilot.
[PyPI] [Python] [CI] [MCP Registry] [License: MIT] [mcpfarsi]
For AI agents · Why · What it can do · Quick start · Tools · Sources · How it works · Good to know · FAQ · Configuration · فارسی · Development · Related servers
For AI agents
- What: unofficial MCP server (model context protocol) 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). Text is Persian. Each source has a
group:news,techorsports. - Install:
uvx iran-news-mcporclaude mcp add iran-news -- uvx iran-news-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none, no API key or account. Optional
IRAN_NEWS_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. It cannot log in or post, so no confirmation is needed before calling any tool.
- Tools: 6, all prefixed
nw_:nw_list_sources,nw_latest,nw_search,nw_latest_all,nw_tech_news,nw_article. Start withnw_list_sourcesfor valid source ids and category slugs; for any technology question start withnw_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 Persian text. Null and empty fields are omitted. Each item has a
urlto pass tonw_article. - Machine-readable:
server.jsonand the iran-mcp catalog.
Why
Iranian news is spread over many sites, in Persian, each with its own category layout and feed addresses. Asking "what happened in the economy today" or "what is being said about X" means opening several pages. With iran-news-mcp the agent lists the sources, pulls the newest headlines in one call (or searches them all for a keyword) and opens the full text of the story that matters.
What it can do
- Latest headlines of one source, optionally one category (politics, economy, society, culture, world, sports, science, provinces, photo, ...)
- Merged overview of every source (or a chosen group) sorted by time
- Keyword search over the stories currently in the feeds, with Arabic/Persian ي/ك and ZWNJ normalised
- Technology news from Digiato (read several feed pages deep) and optionally Zoomit
- Full article text of a story from its link, in parts of 6000 characters
- Sports news from Varzesh3 and Khabarvarzeshi
- Read-only by design: no login, no posting
Example prompts:
- "What are the top economy headlines on Entekhab and Khabaronline right now?"
- "Give me a one-line overview of the latest news from every source."
- "Search the news for 'earthquake' and summarize what the first two results say."
- "Latest smartphone news from Digiato and Zoomit."
- آخرین خبرهای اقتصادی همشهری و خبرآنلاین را بیاور.
- درباره «بورس» در خبرگزاریها جستوجو کن و متن کامل مهمترین خبر را خلاصه کن.
- تازهترین اخبار فناوری از دیجیاتو و زومیت چیست؟
Quick start
You need uv. No API key or account.
Claude Code
Claude Desktop
Settings → Developer → Edit Config, then add:
Cursor
Add the Claude Desktop block to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
VS Code (Copilot agent mode)
Click Install in VS Code above, or add to .vscode/mcp.json:
Codex CLI
or add to ~/.codex/config.toml:
Gemini CLI
Add the Claude Desktop block to ~/.gemini/settings.json.
Windsurf
Add the Claude Desktop block to ~/.codeium/windsurf/mcp_config.json.
Anything else
It's a standard stdio MCP server: run uvx iran-news-mcp, or pip install iran-news-mcp and run iran-news-mcp.
Tools
All tools are annotated readOnlyHint: true.
Sources
Common slugs shared by most sources: politics, economy, society, culture, world, sports, science, provinces, photo. Always call nw_list_sources for the exact slugs per source.
How it works
iran-news-mcp runs locally, reads each site's public RSS feed (RSS 2.0 or Atom) and, for nw_article, the story's HTML page. There is no hosted server in between, no API key, and nothing about you is sent anywhere else.
Good to know
- Times are UTC ISO strings; Tehran is UTC+3:30.
- Feeds only, no archive. Search covers the stories currently in the feeds (10 to 300 per feed), newest first. It is a keyword match, not a full-text index of the sites.
- Reply size is capped at about 15 KB:
limitis at most 15 andper_sourceat most 2.nw_tech_newsis the exception (limitup to 30, summaries up to 300 characters, replies up to roughly 25 KB). - Summaries are plain text cut to 200 characters (80 in
nw_latest_all). Photo feeds (for example Mehrphoto) have mostly empty descriptions. - Stale feeds:
nw_latestsetsstale: truewhen a feed's newest story is more than 3 days old. - Feeds are cached for 3 minutes, so repeated calls do not hit the sites again. Timeouts, network errors, 5xx and 429 are retried up to twice.
- Partial answers: a source that fails is listed under
errorswhile the others still answer. - Zoomit has a single feed, so its categories are filtered on this side. Digiato feeds hold 10 items, so
nw_tech_newsreads extra pages. - No ISNA or IRNA. Their article pages sit behind a JavaScript challenge that plain clients cannot pass, so only headlines would work. They were left out.
- What it does NOT do: no login, no posting, no comments, no images in results, no archive search.
- Proxy: set
IRAN_NEWS_MCP_PROXYif your network cannot reach the sites. Normal system proxy variables are ignored on purpose.
FAQ
Is there an MCP server for Iranian news?
Yes: iran-news-mcp is an unofficial, read-only MCP server with 6 tools over the public RSS feeds and article pages of 10 Persian news sites. No API key is needed.
How do I read Persian news with Claude, Cursor or Copilot?
Add the server with claude mcp add iran-news -- uvx iran-news-mcp (or the matching config in Quick start), then ask in plain language, in Persian or English.
Is it official, safe and free?
It is unofficial and not affiliated with any of the news sites. It is read-only, runs on your machine, and is free under the MIT license.
Does it work outside Iran?
Yes: in testing the feeds and article pages answered both from a direct Iranian connection and from a Turkish proxy exit. If your network blocks the sites, set IRAN_NEWS_MCP_PROXY.
Can I get only tech or only sports news?
Yes. nw_list_sources shows each source's group (news, tech, sports); pass the ids of one group as sources to nw_search or nw_latest_all. For technology questions use nw_tech_news.
Can it search old news?
No. nw_search looks only at the stories currently in the RSS feeds. For something older, give nw_article a link you already have.
Why are ISNA and IRNA missing?
Their article pages answer non-browser clients with a JavaScript check, even from an Iranian connection, so only headlines would work. They were left out rather than half-supported.
A long article is cut off
nw_article returns the body in parts of 6000 characters. When a story has more than one part, call it again with part=2, and so on.
Claude Desktop says uvx is not found
Use the full path to uvx (where uvx on Windows, which uvx on macOS/Linux) as command.
Configuration
فارسی: سرور MCP اخبار ایران
iran-news-mcp یک سرور MCP غیررسمی و فقطخواندنی برای خواندن اخبار ایران است. این سرور از خوراک RSS و صفحههای خبر ده منبع استفاده میکند: مهر، خبرآنلاین، همشهری، تابناک، انتخاب، عصر ایران، زومیت، دیجیاتو، ورزش سه و خبرورزشی. دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) با آن میتواند آخرین خبرها را بخواند و در خبرگزاریها جستوجو کند.
چه کارهایی میکند
- آخرین عناوین هر خبرگزاری و هر دسته (سیاسی، اقتصادی، اجتماعی، فرهنگی، جهان، ورزشی، علمی، استانها و ...).
- مرور ترکیبی خبرهای همه منابع، مرتب بر اساس زمان.
- جستوجوی کلیدواژه در خبرهایی که اکنون در خوراکها هستند.
- اخبار فناوری از دیجیاتو و زومیت (موبایل، لپتاپ، هوش مصنوعی، بازی و ...).
- متن کامل خبر از روی پیوند آن، در بخشهای ۶۰۰۰ نویسهای.
نکتهها
- فقط خواندنی است: وارد حساب نمیشود و چیزی منتشر نمیکند.
- جستوجو فقط روی خبرهای فعلی خوراکها کار میکند و آرشیو نیست.
- زمانها به وقت UTC هستند (تهران UTC+3:30).
- روی سیستم خود شما اجرا میشود و کلید API لازم ندارد.
- ایسنا و ایرنا بهدلیل محافظ جاوااسکریپتی صفحههای خبرشان پشتیبانی نمیشوند.
نصب (اول uv را نصب کنید). در Claude Code:
در Claude Desktop، Cursor و بقیه برنامهها همان تنظیم بخش Quick start را بگذارید.
نمونه پرسشها
- «آخرین خبرهای اقتصادی تابناک و خبرآنلاین چیست؟»
- «درباره زلزله در همه خبرگزاریها جستوجو کن.»
- «تازهترین خبرهای ورزشی را از ورزش سه بیاور.»
- «اخبار فناوری و موبایل امروز را از دیجیاتو و زومیت بگو.»
Development
Tools live in src/iran_news_mcp/news.py (feeds, search, tech news) and article.py (story text); each is a typed async function with a docstring that tells the agent when to use it. Feed addresses are in the SOURCES table in news.py. Issues and PRs are welcome, especially new sources and fixes when a feed changes.
Releases: bump the version in pyproject.toml and server.json, then push a v* tag. GitHub Actions tests, publishes to PyPI and the MCP Registry, and creates the GitHub Release.
Related servers
- Tgju MCP server for gold, currency and market prices
- Tsetmc MCP server for the Tehran Stock Exchange
- Iran Quake MCP server for earthquakes in Iran
- Iran Crypto MCP server for cryptocurrency prices in Iran
- iran-mcp: catalog of all Iranian-service MCP servers
- Listed on mcpfarsi.ir, the Persian MCP marketplace
Disclaimer
Unofficial and not affiliated with or endorsed by Mehr, Khabaronline, Hamshahri, Tabnak, Entekhab, Asriran, Zoomit, Digiato, Varzesh3 or Khabarvarzeshi. It reads their public RSS feeds and article pages, which can change without notice. Headlines and article text belong to their publishers; please keep request rates reasonable.
Author
Built and maintained by Sepehr Radmard (سپهر رادمرد). Connect on LinkedIn or follow @sepehr071 on GitHub for more MCP servers for Iranian websites, all listed in iran-mcp. If this saves you time, a star on the repo helps other people find it.
License
來源:README.md,提交 aa8cfcc
工具
0版本歷史
5- v0.3.0最新Nov 7, 2026
- v0.2.3Nov 3, 2026
- v0.2.2Oct 23, 2026
- v0.2.1Oct 22, 2026
- v0.2.0Oct 20, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分