YouTube MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YOUTUBE_API_KEY | Yes | YouTube Data API v3 key | |
| YOUTUBE_TIMEOUT | No | API timeout in ms | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| parse_youtube_urlA | Parse any YouTube URL format and extract video ID, channel ID, playlist ID, handle, and timestamp. Supports youtube.com/watch, youtu.be, /shorts/, /embed/, /playlist, /channel/, /@handle, and bare video IDs. |
| get_transcriptB | Fetch the full transcript/captions of a YouTube video with timestamps. Returns both individual segments with timing and the full concatenated text. No API key needed. |
| search_transcriptA | Search within a YouTube video's transcript for a keyword or phrase. Returns matching segments with timestamps and surrounding context. |
| extract_chaptersA | Extract chapter timestamps from a YouTube video's description. Returns structured chapter list with titles and start times. |
| get_clean_transcriptA | Fetch a YouTube video transcript with sponsor reads, intros, outros, self-promotion, and filler removed using SponsorBlock data. Ideal for summarization. |
| get_most_replayedA | Get the "most replayed" heatmap data for a YouTube video, showing which parts viewers rewatch most. Returns intensity scores and top peaks with timestamps. Requires 50K+ views. |
| search_videosB | Search YouTube for videos with full filter support: upload date, duration, sort order, and content type. |
| get_video_metadataA | Get detailed metadata for a YouTube video: title, description, channel, duration, view/like/comment counts, tags, category, thumbnails, and more. |
| get_channel_infoA | Get YouTube channel information: title, description, subscriber/video/view counts, country, and thumbnail. Accepts channel URL, @handle, or channel ID. |
| get_playlist_itemsA | Get all videos in a YouTube playlist with metadata. Returns playlist info and video list with titles, channels, and positions. |
| get_channel_videosA | Get recent videos from a YouTube channel. Supports sorting by date or view count. |
| get_trending_videosA | Get currently trending/popular YouTube videos by region and category. |
| search_within_channelB | Search for videos within a specific YouTube channel. |
| get_video_commentsA | Fetch top-level comments from a YouTube video. Returns author, text, like count, reply count, and publish date. |
| calculate_engagementA | Calculate engagement metrics for a YouTube video: like rate, comment rate, and overall engagement rate based on view count. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Each tool has a clear and distinct purpose. Overlapping areas like transcripts (get_transcript, get_clean_transcript, search_transcript) are well-differentiated by their descriptions, eliminating ambiguity.
All tools use a consistent verb_noun pattern with snake_case (e.g., get_channel_info, search_videos, parse_youtube_url). No mixed conventions or vague verbs.
15 tools is within the optimal range for a domain-specific server. Each tool covers a core YouTube operation (metadata, transcripts, search, parsing) without excess or deficiency.
The tool set covers most information retrieval needs (channel, videos, playlists, comments, transcripts, search). Minor gaps include lack of channel playlist listing and comment replies, but the core workflows are well-supported.