
smartest-tv
io.github.Hybirdss由 GitHub 帳號 Hybirdss 發布v0.4.1更新於 Oct 27, 2026
Control any smart TV with natural language. Resolve Netflix/YouTube/Spotify and deep-link.
概覽
讓助理控制 LG、三星、Roku 與 Android 智慧電視:依名稱播放、投放連結、調整音量、電源與情境。
- 可以做什麼
- 依名稱搜尋並播放內容、投放任意連結、繼續觀看、啟動應用程式、解析內容 ID
- 查看熱門內容並取得個人化推薦
- 控制開關機、音量、螢幕狀態,發送通知並讀取電視狀態
- 管理播放佇列、情境預設與觀看紀錄
- 查看觀看統計、把電視當作顯示器、進行多房間音訊播放
- 在多台電視間同步播放,列出電視並分組管理
- 適用情境
- 適合想用自然語言免手動操作家中智慧電視的情況:依名稱播放影集或電影、投放別人傳來的連結、一鍵切換電影之夜情境,或睡前關閉所有電視,包括跨多個房間。
- 執行需求
- 以本機 Python 套件執行(pip install stv 或 uvx stv),透過 stdio 通訊。需設定 TV_IP 與 TV_PLATFORM(lg、samsung、roku 或 android);TV_MAC 為選用,用於網路喚醒。電視須與電腦位於同一個區域網路,配對時可能需要在電視上輸入 PIN。僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 smartest-tv,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
來源:README.md,提交 77488ed
工具
0版本歷史
1- v0.4.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分