Skip to content

Subtitle Shift MCP tool

MCP findutils:subtitle_shift

Shift every cue in a SubRip (.srt) or WebVTT (.vtt) caption file by one fixed offset, so a track that runs early or late lines up with the audio again. A positive offset delays the captions (they appear later); a negative one advances them. The output keeps the input format, cue text, order and WebVTT cue settings. A cue whose start would go below zero is held at zero and counted; a cue that would end before zero is dropped and counted. Timing only: nothing is stretched, translated or edited.

Arguments

application/json
  • input

    string required

    Caption file contents, either SubRip or WebVTT.

  • offset_ms

    integer required

    Milliseconds to add to every timestamp. Positive shows captions later, negative earlier. 1500 means one and a half seconds later.

Example arguments

Verified
{
  "input": "1\n00:00:10,000 --> 00:00:12,000\nTen seconds in.\n",
  "offset_ms": 1500
}