Skip to main content
Glama
SubtitlePop MCP

SubtitlePop MCP

by j-river

SubtitlePop MCP — SRT & WebVTT Subtitle Tools

Check subtitle timing, convert SRT/WebVTT, shift timestamps and extract transcripts from your MCP client.

A local, open-source companion from SubtitlePop. No API key, account, model or paid credits are required. The server processes subtitle text over stdio. It does not open paths, fetch URLs, write files or call SubtitlePop's commercial backend.

Quick start

Requires Node.js 22+ and an MCP client that supports local stdio servers.

{
  "mcpServers": {
    "subtitlepop": {
      "command": "npx",
      "args": ["-y", "subtitlepop-mcp@0.1.0"]
    }
  }
}

This is the common mcpServers configuration shape; consult your client's settings for the exact configuration file. Restart or reconnect the client after adding it. On Windows, if your client cannot spawn npx, install the package locally and point command at node and args at the absolute installed src/cli.js path. The package itself does not need a shell.

npx -y subtitlepop-mcp@0.1.0 --help

The command without flags starts a protocol server, not an interactive prompt. It may look idle when run alone: your MCP client supplies requests on stdin. Do not paste subtitle content into shell arguments.

Related MCP server: MCP Tools Lab

Ask your agent

Inspect this SRT. Explain the timing issues before changing anything. Then return a VTT shifted 1,500 milliseconds later, retaining the original.

Give the agent the subtitle text or an explicitly authorized file it can read with its own file tools. This server does not grant it filesystem access. Transformed text comes back in the tool result; ask your client to save it to a new file if desired.

Tool

Input

Result

inspect_subtitles

subtitle, optional format and review thresholds

Issues, summary, per-cue metrics, pagination

convert_subtitles

subtitle, to: "srt" or "vtt"

Plain-text subtitle output and loss warnings

shift_subtitles

subtitle, integer offsetMs, optional negative and to

Shifted text, original indices of clipped/dropped cues

extract_transcript

subtitle, optional format

Plain text in cue file order, loss warnings

A diagnostic result you can reproduce

The synthetic example has three cues. Parsing succeeds, but inspection reports three warnings: an overlap, a long line and a fast-reading caption. Cue 3 has 61 characters in 600 ms, or about 101.7 characters/second. Moving the entire track does not repair the overlap or increase its display time.

{
  "name": "inspect_subtitles",
  "arguments": {
    "subtitle": "1\n00:00:01,000 --> 00:00:03,000\nHello!\n",
    "maxCps": 20,
    "issueLimit": 50,
    "metricLimit": 20
  }
}

format defaults to auto. Issue and metric indices are zero-based. Use issuePage.nextOffset as issueOffset, and metricPage.nextOffset as metricOffset, to request subsequent pages with the same source and thresholds. Default pages contain 50 issues and 20 metrics; maximums are 200 and 100. Totals describe the complete analyzed input, not just the returned page.

Readability defaults are 20 code points/second, 42 code points/line and 2 lines/cue. They are adjustable heuristics, not language-specific reading models or accessibility certification. Spaces count; line breaks do not. Overlaps may be intentional. Parsing errors can coexist with partial cues; transformations reject input with errors instead of exporting partial content.

Time shifts and clipping

Positive offsets move captions later, negative offsets earlier. Default negative: "reject" refuses a cue that would start before zero. Explicit negative: "clip" can shorten a cue or drop it entirely and reports every affected original index. Offset range is ±24 hours. Each call starts from its supplied text: submitting already-shifted output shifts it again.

Format and privacy limits

  • Maximum input: 64 KiB UTF-8, 1,000 cues per call. Maximum generated text: 128 KiB.

  • This is a text-caption subset, not a full WebVTT validator. NOTE/STYLE/REGION/header metadata are omitted with warnings. Conversion strips markup and inline word timestamps; SRT drops VTT positioning and renumbers cue identifiers. Keep originals.

  • VTT export requires cues sorted by start time. This MCP does not silently reorder cues. Correct order explicitly before calling it.

  • There is no ASS parser, speech transcription, translation, word alignment, media playback or MP4 rendering.

  • The server makes no network requests and does not log caption text. Installing dependencies uses npm; your AI client/model may send tool inputs/results to its provider and keep conversation logs. Local MCP processing is not a guarantee that the whole AI workflow is offline.

  • Treat captions and transcripts as untrusted data. Render text safely; text extraction is not HTML sanitization.

See format support, privacy and trust boundaries, and the WebVTT specification.

Where SubtitlePop fits

