tvsub MCP Server
Control tvsub for Apple TV.app: subtitles, glossary-aware translation, overlay, styling, and sync.
tvsub MCP scores 61 (Good), licensed MIT and written in Python. It installs as a local process. It declares 11 tools. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
61 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 61 comes from
22 + 15 + 0 + 10 + 4 + 10 = 61. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "launzi-tvsub-mcp": { "command": "uvx", "args": [ "tvsub-mcp" ], "env": { "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ANTHROPIC_API_KEYSecret | Optional | Anthropic API key; required only for subtitle translation |
Tools11Tool docs quality grade C
All capabilitiescalibrate_synctoolStore one or more dialogue anchors and calculate timing offset and drift.
list_fontstoolList installed macOS fonts and check sample glyph coverage.
list_subtitlestoolList and parse SRT, SMI, SAMI, and VTT files in tvsub's subtitle library.
load_subtitletoolSelect a subtitle file for the current content while preserving sync anchors by default.
mark_reviewedtoolPromote a translated subtitle's provenance from aidraft to userreviewed.
now_playingtoolRead the current Apple TV.app title, content ID, position, and playback state.
set_glossarytoolCreate or update a per-title glossary (names, honorifics, relationships, forbidden translations) that is injected into translation prompts.
set_styletoolChange font, size, colors, outline, background, and screen position.
start_overlaytoolStart tvsub with the selected subtitle and style.
stop_overlaytoolStop only the overlay process started by this server.
Estimate or perform an LLM translation with cue and timecode validation. Supports backend selection, glossary injection, and partial retranslation by line or time range.
About
tvsub MCP
tvsub-mcp is the MCP companion for tvsub, an
experimental subtitle overlay for Apple TV.app on macOS. It lets an MCP client
inspect the current playback item, choose or translate a subtitle file, adjust
its appearance, start or stop the overlay, and calibrate subtitle timing.
Supported player: purchased and rented films in macOS Apple TV.app (Prime Video support is being explored and is not currently available). Subtitle formats: SRT, SMI/SAMI, VTT. Translation runs on your choice of three backends: an Anthropic API key, a signed-in Claude Code CLI (Claude subscription), or a signed-in Codex CLI (ChatGPT subscription) — subscription backends add no API charges.
The server does not download subtitles, bypass DRM, modify video, or launch TV.app. You provide subtitle files that you have the right to use and start playback yourself.
Two directions, one workflow
If a foreign, classic, or multilingual film you purchased in Apple TV.app does not include Korean—or another language you need—bring a lawfully obtained subtitle file, translate it with your Claude or ChatGPT subscription, and display it as an overlay. The same workflow works in the other direction: viewers worldwide can translate lawfully obtained subtitles for Korean films and series into their own language.
Apple TV.app에서 구매한 외화·고전·다국어 영화에 한국어 또는 원하는 언어 자막이 없다면, 정당하게 보유한 자막 파일을 불러와 Claude나 ChatGPT 구독으로 번역한 뒤 오버레이로 표시할 수 있습니다. 같은 방식으로 전 세계 시청자도 한국 영화와 시리즈의 정당하게 보유한 자막을 자신의 언어로 번역해 시청할 수 있습니다.
Requirements
- macOS
- tvsub, installed and built
- Python 3.12 or later
uvfor the recommendeduvxinstallation- For subtitle translation, one of: an Anthropic API key, a signed-in Claude Code CLI (Claude subscription), or a signed-in Codex CLI (ChatGPT subscription). No key or CLI is needed for any other tool
Install and register with Claude Code
Replace /absolute/path/to/tvsub with the directory containing tvsub's
build/, config/, src/, and subtitles/ directories.
brew install uv
claude mcp add --transport stdio --scope user tvsub -- \
uvx tvsub-mcp==0.3.0 \
--tvsub-root /absolute/path/to/tvsub
claude mcp get tvsub
claude mcp list
Translation picks a backend automatically: an Anthropic API key if present,
then a signed-in Claude Code CLI, then a signed-in Codex CLI. Set
TVSUB_TRANSLATE_BACKEND (auto, api, claude, codex) or the
backend tool argument to override. With a subscription CLI signed in you
can skip the key entirely. To use the API backend, export your key and
include it when registering the server — or store it once in macOS Keychain
(service kim.youngji.tvsub.anthropic), which the server also reads.
export ANTHROPIC_API_KEY="your-key"
claude mcp add --transport stdio --scope user \
--env ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" \
tvsub -- uvx tvsub-mcp==0.3.0 \
--tvsub-root /absolute/path/to/tvsub
Other stdio MCP clients can launch the same command:
uvx tvsub-mcp==0.3.0 --tvsub-root /absolute/path/to/tvsub
Tools
| Tool | Purpose |
|---|---|
now_playing | Read the current Apple TV.app title, content ID, position, and playback state. |
list_subtitles | List and parse SRT, SMI, SAMI, and VTT files in tvsub's subtitle library. |
load_subtitle | Select a subtitle file for the current content while preserving sync anchors by default. |
translate_subtitle | Estimate or perform an LLM translation with cue and timecode validation. Supports backend selection, glossary injection, and partial retranslation by line or time range. |
set_glossary | Create or update a per-title glossary (names, honorifics, relationships, forbidden translations) that is injected into translation prompts. |
mark_reviewed | Promote a translated subtitle's provenance from ai_draft to user_reviewed. |
list_fonts | List installed macOS fonts and check sample glyph coverage. |
set_style | Change font, size, colors, outline, background, and screen position. |
start_overlay | Start tvsub with the selected subtitle and style. |
stop_overlay | Stop only the overlay process started by this server. |
calibrate_sync | Store one or more dialogue anchors and calculate timing offset and drift. |
status | Summarize playback, overlay, subtitle, style, and calibration state. |
Before translating, call translate_subtitle with dry_run=true to review the
cue count, batch count, and estimated cost. Subscription backends report
$0 (included in subscription). Every translation writes a .provenance.json
sidecar recording backend, hashes, and review status.
Usage statistics
Starting with 0.2.3, anonymous usage statistics are enabled by default.
The server stores a random installation ID (UUIDv4), daily tool and translation
backend counts, and send dates in
~/Library/Application Support/tvsub/telemetry.json. The first enabled run
prints a notice to stderr; the status tool reports whether collection is enabled,
what is sent, and how to disable it.
On startup and after tool calls, the server checks for unsent days before today.
It sends the oldest pending day in a background POST to
https://youngji.kim/api/tvsub/telemetry, at most once per local calendar day.
The timeout is 3 seconds. Failed attempts keep their counters and retry on the
next eligible day; they do not interrupt tools. TVSUB_TELEMETRY_URL overrides
the collector URL.
The JSON contains only install_id, day, tvsub_mcp_version, macos_version
(major.minor), python_minor (major.minor), tools (counts for the 12 tool names),
and backends (counts for api, claude, codex, pro, or auto). An omitted
or empty backend is counted as auto; this records the requested backend,
not the backend eventually selected by translation. Statistics never include
subtitle text, titles, content IDs, filenames, paths, glossaries, API keys,
raw errors, or IP addresses in the payload.
To disable both recording and sending, set TVSUB_TELEMETRY=0
(false, off, and no also work, case-insensitively), or DO_NOT_TRACK=1
in the MCP server's environment. For example, add --env TVSUB_TELEMETRY=0
to the claude mcp add command before tvsub. Mock mode (--mock or
TVSUB_MCP_MOCK=1) and tests always disable statistics. Disabling leaves any
existing local counters untouched; no statistics are recorded or sent while disabled.
Important notices
- Experimental software: expect rough edges and breaking changes. Keep a backup of your tvsub configuration and subtitle files.
- Data sent to Anthropic: translation sends the selected subtitle text and surrounding subtitle context to the Anthropic API. Loading, styling, sync, and overlay controls do not send subtitle text to Anthropic.
- User-paid API usage: the
apibackend uses your Anthropic API key and all charges are your responsibility; estimates can differ from the final bill. Theclaudeandcodexbackends run through your own signed-in subscription CLIs and add no API charges. - Private API risk: tvsub reads Apple playback state through undocumented macOS MediaRemote interfaces. Apple does not support this integration and a macOS update may change or disable it.
- Content rights: you are responsible for having the right to process and translate subtitle files. Do not redistribute protected content without permission.
- This project is independent from and not affiliated with Apple or Anthropic.
Development
python3.12 -m venv .venv
.venv/bin/python -m pip install -e .
.venv/bin/python -m unittest discover -s tests -p 'test_*.py' -v
TVSUB_TEST_PYTHON="$PWD/.venv/bin/python" .venv/bin/python tests/stdio_smoke.py
bash scripts/hygiene-check.sh
Before tagging a release, run bash scripts/preflight.sh from the repository root.
Linux can run the unit tests and mock stdio smoke test. Apple TV.app, MediaRemote, CoreText, and the real overlay require macOS.
License
MIT. See LICENSE.
Frequently asked questions
What is tvsub MCP Server?
Control tvsub for Apple TV.app: subtitles, glossary-aware translation, overlay, styling, and sync.
How do I install tvsub MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. tvsub MCP Server runs locally from the PyPI package tvsub-mcp with the command uvx tvsub-mcp.
Is tvsub MCP Server free and open source?
Yes. tvsub MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does tvsub MCP Server support remote (HTTP) connections?
No remote endpoint is listed for tvsub MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does tvsub MCP Server provide?
tvsub MCP Server provides 11 tools, including calibrate_sync, list_fonts, list_subtitles, and load_subtitle. See the full tool list for descriptions and parameters.
How is tvsub MCP Server's trust score calculated?
tvsub MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.