OpenSubtitles MCP Server
Search, inspect and download subtitles for movies and TV from OpenSubtitles.com.
OpenSubtitles scores 68 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 8 tools. Filed under Uncategorized. GitHub shows 2 stars. Package registries report about 1,042 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 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 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. 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: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 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.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
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": { "opensubtitles-mcp-opensubtitles-com": { "command": "npx", "args": [ "-y", "@opensubtitles/mcp-server@2.0.3" ], "env": { "OPENSUBTITLES_API_KEY": "YOUR_OPENSUBTITLES_API_KEY", "OPENSUBTITLES_USERNAME": "", "OPENSUBTITLES_PASSWORD": "YOUR_OPENSUBTITLES_PASSWORD" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
OPENSUBTITLES_API_KEYSecret | Optional | Optional own OpenSubtitles API key (https://www.opensubtitles.com/consumers); a built-in app key is used otherwise |
OPENSUBTITLES_USERNAME | Optional | Your OpenSubtitles username, for your account's download quota and VIP status |
OPENSUBTITLES_PASSWORDSecret | Optional | Your OpenSubtitles password |
Tools8Tool docs quality grade C
All capabilitiesOpenSubtitles moviehash + size of a local file. stdio only.
Subtitle text (or a temporary link) by fileid; optional subformat, infps/outfps, timeshift. Reports the remaining quota.
One subtitle's full metadata, files, uploader comments and related subtitles.
get_user_infotoolYour level, VIP status and remaining downloads (needs a login).
guess_filenametoolParse a video filename (title, year, season, episode, release group…). Offline.
list_languagestoolSupported language codes and names.
search_featurestoolMovies, shows and episodes: ids, year, seasons/episodes, subtitle counts per language.
search_subtitlestoolFind subtitles by filename (parsed with guessit-js), query, imdbid/tmdbid/featureid (+ seasonnumber/episodenumber) or moviehash. Filters: languages[], hearingimpaired, foreignpartsonly, includeaitranslated, includemachinetranslated, trusted
About
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-server
Add -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).
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) | OPENSUBTITLES_USERNAME + OPENSUBTITLES_PASSWORD (logs in once, caches and refreshes the token) | X-OpenSubtitles-Username + X-OpenSubtitles-Password, or X-OpenSubtitles-Token: <token from /login> |
| API key (optional) | OPENSUBTITLES_API_KEY | Api-Key: <key> |
- 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 |
|---|---|---|
search_subtitles | Find subtitles by filename (parsed with guessit-js), query, imdb_id/tmdb_id/feature_id (+ season_number/episode_number) or moviehash. Filters: languages[], hearing_impaired, foreign_parts_only, include_ai_translated, include_machine_translated, trusted_only; order_by, page, per_page ≤ 100. Exact title/episode and release-name matches rank first. | free |
get_subtitle_details | One subtitle's full metadata, files, uploader comments and related subtitles. | free |
download_subtitle | Subtitle text (or a temporary link) by file_id; optional sub_format, in_fps/out_fps, timeshift. Reports the remaining quota. | 1 download |
search_features | Movies, shows and episodes: ids, year, seasons/episodes, subtitle counts per language. | free |
list_languages | Supported language codes and names. | free |
guess_filename | Parse a video filename (title, year, season, episode, release group…). Offline. | free |
calculate_file_hash | OpenSubtitles moviehash + size of a local file. stdio only. | free |
get_user_info | 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-mcp
| Variable | Default | Meaning |
|---|---|---|
PORT / HOST | 1620 / 127.0.0.1 (Docker image: 0.0.0.0) | Listen address |
OPENSUBTITLES_API_KEY | built-in app key | stdio: your key. http: server key for anonymous search |
OPENSUBTITLES_API_BASE | https://api.opensubtitles.com/api/v1 | REST API base |
ALLOWED_ORIGINS | claude.ai, claude.com, mcp.opensubtitles.com | Browser Origins allowed (others get 403). * allows all |
ALLOWED_HOSTS | (any) | Restrict the Host header |
TRUST_PROXY | off | Read the client IP from CF-Connecting-IP / X-Forwarded-For |
RATE_LIMIT_PER_MINUTE | 120 | Per client (API key, login or IP), per replica |
MAX_BODY_BYTES | 1048576 | Request body limit |
LOG_LEVEL, LOG_SALT | info, … | 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.js
Related
- guessit-js: the filename parser behind
filenameandguess_filename, also an MCP server (npx -y guessit-js --mcp,https://guessit.opensubtitles.com/mcp). - OpenSubtitles REST API
License
MIT
Frequently asked questions
What is OpenSubtitles MCP Server?
Search, inspect and download subtitles for movies and TV from OpenSubtitles.com.
How do I install OpenSubtitles 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. OpenSubtitles MCP Server runs locally from the npm package @opensubtitles/mcp-server with the command npx -y @opensubtitles/mcp-server@2.0.3.
Is OpenSubtitles MCP Server free and open source?
Yes. OpenSubtitles 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 OpenSubtitles MCP Server support remote (HTTP) connections?
Yes. OpenSubtitles MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does OpenSubtitles MCP Server provide?
OpenSubtitles MCP Server provides 8 tools, including calculate_file_hash, download_subtitle, get_subtitle_details, and get_user_info. See the full tool list for descriptions and parameters.
How is OpenSubtitles MCP Server's trust score calculated?
OpenSubtitles MCP Server scores 68 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.