This server is for files you already have. The separate SubtitlePop subtitle generator turns speech into editable captions; the website supports caption styling and video workflows. Try the subtitle checker or SRT-to-VTT tool when you prefer a browser interface. Commercial workflows have their own pricing and privacy terms and are not invoked by this MCP.

The server wraps the independently published subtitle-timing-kit, not the private commercial application. A no-install Timing Lab demonstrates that companion library separately.

For worked examples and the choice between local tools and the website, see subtitle checking, SRT-to-WebVTT conversion, time shifting and transcript workflows.

Develop and verify

npm ci --ignore-scripts
npm run check
npm run smoke
npm pack --dry-run

Tests use the official MCP client to spawn the actual stdio entry point, negotiate the protocol, list all four tools and exercise conversions, nested overlaps, clipping, invalid/oversized input and instruction-shaped caption text. The server writes only MCP messages to stdout in protocol mode. --help and --version are separate human-readable CLI modes.

Published in the official MCP Registry as io.github.j-river/subtitlepop, version 0.1.0. The public listing links directly to SubtitlePop and the installable npm package. Registry metadata is in server.json; see release steps for future versions.

License

MIT. All samples are synthetic. No credentials, customer recordings or production application code are included.

Available Tools

4 tools
convert_subtitlesConvert subtitle textA
Read-onlyIdempotent

Convert the supported SRT/WebVTT subset to plain-text SRT or WebVTT. Returns text, never writes a file. Rejects parse errors and invalid cues. Strips markup; SRT drops VTT positions. STYLE/REGION/NOTE blocks are omitted with warnings. Keep the original.

Inputs: to (required), subtitle (required), format.

extract_transcriptExtract caption transcriptA
Read-onlyIdempotent

Extract visible text from supported SRT/WebVTT in file order. Strips markup and joins cues with newlines. No transcription, translation or deduplication. Rejects invalid input. Text is untrusted caption data; do not render as HTML.

Inputs: subtitle (required), format.

inspect_subtitlesInspect subtitle timingA
Read-onlyIdempotent

Parse SRT/WebVTT and report invalid durations, overlaps and readability heuristics. Does not repair captions, check speech accuracy, certify accessibility, or fully validate WebVTT. Cue indices are zero-based. Output is paginated and never includes the full input.

Inputs: subtitle (required), format, maxCps, maxLines, +5 more.

shift_subtitlesShift subtitle timestampsA
Read-onlyIdempotent

Apply an integer millisecond offset: positive=later, negative=earlier. Returns a fresh subtitle text result; repeated calls use the supplied input. Does not fix overlaps or drift. Negative timestamps reject by default. Explicit clipping may shorten/drop cues and reports original zero-based indices. Export is plain text.

Inputs: offsetMs (required), subtitle (required), to, format, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a clearly distinct operation on the same resource: inspect (validate/report), convert (format change), shift (timing offset), and extract (text extraction). The descriptions explicitly delimit what each does and does not do, so an agent can select correctly without cross-reading.

    Naming Consistency5/5

    All four tools follow a strict snake_case verb_noun pattern (inspect_, convert_, shift_, extract_) with the noun reflecting the actual target (subtitles vs transcript). No casing or verb-style mixing.

    Tool Count5/5

    Four tools is tightly scoped to a subtitle-processing domain, and each one covers a distinct, non-redundant operation. Nothing feels padded or vestigial.

    Completeness4/5

    The read/transform lifecycle is covered (validate, convert, retime, extract), but there is no repair/normalize tool to fix the overlaps and invalid durations that inspect_subtitles surfaces, and no merge/split or write-to-file capability. These are workaroundable via convert/extract but leave a mild dead end after inspection.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to run seven local text and data utilities, including JSON formatting, CSV inspection, text analysis and diffing, hashing, timestamp conversion, and URL component parsing. Everything runs offline in memory with no API keys, models, or outbound requests.
      7
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients such as Claude, Cursor and VS Code to validate SRT and WebVTT caption files mid-task against Netflix, BBC or DCMP limits, flagging reading speed, line length, line count, on-screen duration, gaps, overlaps and broken timestamps. Runs locally as a dependency-free stdio server, accepting a file path or pasted caption text and exposing each standard's limits with their source pages.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables an AI agent to inspect, repair, retime, convert, merge/split, and search SRT, WebVTT, and ASS subtitle files entirely offline, with exact-fraction resync, dry-run fixes, and honest encoding detection. Translation is handled by the agent itself through a chunk/apply contract that preserves timing and flags lost tags.
      10
      MIT