YouTube (Unofficial)
v0.2.3Unofficial YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
yt_search
Search YouTube for videos, channels, or playlists. Returns snippet info including title, description, channel, thumbnails, and publish date.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | YouTube Data API v3 key from Google Cloud Console |
query * | string | Search term |
channel_id | string | Filter results to a specific channel ID |
max_results | number | Number of results to return (default 10, max 50) |
order | string | Sort order: "date", "rating", "relevance", or "viewCount" (default: "relevance") |
published_after | string | Filter results published after this ISO 8601 date (e.g. "2024-01-01T00:00:00Z") |
type | string | Resource type to search: "video", "channel", or "playlist" (default: "video") |
yt_video_details
Get detailed information about one or more YouTube videos including title, description, channel, duration, view/like/comment counts, and tags.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | YouTube Data API v3 key from Google Cloud Console |
video_id * | string | Video ID or comma-separated list of video IDs (max 50) |
yt_channel_details
Get YouTube channel information and statistics including subscriber count, video count, view count, description, and custom URL.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | YouTube Data API v3 key from Google Cloud Console |
channel_id | string | Channel ID (starts with UC...) |
username | string | Channel username (alternative to channel_id) |
yt_channel_videos
List recent videos from a YouTube channel, ordered by date. Returns video ID, title, description, and publish date.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | YouTube Data API v3 key from Google Cloud Console |
channel_id * | string | Channel ID to list videos from |
max_results | number | Number of videos to return (default 10, max 50) |
published_after | string | Filter videos published after this ISO 8601 date |
published_before | string | Filter videos published before this ISO 8601 date |
yt_video_comments
Get top-level comment threads on a YouTube video. Returns author, text, like count, and publish date.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | YouTube Data API v3 key from Google Cloud Console |
video_id * | string | Video ID to fetch comments for |
max_results | number | Number of comment threads to return (default 20, max 100) |
order | string | Sort order: "time" or "relevance" (default: "relevance") |
yt_video_transcript
Get the transcript (captions) of a YouTube video: timestamped segments plus the joined text, the caption language, and whether the track is auto-generated. No API key needed. Use it to summarize, quote or search what is said in a video. Long videos are paged: pass the returned next_start_seconds as start_seconds to continue. A video with no captions returns a captions_unavailable error, never an empty transcript.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | YouTube video ID (e.g. "dQw4w9WgXcQ") or a full youtube.com / youtu.be URL |
lang | string | Caption language code (e.g. "en", "fr", "pt-BR"). "en" also matches "en-US". Default: the video's default caption track. If the video has no track in this language the error lists the ones it has. |
max_chars | number | Stop after this many characters of transcript text (default 50000, max 200000). |
start_seconds | number | Skip segments that start before this many seconds (for paging through long videos). Default 0. |