opensubtitles avatar

guessit-js

opensubtitles/guessit-js

Parses movie and TV filenames into title, year, season, episode, codec, and language metadata.

CCM score
87 of 100
GitHub stars
14
tools
3
transport
STDIO, HTTP
last updated
Nov 22, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads metadata with guessit for one name, guessit_batch for up to 100 names per call, and guessit_properties to list the 56 returnable fields and their values
  • Returns results in Python guessit's notation, with an opt-in output: 'codes' mode for richer language and country codes
  • Runs locally as a TypeScript package with no runtime dependencies, over stdio or a hosted HTTP endpoint
  • Designed for media libraries, subtitle tools, and scripts that need to sort or rename files from release names

Install

$ npx -y add-mcp https://guessit.opensubtitles.com/mcp --name guessit-js -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http guessit-js https://guessit.opensubtitles.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 3 tools

Verified live against the running server on Nov 23, 2026.

guessitExtract metadata from one movie or TV episode filename or release name: title, year, season, episode, episode_title, screen_size, source, video_codec, audio_codec, language, subtitle_language, release_group, streaming_service, container, type (movie or episode) and more (56 pr...2 params

Extract metadata from one movie or TV episode filename or release name: title, year, season, episode, episode_title, screen_size, source, video_codec, audio_codec, language, subtitle_language, release_group, streaming_service, container, type (movie or episode) and more (56 pr...

Parameters* required
filename*string
Filename, path or release name, e.g. "The.Matrix.1999.1080p.BluRay.x264-GRP.mkv"
optionsobject
Optional guessit options, as in the library and Python guessit: type ("movie" | "episode"), output ("python" default: language/country as names like "French"; "codes": {"alpha3": "fra"} objects tha...
guessit_batchParse up to 100 filenames in one call with the same options. Returns one entry per name, in order: {input_string, result} or {input_string, error}. Faster than calling guessit repeatedly.2 params

Parse up to 100 filenames in one call with the same options. Returns one entry per name, in order: {input_string, result} or {input_string, error}. Faster than calling guessit repeatedly.

Parameters* required
filenames*array
optionsobject
Optional guessit options, as in the library and Python guessit: type ("movie" | "episode"), output ("python" default: language/country as names like "French"; "codes": {"alpha3": "fra"} objects tha...
guessit_propertiesList every property guessit can return with its possible values (enum values such as source: ["Blu-ray", "Web", ...]; [null] for free-form ones such as title).

List every property guessit can return with its possible values (enum values such as source: ["Blu-ray", "Web", ...]; [null] for free-form ones such as title).

No parameters. Call it with no arguments.

Readme

guessit-js

Extract metadata (title, year, season, episode, codec, language, etc.) from media filenames — TypeScript port of Python guessit.

npm version Tests License: LGPL-3.0 Python corpus Coverage mcptry

Live Demo · API Docs · npm

Features


View the full README on GitHub

Details

Repository
github.com/opensubtitles/guessit-js
Website
opensubtitles.github.io/guessit-js
Categories
Music, Streaming & News, Developer Tools
Package
guessit-js
Transport
STDIO, HTTP
Registry
MCP registry, active
Tools verified
Nov 23, 2026

More from opensubtitles

All 2

Similar to guessit-js

More Music, Streaming & News