YouTube MCP
Query YouTube Data API v3 metadata and transcripts through the youtube-mcp server's 10 read-only tools. Keep calls quota-aware and extract raw 11-character IDs before invoking video tools.
References
- All 10 tools, parameters,
normalizedMetadatafields, and quota caveats: references/tools-reference.md - Server transports (
stdio/ Streamable HTTP), API key rotation, and troubleshooting: references/setup-and-config.md
Core Workflows
- Video details & transcripts:
- Extract the raw 11-character video ID (e.g.,
dQw4w9WgXcQfromhttps://www.youtube.com/watch?v=dQw4w9WgXcQoryoutu.be/dQw4w9WgXcQ) —videos_getVideorequires a rawvideoId, whereastranscripts_getTranscriptaccepts either a rawvideoIdor a full YouTube URL. - Call
videos_getVideo(videoId=...)for title, description, tags, duration, and statistics, andtranscripts_getTranscript(videoId=..., language=...)for captions.
- Extract the raw 11-character video ID (e.g.,
- Video search & creator discovery:
- Start with
videos_searchVideos(query=..., maxResults=10)orchannels_findCreators(query=..., sampleVideosPerChannel=3)to discover videos and channels together. - Use
channels_searchChannels(query=...)for channel handles/names, orchannels_getChannels(channelIds=[...])to enrich multiple channel IDs in one batch.
- Start with
- Channel uploads & playlists:
- To list uploads with minimal API quota, read
normalizedMetadata.uploadsPlaylistIdfromchannels_getChannel/channels_getChannels, then callplaylists_getPlaylistItems(playlistId=...)(instead of the more expensivechannels_listVideossearch call). - Use
playlists_getPlaylist(playlistId=...)andplaylists_getPlaylistItems(playlistId=...)for curated playlists.
- To list uploads with minimal API quota, read
Critical Caveats
- All 10 tools are read-only: No upload, comment, like, subscription, playlist-write, or video-download tools are exposed.
creatorOnly=trueheuristic is strict: Classifies channels as"creator"only if keywords like"my channel","streamer", or"reviewer"match the title/description (channelTypeHeuristic). Many real creators classify as"unknown", so omitcreatorOnlyunless explicitly filtering on that heuristic.- API quota awareness: Enabling
uniqueChannels, subscriber/upload-date filters, or non-defaultsortByonvideos_searchVideos(orincludeLatestUpload=trueon channel tools) triggers additionalsearch.listcalls per channel — keepmaxResultsmodest when combining filters. - Transcripts require captions:
transcripts_getTranscriptfails if captions are disabled or unavailable in the requested language (YOUTUBE_TRANSCRIPT_LANG, default'en').


