telewebion-mcp: Telewebion (تلوبیون) IRIB live TV MCP server for AI agents
telewebion-mcp is an unofficial, read-only MCP server that lets an AI agent list live TV channels, see what aired, and search programs, episodes and live sports on Telewebion (تلوبیون, telewebion.ir), the streaming site of Iran's state broadcaster IRIB.
Its 7 tools list live TV and radio channels, show what aired on a channel on a day, scan the national channels for their latest program, search programs and movies/series, list a program's episodes, show one episode, and list live sports broadcasts. Every result links to its page on telewebion.ir.
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 telewebion.ir (the old .com domain is dead): live channels, recorded schedules, programs, episodes and live sports events.
- Install:
uvx telewebion-mcporclaude mcp add telewebion -- uvx telewebion-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
TELEWEBION_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. No login, no playback. Stream and download tokens are never returned, only page URLs.
- Tools: 7, all prefixed
tv_. Typical sequences:tv_search->tv_program->tv_episode;tv_channels->tv_channel_schedule;tv_live_nowfor a quick look at the national channels. - Use when: the user asks what is on or was on an Iranian TV channel, wants to find a program, series or episode on Telewebion, or asks whether there is a live sports broadcast today.
- Output: compact JSON, Persian text, Gregorian dates, Tehran time.
Quick start
You need uv. No API key or account.
Claude Code:
claude mcp add telewebion -- uvx telewebion-mcp
Claude Desktop, Cursor, VS Code and other clients:
{
"mcpServers": {
"telewebion": { "command": "uvx", "args": ["telewebion-mcp"] }
}
}
Example prompts:
- "What aired on Network 3 this morning?"
- "Find the series Paytakht and list its latest episodes."
- "Is there football on TV today?"
- الان در شبکههای سراسری چه برنامهای پخش میشود؟
- امروز چه مسابقههای ورزشیای از تلوبیون پخش میشود؟
Real answer (17 Nov 2026): tv_live_now() returned the latest program on TV1 as "بلندای همت" (08:48, 4 min), on TV2 "ایران جان (شبکه 2)" (06:05) and on TV3 "ایران ما (شبکه ۳)" (06:49, 66 min).
Tools
| Tool | What it returns |
|---|---|
tv_channels |
Live channels (TV, provincial, radio) with the id the other tools take and live page URLs |
tv_channel_schedule |
What aired on a channel on a day, with start and end times (Tehran time) and episode URLs |
tv_live_now |
The most recent program on each channel of a group (national TV by default) |
tv_search |
Programs and movies/series matching a title, with page URLs |
tv_program |
A program's summary and its episodes, newest first |
tv_episode |
One episode: title, program, channel, air time, duration, quality variants, page URL |
tv_live_events |
Sports broadcasts (football, volleyball, ...) scheduled or live on a day |
Limits
- Telewebion publishes no future TV guide.
tv_channel_scheduleandtv_live_noware the recorded log of what already aired and can trail the broadcast by an hour or two. - Search is a loose substring match on the site's side, so a query can return unrelated titles after the best hit.
- Movies and series are on-demand product pages: search returns their page URLs, but their detail is not read.
- Playback, stream links, downloads and anything behind a login are not covered.
- Telewebion answers both Iranian and foreign networks in testing; if yours is blocked, set
TELEWEBION_MCP_PROXY. The server ignores system proxy variables on purpose.
How it works
Telewebion has no public API documentation. The endpoints behind telewebion.ir were mapped by watching the site in Chrome, and each tool was checked in Chrome against the real rendered pages (channel list, schedule, live now, search, program, episode, live events) on 16 Nov 2026. That check found live-event times in UTC where the site shows Tehran time; the tool converts them. The server calls the public gateway through a Chrome-impersonating HTTP client, with a short cache and at most two requests at a time.
فارسی
telewebion-mcp یک سرور MCP غیررسمی و فقطخواندنی برای تلوبیون (telewebion.ir)، سایت پخش زندهٔ صدا و سیما است. با آن یک عامل هوش مصنوعی میتواند شبکههای زنده را فهرست کند، ببیند در یک روز چه چیزی روی آنتن رفته، برنامهها و سریالها را جستوجو کند، قسمتهای یک برنامه را بخواند و پخش زندهٔ رویدادهای ورزشی را ببیند. بدون حساب کاربری و کلید API کار میکند. تلوبیون برنامهٔ پخش آینده را منتشر نمیکند؛ جدول شبکهها فقط آنچه را که پخش شده نشان میدهد. نصب در Claude Code:
claude mcp add telewebion -- uvx telewebion-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 telewebion.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 IRIB or Telewebion. It is read-only and uses the public gateway of telewebion.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. نسخههای پیش از 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.
Metadata
Release files for telewebion-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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telewebion_mcp-0.1.1.tar.gz | 743.9 kB | With provenance | Details for telewebion_mcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telewebion_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for telewebion_mcp-0.1.1-py3-none-any.whl |
Total release size: 761.5 kB
Release files / telewebion_mcp-0.1.1.tar.gz
| Download URL | telewebion_mcp-0.1.1.tar.gz |
|---|---|
| Size | 743.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03723c13432dcaa4cb07e2a6b1630f05db8f48f53a271dda929d95c932fa4745
|
|
BLAKE2b-256 checksum How to use checksums |
e19ad2f28e4e0a3820cc70e6b02f0d27bafd0c8c5e5c2bf08b39f34fcd115ce3
|
| 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 17, 2026.
Transparency logRelease files / telewebion_mcp-0.1.1-py3-none-any.whl
| Download URL | telewebion_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
171bfadcf8099773b0dbea0fc875c415ee077613f0bfd95d6d7085b82643fd5e
|
|
BLAKE2b-256 checksum How to use checksums |
9786b664fe4cdc6e7016f7d628c4b53305fe6a5d8d7c1f96406cbbadb1db067c
|
| 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 17, 2026.
Transparency logSecurity for telewebion-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.
Attestation for telewebion_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 17, 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.