Subtitle Toolkit

Convert, clean, retime and validate SRT, WebVTT, ASS/SSA, SBV and TTML subtitles. 8 tools.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
96%
Integridad del esquema
100%
Calidad de los nombres
85%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

  • LOWTool 'fix_subtitle_encoding' description lacks action verben fix_subtitle_encoding

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,532Tokens (definiciones de herramientas)
~1.6 KBTamaño de respuesta típico
Impacto moderado en la atención (1.20% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "subtitle-toolkit": {
      "url": "https://subtitle-mcp.toolboxes.top/mcp"
    }
  }
}

Puntos de conexión remotos

https://subtitle-mcp.toolboxes.top/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (8)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
⚪convert_subtitle(content, to, from, dedupe)

Convert subtitle text between formats. Reads SRT, WebVTT, ASS/SSA, YouTube SBV and TTML/DFXP; writes SRT, WebVTT, ASS, CSV or plain text. Format is auto-detected unless `from` is given.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The full subtitle file text."
    },
    "to": {
      "type": "string",
      "enum": [
        "srt",
        "vtt",
        "ass",
        "csv",
        "text"
      ],
      "description": "Target format. `text` = plain transcript, one line per cue, no timecodes."
    },
    "from": {
      "type": "string",
      "enum": [
        "auto",
        "srt",
        "vtt",
        "ass",
        "sbv",
        "ttml"
      ],
      "description": "Source format (default \"auto\" = detect)."
    },
    "dedupe": {
      "type": "boolean",
      "description": "Only for to=\"text\": collapse consecutive identical lines (rolling-caption transcripts repeat lines). Default false."
    }
  },
  "required": [
    "content",
    "to"
  ]
}
⚪clean_subtitles(content, remove_tags, remove_sound_cues, remove_speaker_labels, drop_empty, ...)

Strip noise from auto-generated subtitles: HTML/WebVTT tags, ASS override codes, music and sound-effect cues, speaker labels, empty cues and duplicate lines. Returns the subtitle file in SRT or WebVTT.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The full subtitle file text."
    },
    "remove_tags": {
      "type": "boolean",
      "description": "Strip HTML/WebVTT tags and ASS override codes. Default true."
    },
    "remove_sound_cues": {
      "type": "boolean",
      "description": "Strip [Music], [Applause], ♪ ... ♪ and similar. Default true."
    },
    "remove_speaker_labels": {
      "type": "boolean",
      "description": "Strip leading \"SPEAKER:\" prefixes. Default false — enable only if you want them gone."
    },
    "drop_empty": {
      "type": "boolean",
      "description": "Drop cues that become empty after cleaning. Default true."
    },
    "drop_duplicates": {
      "type": "boolean",
      "description": "Drop cues whose text was already seen. Default false."
    },
    "to": {
      "type": "string",
      "enum": [
        "srt",
        "vtt"
      ],
      "description": "Output format. Default: same as the input."
    }
  },
  "required": [
    "content"
  ]
}
⚪retime_subtitles(content, offset_seconds, ratio, from_fps, to_fps)

Fix subtitle timing. Use offset_seconds for a uniform shift (whole track early/late). Use ratio, or from_fps/to_fps, for progressive drift caused by a frame-rate mismatch. Pass exactly one of the three.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The full subtitle file text."
    },
    "offset_seconds": {
      "type": "number",
      "description": "Shift every cue by this many seconds. Negative = earlier. e.g. -2.5"
    },
    "ratio": {
      "type": "number",
      "description": "Scale all timings by this factor (new = old x ratio). e.g. 1.0427 for a 25→23.976 fps fix."
    },
    "from_fps": {
      "type": "number",
      "description": "The frame rate the subtitles were authored for (used with to_fps)."
    },
    "to_fps": {
      "type": "number",
      "description": "The frame rate of the actual video (used with from_fps)."
    }
  },
  "required": [
    "content"
  ]
}
🟢check_subtitle_timing(content, max_cps, min_duration_seconds, max_duration_seconds, max_line_length)

Audit subtitle readability and produce a report: reading speed (CPS), cue durations that are too short or too long, lines that are too wide, more than two lines, and overlapping cues. Returns a formatted report listing every flagged cue.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The full subtitle file text."
    },
    "max_cps": {
      "type": "number",
      "description": "Max characters per second. Default 20."
    },
    "min_duration_seconds": {
      "type": "number",
      "description": "Minimum cue duration in seconds. Default 0.833 (Netflix 5/6s)."
    },
    "max_duration_seconds": {
      "type": "number",
      "description": "Maximum cue duration in seconds. Default 7."
    },
    "max_line_length": {
      "type": "number",
      "description": "Max characters per line. Default 42."
    }
  },
  "required": [
    "content"
  ]
}
⚪merge_subtitles(content, append_content, gap_seconds, to)

Append one subtitle track after another (CD1 + CD2, or a second language track). The second track is offset so it starts after the last cue of the first, plus an optional gap.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The first subtitle file text."
    },
    "append_content": {
      "type": "string",
      "description": "The subtitle file text to append."
    },
    "gap_seconds": {
      "type": "number",
      "description": "Extra gap between the two tracks, in seconds. Default 0."
    },
    "to": {
      "type": "string",
      "enum": [
        "srt",
        "vtt"
      ],
      "description": "Output format. Default: same as the input."
    }
  },
  "required": [
    "content",
    "append_content"
  ]
}
🟢split_subtitles(content, at, part, to)

Split one subtitle track into two parts at a given timecode, keeping original timecodes. Use the `at` argument plus `part` to fetch either half.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The full subtitle file text."
    },
    "at": {
      "type": "string",
      "description": "Split point. Accepts \"45:00\", \"1:02:03\", \"90\" (seconds) or \"1:02:03.500\"."
    },
    "part": {
      "type": "string",
      "enum": [
        "a",
        "b"
      ],
      "description": "Which half to return. Default \"a\" (before the split point)."
    },
    "to": {
      "type": "string",
      "enum": [
        "srt",
        "vtt"
      ],
      "description": "Output format. Default: same as the input."
    }
  },
  "required": [
    "content",
    "at"
  ]
}
⚪fix_subtitle_encoding(content, read_as, twice)

Repair mojibake — text where UTF-8 bytes were decoded as a single-byte encoding (cp1252/Latin-1 or cp1251). Symptoms: "é", "’", "привет". Returns the repaired text and how many passes were applied.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The garbled subtitle text."
    },
    "read_as": {
      "type": "string",
      "enum": [
        "auto",
        "cp1252",
        "cp1251"
      ],
      "description": "Which encoding the file was wrongly read as. Default \"auto\" (tries cp1252 then cp1251)."
    },
    "twice": {
      "type": "boolean",
      "description": "Set true when the text was mis-decoded twice (nested mojibake). Default false."
    }
  },
  "required": [
    "content"
  ]
}
⚪text_to_subtitles(content, duration_seconds, start_seconds, max_chars_per_cue)

Turn a plain transcript (one line per caption) into an SRT file with evenly spaced timecodes. Timing is a starting point, not a real transcription — say so when you present the result.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "Plain text, one caption per line. Blank lines are skipped."
    },
    "duration_seconds": {
      "type": "number",
      "description": "Seconds each cue stays on screen. Default 2.5."
    },
    "start_seconds": {
      "type": "number",
      "description": "Timecode of the first cue, in seconds. Default 0."
    },
    "max_chars_per_cue": {
      "type": "number",
      "description": "Split longer lines into several cues at word boundaries. Default 0 = never split."
    }
  },
  "required": [
    "content"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada8 herramientas
verificadoversión no registrada8 herramientas