iranseda-mcp: Iranseda (ایرانصدا) IRIB radio and audio archive MCP server for AI agents
iranseda-mcp is an unofficial, read-only MCP server that lets an AI agent list IRIB radio channels, open their live streams, read daily schedules and find programs, episodes, audiobooks, music and Quran recitations on Iranseda (ایرانصدا, iranseda.ir), the audio archive of Iran's national broadcaster.
Its 9 tools list national, provincial and Nama radio channels with what is on now, give a channel's public live stream (HLS) with now and next, show a channel's schedule for a day, find a radio program by name, show its episodes and an episode's audio files, and search the audiobook, music, kids, speech, nava and Quran libraries down to mp3 and mp4 links.
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 Iranseda: radio channels, live streams, schedules, programs, episodes, and the audiobook, music, kids, speech, nava and Quran libraries.
- Install:
uvx iranseda-mcporclaude mcp add iranseda -- uvx iranseda-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
IRANSEDA_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. It cannot log in, play audio or download files; results give stream and file URLs.
- Tools: 9, all prefixed
sd_. Typical sequences:sd_channels->sd_live_now/sd_schedule;sd_search_programs->sd_program->sd_episode;sd_library_search->sd_library_item->sd_library_file. - Use when: the user asks what is on a radio channel now, wants the live stream link of Radio Quran, Radio Iran or another IRIB channel, wants a program's recent episodes and their mp3 files, or wants an audiobook, a recitation or a sermon from Iranseda.
- Output: compact JSON. Dates are Gregorian (the site shows Jalali), times are Tehran time, durations are minutes. Titles are Persian.
Quick start
You need uv. No API key or account.
Claude Code:
claude mcp add iranseda -- uvx iranseda-mcp
Claude Desktop, Cursor, VS Code and other clients:
{
"mcpServers": {
"iranseda": { "command": "uvx", "args": ["iranseda-mcp"] }
}
}
Example prompts:
- "What is on Radio Quran right now, and what is its live stream?"
- "Show today's schedule of Radio Iran."
- "Find an audiobook about Islamic thought in the Quran on Iranseda."
- الان در رادیو قرآن چه برنامهای پخش میشود؟
- برنامهٔ «به افق آفتاب» را در رادیو ایران پیدا کن و آخرین قسمتهایش را بده.
Real answer (18 Nov 2026): sd_live_now(channel="15") returned the Radio Quran (شبکه قرآن) HLS stream https://s1cdn3.iranseda.ir/liveedge/radio-quran/playlist.m3u8, now "تلاوت استاد احمد ابوالقاسمی" from 13:35 for 15 minutes, then a 5-minute interlude, "كلام ناب از خورشید انقلاب" at 13:55 and the national news at 14:00.
Tools
| Tool | What it returns |
|---|---|
sd_channels |
IRIB radio channels (national, provincial or Nama) with the program playing now and channel ids |
sd_live_now |
A channel's public HLS live stream URL, plus the program on now and the next ones |
sd_schedule |
A channel's programs for one day: start time, length, title, program and episode ids |
sd_search_programs |
Programs of one channel whose name contains a text (the site has no global search) |
sd_program |
A program's description, broadcast time and its latest episodes, about 20 per page |
sd_episode |
One episode's date, description and the audio file URL of each part |
sd_library_search |
Audiobooks, music, kids, speeches, nava and Quran recitations by text or category code |
sd_library_item |
One library item's details (narrator, singer, category) and its tracks |
sd_library_file |
The mp3 and mp4 download links and sizes of one library track |
Limits
- The site has no JSON API and no global search.
sd_search_programsfilters one channel's program list by name; library sub-sites have a real search, except the Quran site, whose search is broken upstream (use a category code such asga). - Results are parsed from the site's HTML, so a redesign can break a tool. The site sometimes answers a blank page; the server retries and then returns an error.
- Live streams were checked for 77 channels on 18 Nov 2026: 63 gave a playlist, 12 timed out on one CDN node and 2 provincial channels (Zabol, Marivan) answered 404. Whether a given player accepts a stream was not tested.
- The program list marks a program that is airing as ended; that field (
ended_jalali) is exposed but not trusted. - Audio files are never fetched or played; mp3 and mp4 links are returned as URLs only. The podcast sub-site is an empty stub and is not covered.
- It worked from an Iranian line and through a foreign proxy in testing; if your network is blocked, set
IRANSEDA_MCP_PROXY. The server ignores system proxy variables on purpose.
How it works
Iranseda has no public API documentation. The pages were mapped by watching iranseda.ir in Chrome, and every tool was then checked in Chrome against the real rendered pages (channel lists, live pages, schedules, program and episode pages, and the library sub-sites) on 18 Nov 2026. The server reads the same public pages through a Chrome-impersonating HTTP client, with a short cache and at most two requests at a time.
فارسی
iranseda-mcp یک سرور MCP غیررسمی و فقطخواندنی برای ایرانصدا (iranseda.ir)، آرشیو صوتی سازمان صداوسیما است. با آن یک عامل هوش مصنوعی میتواند شبکههای رادیویی را فهرست کند، پخش زندهٔ هر شبکه و برنامهٔ در حال پخش را بگیرد، جدول پخش یک روز را ببیند، برنامهها و قسمتها را پیدا کند و به فایل صوتی هر قسمت برسد. کتابهای گویا، موسیقی، سخنرانی، نوا و تلاوتهای قرآن هم قابل جستوجو هستند. بدون حساب کاربری و کلید API کار میکند. نصب در Claude Code:
claude mcp add iranseda -- uvx iranseda-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 iranseda.ir
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 Iranseda or IRIB. It is read-only and uses the public pages of iranseda.ir, which can change without notice.
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 iranseda-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 |
|---|---|---|---|---|
| iranseda_mcp-0.1.0.tar.gz | 484.6 kB | With provenance | Details for iranseda_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iranseda_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iranseda_mcp-0.1.0-py3-none-any.whl |
Total release size: 506.5 kB
Release files / iranseda_mcp-0.1.0.tar.gz
| Download URL | iranseda_mcp-0.1.0.tar.gz |
|---|---|
| Size | 484.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b93fa17aad843648018b5991d3dcc1ca3e2d6e6d639e8bf7693f3f4f48a5efc9
|
|
BLAKE2b-256 checksum How to use checksums |
85dd5526737e7bae395f7792951086c3d968158788e6efcd3adece0c30712824
|
| 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 / iranseda_mcp-0.1.0-py3-none-any.whl
| Download URL | iranseda_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
509ed0d51dc156fcb0420f806cb45a263fe93fef404e08aa6b7a34579d9e5c0e
|
|
BLAKE2b-256 checksum How to use checksums |
02c41461c53c4f6a8505b6ffda16fceec7c4f5ce9ccb6a863a2c8302f1b72d61
|
| 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 iranseda-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 iranseda_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.