
smartest-tv
io.github.HybirdssPublished by GitHub account Hybirdssv0.4.1Updated Oct 27, 2026
Control any smart TV with natural language. Resolve Netflix/YouTube/Spotify and deep-link.
Overview
Controls LG, Samsung, Roku and Android smart TVs from an assistant: play titles by name, cast URLs, adjust volume, power and scenes.
- What you can do
- Search and play content by name, cast URLs, continue watching, launch apps and resolve content IDs
- Discover trending titles and get personalized recommendations
- Control power, volume, screen state, notifications and read TV status
- Manage a play queue, scene presets and watch history
- Show viewing insights, use the TV as a display and run multi-room audio
- Sync playback across several TVs, list TVs and organize them into groups
- When to use it
- Useful when you want an assistant to drive a home smart TV hands-free: start a show or movie by name, cast a link someone sent, set a movie-night scene, or turn everything off at bedtime, including across multiple rooms.
- Requirements
- Runs locally as a Python package (pip install stv, or uvx stv) over stdio. Needs TV_IP and TV_PLATFORM (lg, samsung, roku or android); TV_MAC is optional for Wake-on-LAN. The TV must be reachable on the same local network, and pairing may require entering a PIN shown on the TV. Desktop only.
Installation
In SourceWeft
- Open smartest-tv in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
📺
smartest-tv
The CLI your TV has been waiting for.
Play Netflix / Apple TV+ / YouTube / Spotify by name. Cast URLs. Multi-room audio. AI concierge. All from your terminal.
[PyPI: stv] [Total Downloads] [Downloads/month] [Tests] [MIT License] [Python] [MCP Tools] [Glama Score] [Awesome MCP Servers] [Awesome Smart TV] [HACS]
한국어 · 中文 · 日本語 · 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.
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-code and chill
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.
🎯 Just type 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.
🎨 A CLI that looks like a product
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.
✨ What it does
🤖 Tell your AI to control your TV
stv is an MCP server. Claude, GPT, Cursor, or any MCP client can control your TV with natural language.
All 21 MCP tools
📅 A day with stv
🔥 Killer combos
[smartest-tv demo]
▲ Click to watch the full demo
⚙️ How it works
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.
📦 Install
Supports LG webOS · Samsung Tizen · Android TV / Fire TV · Roku
Home Assistant (HACS)
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.
🔌 Works with
📚 Docs
🔓 Open source
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.
🔒 Privacy
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):
- Platform name (
netflix/youtube/spotify) - Content slug (e.g.
frieren) - Resolved content ID (Netflix title ID, YouTube video ID, Spotify URI)
What's not sent:
- Your name, email, or any user identifier
- Your IP address (the CDN sees a connection IP per standard HTTP, but the client never reads or transmits it)
- Your watch history or play timestamps
- Your TV's IP address or hardware info
- Anything about how often or when you use stv
To disable cache contribution entirely:
Source: src/smartest_tv/cache.py — search for _contribute.
🤝 Contributing
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
Source: README.md at commit 77488ed
Tools
0Version history
1- v0.4.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts