rotv-mcp
Read-only MCP server for Romanian TV guide, streaming catalog, and entertainment concierge, exposing 13 tools for program search, recommendations, and event detection.
README
rotv-mcp
Read-only Model Context Protocol server for tv.madeinro.eu — Romanian TV guide, streaming catalog and an entertainment concierge, exposed as 13 tools to any MCP-compatible client (Claude, ChatGPT, or your own agent).
Live endpoint: https://tv.madeinro.eu/mcp · no auth · streamable HTTP
Registry: eu.madeinro/rotv-mcp (official MCP registry)
Human-readable overview: tv.madeinro.eu/mcp/help
Quick start
No installation, no key — talk to the live server directly:
# What's important on Romanian TV today? (World Cup, finals, Romania playing…)
curl -X POST https://tv.madeinro.eu/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{
"name":"tv_important_today","arguments":{}}}'
# Decide for me: I have 2 free hours tonight
curl -X POST https://tv.madeinro.eu/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{
"name":"tv_concierge","arguments":{"duration_hours":2,"mood":"captivant"}}}'
As an MCP client (e.g. Claude Code):
claude mcp add --transport http rotv https://tv.madeinro.eu/mcp
Tools
All tools are read-only and declare the standard MCP annotations
(readOnlyHint: true), so well-behaved clients can run them without
per-call confirmation. Time references accepted throughout: now, tonight,
tomorrow, weekend, primetime, or ISO 8601 instant/range.
Core EPG (v1)
| Tool | What it does |
|---|---|
tv_now_on_tv |
What's on right now — the 14 main Romanian channels or all ~258 |
tv_search_program |
Search the schedule by keywords and timeframe |
tv_get_prime_time |
Tonight's 20:00–23:00 (Europe/Bucharest) lineup, grouped by channel |
tv_recommend_today |
Ranked picks for today (channel quality, timing, preferences) |
tv_get_title_details |
One title across TV airings + streaming providers |
Decision layer (v2)
| Tool | What it does |
|---|---|
tv_recommend_by_mood |
Ranked list matched to a mood (obosit / vesel / concentrat / romantic / familie / captivant) |
tv_plan_evening |
A full evening plan across TV + streaming |
tv_compare_options |
Side-by-side trade-offs between candidate picks |
tv_find_for_couple |
Picks that satisfy two different moods at once |
tv_explain_recommendation |
Transparent scoring breakdown for any candidate |
tv_check_freshness |
How fresh the underlying EPG/streaming data is |
Concierge (v3)
| Tool | What it does |
|---|---|
tv_concierge |
One decision, not a list. A single primary pick for your free-time window with a confidence % and full reasoning, plus up to 3 diverse alternatives with explicit trade-offs. Built-in anti-noise filter (news/politics/reality), title dedup, opportunity-cost lookahead — and event awareness (below). |
tv_important_today |
What actually matters today: World Cup / Euro / Champions League matches, finals, knockout games, Romania's team and clubs. Every event ships with quoted evidence from the EPG text. |
The importance layer
Romanian EPG data is diffuse: every program's genre is literally "General",
descriptions are often empty, and a World Cup knockout match can appear as just
"Fotbal World Cup". There is no structured field that says "this matters".
So importance is detected from real text, with quoted evidence (src/lib/importance.mjs):
- Tier 1 — major: World Cup / Euro / Champions League / Olympics / Grand Slams / finals in the title
- Tier 2 — notable: country-vs-country fixtures ("Spania - Belgia"), competition mentions in descriptions
- Boosts: Romania playing (national team or clubs in European cups), knockout stages, mainstream national channel
- Demotions: recaps, studio/practice shows, broadcasts too short to be the live event
Every result carries reasons[] quoting the text that matched — the detector
never claims more than the data supports. The same signal feeds
tv_concierge as an event_importance confidence axis, so a description-less
World Cup match no longer loses to a well-tagged filler movie, and every
concierge answer lists tier-1 events in an important_today field even when
the mood-based pick is something else.
Architecture
MCP client ── POST /mcp (streamable HTTP, stateless: fresh server per request)
│
express (loopback :3010)
access log → rate limit (60 rpm) → optional bearer auth
│
13 tools over in-memory EPG/streaming caches
│
JSON artifacts produced by the rotv-guide pipeline
(epg-normalized.json · epg-homepage.json · streaming-full.json)
hot-reloaded via fs.watch (debounced 750 ms)
- Stateless streamable HTTP (
enableJsonResponse) — oneMcpServer+ transport per POST; safe behind any proxy/tunnel. - Data (read-only, produced by the rotv-guide
pipeline, never modified by this service):
epg-normalized.json— ~258 TV channels, −6h to +72h, ISO 8601 UTCepg-homepage.json— 15 main channels, −2h to +36hstreaming-full.json— Netflix / HBO Max / Prime / Disney+ / Apple TV+ catalogs- Paths configurable via
ROTV_DATA_DIR.
- Telemetry: every tool call logs one JSON line
(
{evt:"tool", tool, ms, ok, q:{…}}) to stdout for log analysis.
Running it yourself
Requires Node ≥ 24 and the rotv-guide data artifacts.
cp .env.example .env # PORT, RATE_LIMIT_RPM, optional MCP_AUTH_TOKEN
npm install
ROTV_DATA_DIR=/path/to/rotv-guide/public/data npm start
Production runs under pm2 behind a Cloudflare tunnel — the path-based ingress
rule routes tv.madeinro.eu/mcp/* to localhost:3010, above the catch-all of
the main site:
pm2 start ecosystem.config.cjs && pm2 save
curl https://tv.madeinro.eu/mcp/health
Tests
node --test test/importance.test.mjs # importance detector, 12 cases
npm run smoke # 26 end-to-end JSON-RPC checks
BASE=https://tv.madeinro.eu npm run smoke # same suite against production
License
MIT © 2026 Marian Matinca. The live server surfaces data from public EPG sources, refreshed automatically by the rotv-guide pipeline.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.