The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Smartest Tv listing page.
Play Netflix / Apple TV+ / YouTube / Spotify by name. Cast URLs. Multi-room audio. AI concierge. All from your terminal.
한국어 · 中文 · 日本語 · Español · Deutsch · Português · Français
pip install stv && stv play "Frieren"
No TV? Opens in your browser. Got a TV? stv setup to connect it.
| 😩 Without stv | 😎 With stv |
|---|---|
~30 seconds |
~3 seconds |
No TV? No problem. Without a TV configured, stv opens content directly in your browser. Netflix, YouTube, Spotify, Disney+ — just
pip install stvand go.
Vibe-coding at 2am. Claude writes your code. You tell it to put on a show. It does.
Already installed stv? Just tell Claude:
Also available as an MCP server (21 tools) for Claude Code, Codex, Antigravity, and other MCP clients.
stv
No subcommand? You get a Now Playing card and three contextual next-actions based on your watch history — not a 30-command help dump.
Unknown input? You get a friendly hint, not an error.
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
Every command renders with Catppuccin Mocha colors, semantic icons, and real
visual hierarchy. Prefer another palette? Set STV_THEME=nord or STV_THEME=gruvbox.
--format json is always available when you need to pipe to jq.
🎬 Play by nameSay the name. stv finds the ID, opens the app, starts playback. Netflix and Apple TV+ resolve via HTML parsing. Disney+, Max, Prime, Hulu, Paramount+, Peacock, Crunchyroll, and every platform on JustWatch resolve via their API — no login, no API key. Skip the platform name and stv auto-detects where it's streaming in your region. |
🔗 Cast any URLFriend sends a link. Paste it. TV plays it. |
🎵 Queue & partyEveryone adds their pick. TV plays in order. |
🎭 Scene presetsOne command sets the vibe. |
🔊 Multi-room audioScreens off. Music everywhere. |
📺 TV as displayDashboards, clocks, signage. |
📊 Watch intelligenceIs your Netflix worth $18/month? |
🌐 Sync partyEvery TV. At once. Even remote friends. |
🤖 AI concierge21 MCP tools. One sentence is enough. |
stv is an MCP server. Claude, GPT, Cursor, or any MCP client can control your TV with natural language.
|
Setup (one line): Or via OpenClaw: |
Then just talk: |
| Category | Tool | What it does |
|---|---|---|
| Play | tv_play | Search + play by name |
tv_cast | Cast any URL | |
tv_next | Continue watching | |
tv_launch | Launch app with ID | |
tv_resolve | Get content ID only | |
| Discover | tv_whats_on | Trending content |
tv_recommend | Personalized picks | |
| Control | tv_power | On/off |
tv_volume | Get/set/step/mute | |
tv_screen | Screen on/off | |
tv_notify | Toast notification | |
tv_status | Current state | |
| Organize | tv_queue | Play queue |
tv_scene | Scene presets | |
tv_history | Watch history | |
| Intelligence | tv_insights | Viewing stats |
tv_display | TV as display | |
tv_audio | Multi-room audio | |
| Multi-TV | tv_sync | Play on all TVs |
tv_list_tvs | List TVs | |
tv_groups | TV groups |
| Time | What happens |
|---|---|
| 7am | stv display dashboard "Weather:18°C" "Meeting:10am" on kitchen TV |
| 8am | stv scene kids --tv kids-room -- Cocomelon, volume 15 |
| 12pm | Friend sends Netflix link → stv cast <url> |
| 5pm | stv screen-time → kids watched 2h 15m today |
| 6:30pm | stv scene movie-night -- volume 20, cinema mode |
| 7pm | stv recommend --mood chill → suggests Ozark |
| 9pm | stv audio play "friday vibes" -p spotify -- music everywhere |
| 10pm | stv --group party play netflix "Wednesday" s1e1 -- sync |
| 11:30pm | stv scene sleep → stv --all off -- good night |
|
🌙 Bedtime autopilot Ambient sound, screen off, auto-timer, every other TV killed. |
🎧 Free Sonos Every TV is a speaker. Per-room volume. Screens off. |
💰 Subscription audit |
▲ Click to watch the full demo
Say a name. stv resolves it to a content ID, deep-links into the app on your TV. No browser automation, no API keys, no cloud dependency. Results are cached so repeat plays are instant.
Supports LG webOS · Samsung Tizen · Android TV / Fire TV · Roku
Add as a custom repository (default listing in review: hacs/default#6907):
Android TV / Fire TV: the setup flow shows a 6-digit PIN on the TV —
enter it in the pairing form to finish. In HA OS / HA Container set
STV_CONFIG_DIR=/config/smartest-tv so pairing survives container
rebuilds. See docs/integrations/home-assistant.md.
Then use in automations:
This does what HA's built-in media_player.play_media can't: resolve a show by name and deep-link into the streaming app. Power, volume, and playback controls also work as standard HA media player entities.
| Integration | How |
|---|---|
| Home Assistant | HACS custom integration → media_player.play_media with content resolution |
| Claude Code / Cursor | Add MCP config → "play Dark s1e1" |
| OpenClaw | clawhub install smartest-tv → Telegram bot |
| cron | 0 7 * * * stv display dashboard ... |
| Shell scripts | sleep-mode, party-mode one-liners |
| Any MCP client | 21 tools, stdio or HTTP (stv serve) |
| Getting Started | Setup for any TV brand |
| Playing Content | play, cast, queue, resolve |
| Scenes | movie-night, kids, sleep, custom |
| Sync & Party | Multi-TV, remote watch party |
| Recipes | 10 powerful feature combos |
| AI Agents | MCP for Claude, Cursor, OpenClaw |
| CLI Reference | Every command and option |
| MCP Tools | All 21 tools with parameters |
Every line of stv is on GitHub — the CLI, resolvers (Netflix, Apple TV+, YouTube, Spotify, Disney+, Max, Prime Video, Paramount+, Hulu, Peacock, Crunchyroll, and more via JustWatch), all 4 TV drivers (LG, Samsung, Roku, Android), cache, sync engine, scenes, and all 253 tests. Streaming availability data powered by JustWatch.
stv runs on your local network. No telemetry, no analytics, no cloud
sync, no phoning home about what you watch. There is no posthog, no
amplitude, no sentry, no mixpanel — grep the source.
One exception — community cache contribution. When you play content that isn't in the local cache, stv resolves it (via web parsing) and submits the resolved ID to a shared community cache so the next user gets an instant lookup. This is the same pattern as Wikipedia or a package mirror — many small contributions, anonymous.
What's sent (background HTTPS, fire-and-forget, never blocks playback):
netflix / youtube / spotify)frieren)What's not sent:
To disable cache contribution entirely:
Source: src/smartest_tv/cache.py — search for _contribute.
211 tests. No TV needed to run them.
Samsung, Roku, and Android TV drivers need real-world testing. If you have one, your feedback matters.
Cache Contributions · Driver Development
MIT License · Made with Python · No cloud required