YouTube Scraper

Scrape videos, fetch thumbnails, and read transcripts.

llms.txt Full docs for LLMs

TOOL scrape_youtube

Scrape video data from a YouTube channel or single video. Returns metadata, transcripts, and top comments (sorted by likes). Async — submits a job, polls until complete, returns final results.

Example prompt
"Scrape the last 10 videos from @MrBeast and include transcripts and comments"
ParameterTypeDefaultDescription
urlstringrequiredYouTube channel URL or video URL
video_typestringbothType of videos: shorts, videos, or both
sortstringrecentSort order: recent or popular
max_videosinteger20Maximum videos to scrape (1-100)
include_transcriptsbooleanfalseInclude full video transcripts
include_commentsbooleanfalseInclude top comments for each video (sorted by likes)
max_commentsinteger100Max top comments to return per video when include_comments is true (1-100, default 100). Lower it only if the caller explicitly wants a smaller slice.
TOOL get_video_thumbnail

Fetch a YouTube video's thumbnail as an inline image so Claude can actually SEE it — read the text on the thumbnail, describe the visual, judge the style. Tries maxresdefault first, falls back to hqdefault when the higher-res asset doesn't exist.

Example prompt
"Look at this video's thumbnail and describe what makes it click-worthy: https://youtube.com/watch?v=dQw4w9WgXcQ"
ParameterTypeDefaultDescription
urlstringnullYouTube video URL (watch, shorts, or youtu.be) or a raw 11-char video ID. Either url or video_id is required.
video_idstringnullAlias for url — accepts a raw 11-char video ID or any video URL.
TOOL read_transcript

Fetch full transcript text for YouTube videos. Pass one or more transcript_url values from scrape_youtube results (comma-separated for batch). All URLs are fetched in parallel. Returns complete transcripts with no truncation.

Example prompt
"Read the transcript for the first video from the scrape results"
ParameterTypeDefaultDescription
transcript_urlstringrequiredOne or more transcript_url values from scrape_youtube results. Pass a single URL or multiple comma-separated URLs to fetch all in parallel.
esc
×

Buy More Credits

Boost
150
credits
$4.99
Good for:
  • ~12 min caption removal
Studio
1,000
credits
$31.49
Good for:
  • ~80 min caption removal