TubeToTranscript

v1.1.1
io.github.TubeToTranscript/tubetotranscript Checked 4 days ago Published 1 month ago

YouTube transcripts for AI agents: captions with timestamps, languages, TXT, SRT and VTT export.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_youtube_transcript

Fetches the structured transcript, title, duration, and timed segments for any YouTube video or Shorts URL.

ParameterTypeDescription
url_or_video_id *stringThe YouTube video URL (watch, shorts, youtu.be, embed) or raw 11-character video ID.
languagestringOptional language code (e.g. "en", "es", "fr"). Defaults to available English or primary track.

get_available_languages

Lists all available caption and subtitle language tracks for a given YouTube video.

ParameterTypeDescription
url_or_video_id *stringThe YouTube video URL or 11-character video ID.

export_youtube_transcript

Converts and exports a YouTube transcript formatted as plain text (txt), SubRip subtitle (srt), or WebVTT (vtt).

ParameterTypeDescription
format *stringDesired export format: "txt" (clean plain text), "txt_with_timestamps", "srt" (SubRip), or "vtt" (WebVTT).
url_or_video_id *stringThe YouTube video URL or 11-character video ID.
languagestringOptional language code.