ytranscript-mcp
v0.5.0YouTube transcripts, video details and channel lists for AI tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_transcript Get YouTube transcript
Get the transcript of a YouTube video. Accepts a video URL (watch, youtu.be, shorts, embed) or an 11-character video ID. Returns the video's spoken language by default. Videos without captions are transcribed with AI speech-to-text. Use format=timestamped when you need to cite or jump to specific moments. Set include_video_info=true to also get the title, channel, publish date, duration and view count at no extra cost.
| Parameter | Type | Description |
|---|---|---|
video * | string | YouTube video URL or 11-character video ID |
format | string | 'text' (default): one block of plain text. 'timestamped': one line per segment with [m:ss] times. |
include_video_info | boolean | Also return the video's title, channel, publish date, duration and view count above the transcript. Free. |
lang | string | Preferred language code, e.g. 'en' or 'es'. Omit to get the video's original language. A video with no captions in that language is transcribed with AI in the language actually spoken (see lang in the… |
max_characters | integer | Truncate the transcript to about this many characters. Useful for very long videos. |
max_units | integer | The most this request may cost, in units. A video without captions needs AI transcription, which costs 1 unit per minute of audio (at least 5); if that would exceed max_units, nothing is transcribed o… |
get_video_info Get YouTube video info
Get details about a YouTube video without its transcript: title, description, channel, publish date, duration, view and like counts, tags, category and chapters. Accepts a video URL or an 11-character video ID. Use it to check what a video is, or how long it is, before fetching the transcript. If you need the transcript too, call get_transcript with include_video_info=true instead.
| Parameter | Type | Description |
|---|---|---|
video * | string | YouTube video URL or 11-character video ID |
list_videos List a YouTube channel's or playlist's videos
List the videos of a YouTube channel (newest first) or a playlist (in playlist order), with each video's title, URL, publish date, length and views. Give either channel or playlist. Use published_after to get only recent videos, then call get_transcript on the ones you need. Costs 1 unit per started 100 videos. When the result says more videos are available, call again with the cursor it gives.
| Parameter | Type | Description |
|---|---|---|
channel | string | An @handle, a channel URL or a channel ID (UC...) |
content | string | Channels only. 'all' (default) includes Shorts and live streams; 'videos' returns regular videos only. |
cursor | string | The cursor from a previous list_videos result, to get the next videos. It already carries the channel or playlist and the filters. |
limit | integer | How many videos to return, 1 to 500. Default 100. |
playlist | string | A playlist ID or a YouTube URL with list= (instead of channel) |
published_after | string | Only videos published on or after this date, YYYY-MM-DD (UTC). |