OpenSubtitles MCP Server
OfficialAn MCP server that lets AI agents search, inspect, and download OpenSubtitles subtitles for movies and TV episodes, with quota-aware account utilities.
Search subtitles by title, filename, IMDb/TMDB/feature ID, or moviehash; filter by language, media type, year, hearing-impaired/foreign-only, AI/machine translations, and trusted uploaders.
Get detailed subtitle metadata, including files, uploader, comments, links, and related subtitles.
Download a subtitle by file_id as text or a temporary link, with optional format, FPS, and time-shift adjustments; each download uses one daily quota unit and returns remaining quota.
Find movies, TV shows, and episodes with IDs, seasons, episode lists, and subtitle counts.
List supported subtitle languages.
Parse video filenames offline with guessit-js.
Calculate OpenSubtitles moviehash for local video files in stdio mode.
Check the logged-in user's level, VIP status, and download quota.
Search anonymously; downloads use configured account credentials that stay out of tool arguments.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenSubtitles MCP Server search subtitles for The Matrix 1999 in English"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenSubtitles MCP Server
The official Model Context Protocol server for OpenSubtitles.com. It lets AI agents find, inspect and download subtitles for movies and TV episodes in 100+ languages, and returns structured results an agent can reason over.
Remote:
https://mcp.opensubtitles.com/mcp(Streamable HTTP)Local:
npx -y @opensubtitles/mcp-server(stdio)Protocol: MCP 2026-07-28, plus 2025-era clients (2025-11-25, 2025-06-18, 2025-03-26) served statelessly
Registry:
com.opensubtitles/mcp-server
Quick start
Claude Code
# Remote, search only (no account needed)
claude mcp add --transport http opensubtitles https://mcp.opensubtitles.com/mcp
# Remote, with downloads on your account's quota (free account at opensubtitles.com)
claude mcp add --transport http opensubtitles https://mcp.opensubtitles.com/mcp \
--header "X-OpenSubtitles-Username: YOUR_USERNAME" \
--header "X-OpenSubtitles-Password: YOUR_PASSWORD"
# Local (stdio): can also hash files on your disk
claude mcp add opensubtitles \
-e OPENSUBTITLES_USERNAME=YOUR_USERNAME -e OPENSUBTITLES_PASSWORD=YOUR_PASSWORD \
-- npx -y @opensubtitles/mcp-serverAdd -s user to make it available in every project. An own API key is optional (--header "Api-Key: …" / -e OPENSUBTITLES_API_KEY=…, free at https://www.opensubtitles.com/consumers).
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"opensubtitles": {
"command": "npx",
"args": ["-y", "@opensubtitles/mcp-server"],
"env": {
"OPENSUBTITLES_USERNAME": "YOUR_USERNAME",
"OPENSUBTITLES_PASSWORD": "YOUR_PASSWORD"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"opensubtitles": {
"url": "https://mcp.opensubtitles.com/mcp",
"headers": {
"X-OpenSubtitles-Username": "YOUR_USERNAME",
"X-OpenSubtitles-Password": "YOUR_PASSWORD"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"opensubtitles": {
"type": "http",
"url": "https://mcp.opensubtitles.com/mcp",
"headers": {
"X-OpenSubtitles-Username": "${input:os-user}",
"X-OpenSubtitles-Password": "${input:os-pass}"
}
}
},
"inputs": [
{ "id": "os-user", "type": "promptString", "description": "OpenSubtitles username" },
{ "id": "os-pass", "type": "promptString", "description": "OpenSubtitles password", "password": true }
]
}n8n
In the MCP Client Tool node, set Endpoint to https://mcp.opensubtitles.com/mcp and Server Transport to HTTP Streamable. For downloads, set Authentication to Custom Auth with the headers X-OpenSubtitles-Username and X-OpenSubtitles-Password (or Header Auth with X-OpenSubtitles-Token). /message still works but is deprecated (see Migration).
Related MCP server: MoviePilot MCP
Credentials
Credentials are configuration, never tool arguments: they never pass through the model or the chat transcript, and the server never logs them.
stdio (environment) | Remote (headers set in the client) | |
Login (recommended) |
|
|
API key (optional) |
|
|
Search works anonymously (remote: the server's key, rate-limited per client).
Downloads use your account's quota: set your login (a free account is enough; VIP gets more). Your own API key is optional; without one the server's app key is used. Remote downloads with only an
Api-Keyand no login also work, but then count as anonymous.Authorization: Bearer …from 1.x configs is still accepted as a fallback.Authorizationis reserved for MCP OAuth, so use theX-OpenSubtitles-*headers.
Tools
Tool | What it does | Quota |
| Find subtitles by | free |
| One subtitle's full metadata, files, uploader comments and related subtitles. | free |
| Subtitle text (or a temporary link) by | 1 download |
| Movies, shows and episodes: ids, year, seasons/episodes, subtitle counts per language. | free |
| Supported language codes and names. | free |
| Parse a video filename (title, year, season, episode, release group…). Offline. | free |
| OpenSubtitles | free |
| Your level, VIP status and remaining downloads (needs a login). | free |
Every tool has a title, an inputSchema with real types and limits, an outputSchema with structuredContent plus a short text summary, and annotations. Errors the agent can fix come back as isError results with a suggestion (for example "No subtitles found; try: drop or widen languages (now de), drop year").
Resources: opensubtitles://guide/intelligent-search, opensubtitles://guide/limits, opensubtitles://languages.
Prompts: find_subtitles_for_file, find_subtitles_for_title, sync_or_convert.
Migrating from 1.x
2.0.0 is a breaking release. The changes for existing users:
Credentials moved out of tool arguments.
username,passwordanduser_api_keyarguments are gone. Configure them once in the client (see Credentials).Endpoint: use
https://mcp.opensubtitles.com/mcp./messageand/jsonstill work and answer withDeprecationandSunsetheaders; they will be removed on 2027-03-01.Tool inputs:
languagesis an array (["en","pt-BR"]);hearing_impaired/foreign_parts_onlyareinclude|exclude|only;machine_translated/ai_translated/trusted_sourcesbecame booleansinclude_machine_translated,include_ai_translated,trusted_only;parent_imdb_idis nowimdb_idwithseason_number/episode_number.Results are structured (
structuredContent) withfile_ids, paging (page,per_page,total_count,total_pages) and flags, not a Markdown top-5 list.calculate_file_hashexists only in local (stdio) mode. On the remote server, hash locally and passmoviehash.Removed:
/debug,/proxy, themcp-opensubtitles-remote/-httpbinaries.
Run your own
npx -y @opensubtitles/mcp-server --http # 127.0.0.1:1620, endpoint /mcp
docker build -t opensubtitles-mcp . && docker run -p 1620:1620 -e OPENSUBTITLES_API_KEY=… opensubtitles-mcpVariable | Default | Meaning |
|
| Listen address |
| built-in app key | stdio: your key. http: server key for anonymous search |
|
| REST API base |
| claude.ai, claude.com, mcp.opensubtitles.com | Browser |
| (any) | Restrict the |
| off | Read the client IP from |
|
| Per client (API key, login or IP), per replica |
|
| Request body limit |
|
| JSON logs on stderr; client ids are salted hashes |
Endpoints: POST /mcp, GET /health → {"status":"ok","version":"2.0.0"}, GET /llms.txt, GET /.
Logs are JSON lines (OpenObserve-ready): tool name, duration, status, HTTP status, anonymised client id and W3C trace id. Never arguments, headers, tokens or passwords. Each download also writes an audit.download event with a per-client counter.
Development
npm ci
npm test # build + 120+ tests (unit, both protocol eras, raw HTTP, stdio e2e, log/secret checks)
npm run smoke:inspector # MCP Inspector CLI over stdio and HTTP
npx @modelcontextprotocol/inspector node dist/index.jsRelated
guessit-js: the filename parser behind
filenameandguess_filename, also an MCP server (npx -y guessit-js --mcp,https://guessit.opensubtitles.com/mcp).
License
MIT
Available Tools
8 toolscalculate_file_hashHash a local video fileARead-onlyIdempotentInspect
Compute the OpenSubtitles hash (moviehash) and byte size of a video file on this computer, for exact-file matching in search_subtitles. Reads only the first and last 64 KiB. Local (stdio) mode only.
Inputs: file_path (required). Returns: file_name, moviehash, moviebytesize
download_subtitleDownload subtitleAInspect
Download one subtitle file by file_id and return its text (or a temporary link), with optional format conversion, FPS conversion or time shift. Each call uses one download from the user's daily OpenSubtitles quota, so pick the file with search_subtitles first; the result reports the remaining quota.
Inputs: file_id (required), in_fps, out_fps, delivery, +2 more. Returns: link, quota, format, content, +5 more
get_subtitle_detailsSubtitle detailsARead-onlyIdempotentInspect
Full metadata for one subtitle from a search result: all files (multi-CD), uploader, comments, links, and related subtitles for the same title and language. Does not use download quota.
Inputs: feature_id (required), subtitle_id (required), language, related_limit. Returns: related, subtitle
get_user_infoAccount and quotaARead-onlyIdempotentInspect
The logged-in OpenSubtitles user's level, VIP status, daily download allowance and downloads remaining, so you can plan downloads. Needs a configured login; does not use quota.
Inputs: no named parameters. Returns: vip, level, user_id, downloads_count, +3 more
guess_filenameParse a video filenameARead-onlyIdempotentInspect
Parse a movie or episode filename with guessit-js (title, year, season, episode, release group, resolution, source, codec). Offline and free; use it to build a precise search_subtitles call, or pass the filename to search_subtitles directly.
Inputs: filename (required). Returns: raw, type, year, title, +9 more
list_languagesList subtitle languagesARead-onlyIdempotentInspect
The subtitle language codes OpenSubtitles supports (e.g. en, pt-BR, zh-CN) with their names. Use the codes in search_subtitles.languages. Also available as the opensubtitles://languages resource.
Inputs: no named parameters. Returns: languages
search_featuresFind movies and TV showsARead-onlyIdempotentInspect
Look up movies, TV shows and episodes on OpenSubtitles (title, year, IMDb/TMDB/feature ids, seasons and episode counts, subtitle counts per language). Use it to disambiguate a title before search_subtitles, or to find a show's seasons and episodes.
Inputs: type, year, limit, query, +4 more. Returns: total, features
search_subtitlesSearch subtitlesARead-onlyIdempotentInspect
Find subtitles for a movie or TV episode and get file_ids to download. Search by title (query), video filename, IMDb/TMDB/feature id with optional season/episode, or moviehash; filter by language and flags. Results are ranked with exact title, episode and release-name matches first.
Inputs: page, type, year, query, +16 more. Returns: page, hints, filters, guessed, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct step: search (subtitle files), download (by file_id), and get_subtitle_details (metadata) form a clear lifecycle, with helper tools (guess_filename, calculate_file_hash, list_languages) and feature lookup (search_features) separated. The only mild confusion is search_features vs search_subtitles, since both 'search' but for different entities, which the descriptions mostly disambiguate.
All eight tools use snake_case verb_noun naming (search_subtitles, get_subtitle_details, download_subtitle, list_languages, guess_filename, calculate_file_hash). The pattern is predictable throughout with no style mixing.
Eight tools is a well-scoped set for a subtitle search-and-download server, with each tool covering a meaningful step (search, details, download, feature lookup, helpers, account info). No redundant or filler tools.
The read path is well covered: search, metadata, download, feature lookup, language codes, filename parsing, file hashing, and quota-aware user info cover the core fetching workflow end-to-end. Upload/contribution or comment/rating operations are absent, but these are arguably out of scope for a fetch-oriented server.
Maintenance
Related MCP Connectors
Generate SRT and VTT subtitles for any video or audio file, 99 languages.
Summarize and transcribe videos, audio, documents and web pages; subtitles; search your library.
Subtitle engine for AI agents: one upload gives a written track and a translation, timings exact.
Fetch the transcript of any YouTube video (plain text or timestamped segments, in any available caption language), search YouTube for videos and channels, list a channel's uploads, Shorts, playlists and community posts, search inside one channel, and list every video in a playlist. Hosted Streamable HTTP server from getyoutubetranscript.com; sign in with OAuth or an API key. Credit-based: one credit per successful call.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.10MIT
- AlicenseBqualityFmaintenanceEnables natural language interaction with MoviePilot media library automation, supporting search, discovery, subscription management, download control, and media status queries.109MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage TV shows and movies via Sonarr and Radarr, including searching, adding, and monitoring downloads.-
- AlicenseAqualityBmaintenanceEnables searching TV series and exploring subtitle coverage and episode records from tvsubtitles.net, including release details, uploader, and download page links, with no API key required.476 npmMIT