Skip to main content
Glama
telewebion-mcp

telewebion-mcp

by sepehr071

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.

PyPI Python CI License: MIT

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-mcp or claude 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_now for 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.

Related MCP server: mcp-movies

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_schedule and tv_live_now are 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

MIT

Available Tools

7 tools
tv_channelsTelewebion channelsA
Read-onlyIdempotent

List Telewebion live channels (TV, provincial, radio) with the id the other tools take.

Each row has id (use as channel), Persian name, group and the live page URL. archive false means no recorded episodes exist for that channel.

Inputs: kind.

tv_channel_scheduleTelewebion channel scheduleA
Read-onlyIdempotent

What aired on a channel on a day, oldest first, with start/end (Tehran time) and episode page URLs.

This is the site's recorded program log, not a forward schedule: Telewebion publishes no future TV guide, and the log trails the broadcast by up to an hour or two. Short clips are left out. Use tv_episode for details.

Inputs: channel (required), date, limit.

tv_episodeTelewebion episodeA
Read-onlyIdempotent

Show one episode: title, program, channel, air time (Tehran), duration, quality variants and page URL.

Stream and download tokens are not returned; open url to watch.

Inputs: episode_id (required).

tv_live_eventsTelewebion live sportsA
Read-onlyIdempotent

List sports broadcasts (football, volleyball, ...) scheduled or live on Telewebion that day, with page URLs.

Times are Tehran time (converted from the feed's real UTC). league is the competition, stage the round.

Inputs: date.

tv_live_nowTelewebion live nowA
Read-onlyIdempotent

Show the most recent program on each channel of a group (national TV by default), with live page URLs.

"Most recent" is the newest logged episode of today, which can trail the live broadcast by up to an hour or two. Open live_url to actually watch.

Inputs: kind, channels.

tv_programTelewebion programA
Read-onlyIdempotent

Show a program's summary and its episodes, newest first, with episode page URLs.

Page with offset. Dates are when the episode was published on the site.

Inputs: program_id (required), limit, offset.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool targets a distinct object: channel list, per-channel airing log, per-group latest program, title search, program detail, episode detail, and sports events. The only real overlap is between tv_live_now and tv_channel_schedule (both surface recent logged episodes) and between tv_program's episode list and tv_episode, but the descriptions make the boundary reasonably clear.

    Naming Consistency4/5

    All names share a uniform tv_ prefix with snake_case noun phrases (tv_channels, tv_channel_schedule, tv_live_now, tv_search, tv_program, tv_episode, tv_live_events). There is no verb_noun pattern, but the noun+qualifier style is applied consistently and reads predictably.

    Tool Count5/5

    Seven tools is well within the sweet spot and each one maps to a concrete retrieval need (list, schedule, live, search, program, episode, events). Nothing appears redundant or padded.

    Completeness3/5

    The TV path is well covered end to end (channel -> schedule -> program -> episode), and live events are included. However, tv_search explicitly returns movies/series as on-demand product pages with no corresponding product/series detail tool, leaving a dead end, and there is no channel lookup or forward-guide capability (the latter is acknowledged as unavailable).

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables querying TV programming data from Tunarr XMLTV feeds, including viewing channel listings, current and upcoming schedules, and searching for programmes by title or description.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching for movies and TV shows, retrieving detailed show information, and checking TV broadcast schedules through natural language or direct tool calls.
      295 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search and browse the public Filimo and Namava movie and series catalogs, including title details, episodes, cast, genres, similar titles, curated lists, new releases, and Namava subscription plans. It is read-only, needs no API key or account, and provides compact JSON through MCP clients such as Claude, Cursor, and Copilot.
      13
      93 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to search Aparat videos and channels, read video details and comments, view related videos and channel pages, and list trending videos without an API key or account.
      MIT