youtube-transcripts
v0.1.1YouTube transcripts for AI agents: videos, channels, playlists, search.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_youtube_transcript Get YouTube transcript(s)
Get transcripts for one or more YouTube videos (URLs, Shorts/youtu.be links, or bare 11-character video IDs). Returns one item per video with an honest status (ok, no_captions, blocked, live_stream, age_restricted, unavailable, translation_unavailable, po_token_required, error) and the transcript as text/segments/SRT/VTT.
| Parameter | Type | Description |
|---|---|---|
videos * | array | YouTube video URLs or bare 11-character video IDs. One transcript per video. |
includeChapters | boolean | Include video chapters. Default false. |
includeMetadata | boolean | Include title, channel, duration, views, publish date. Default true. |
languages | array | Language priority list (ISO codes, e.g. ["en", "de"]). First available caption track wins. Default ["en"]. |
outputFormats | array | Transcript representations to include. Default ["text"] for compact tool output. |
preferAutoGenerated | boolean | Prefer auto-generated (ASR) captions over manual ones. Default false. |
translateTo | string | Target language code (e.g. "es") for YouTube caption auto-translation. Best-effort. |
get_channel_transcripts Get channel transcripts
Get transcripts for a YouTube channel's most recent uploads (newest first). Accepts a channel URL or a bare @handle. Bounded by maxVideos (default 10 to keep responses fast).
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel URL (youtube.com/@handle, /channel/UC…, /c/…, /user/…) or bare @handle. |
includeChapters | boolean | Include video chapters. Default false. |
includeMetadata | boolean | Include title, channel, duration, views, publish date. Default true. |
languages | array | Language priority list (ISO codes, e.g. ["en", "de"]). First available caption track wins. Default ["en"]. |
maxVideos | integer | Upper bound on videos taken from the channel, newest first. Default 10. |
outputFormats | array | Transcript representations to include. Default ["text"] for compact tool output. |
preferAutoGenerated | boolean | Prefer auto-generated (ASR) captions over manual ones. Default false. |
translateTo | string | Target language code (e.g. "es") for YouTube caption auto-translation. Best-effort. |
search_youtube_transcripts Search YouTube and get transcripts
Search YouTube and get transcripts for the top video results. Bounded by maxResults (default 5 to keep responses fast).
| Parameter | Type | Description |
|---|---|---|
query * | string | YouTube search query. |
includeChapters | boolean | Include video chapters. Default false. |
includeMetadata | boolean | Include title, channel, duration, views, publish date. Default true. |
languages | array | Language priority list (ISO codes, e.g. ["en", "de"]). First available caption track wins. Default ["en"]. |
maxResults | integer | Upper bound on videos taken from the search results. Default 5. |
outputFormats | array | Transcript representations to include. Default ["text"] for compact tool output. |
preferAutoGenerated | boolean | Prefer auto-generated (ASR) captions over manual ones. Default false. |
translateTo | string | Target language code (e.g. "es") for YouTube caption auto-translation. Best-effort. |