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 |
Capabilities
Features and capabilities supported by this server
| 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_transcriptA | 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_metadataB | 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_itemsC | 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_videosB | Get currently trending/popular YouTube videos by region and category. |
| search_within_channelC | 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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wynandw87/claude-code-youtube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server