YouTube Data MCP by usefulapi
v1.9.1Search videos; read channels, playlists, comments and popular videos in YouTube.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
youtube_search Search YouTube
Search public videos, channels or playlists by keyword. COSTS 100 quota units per call (the default daily quota is 10,000 units), so prefer the get/list tools when you have ids. Returns ids and snippets; call youtube_get_videos for statistics. API: GET /search.
| Parameter | Type | Description |
|---|---|---|
channel_id | string | Only results from this channel id. |
max_results | integer | Results per page, 1-50 (default 5). |
order | string | Sort order (default relevance). |
page_token | string | Page token from nextPageToken of the previous response. |
published_after | string | |
published_before | string | |
q | string | Search query. Supports - (NOT) and | (OR). |
region_code | string | |
relevance_language | string | ISO 639-1 language code, e.g. en. |
safe_search | string | |
type | string | Resource type (default: all three). |
video_duration | string | Needs type=video. short < 4 min, long > 20 min. |
youtube_get_videos Get videos
Get details for up to 50 videos by id: title, description, tags, publish date, duration, view/like/comment counts and privacy status. 1 quota unit per call. API: GET /videos?id=.
| Parameter | Type | Description |
|---|---|---|
video_ids * | array | Video ids (the v= value of a watch URL). |
parts | array | Resource parts to return (default snippet, contentDetails, statistics). |
youtube_list_popular_videos List most popular videos
List the most popular videos of a region, optionally within one video category. 1 quota unit per call. API: GET /videos?chart=mostPopular.
| Parameter | Type | Description |
|---|---|---|
max_results | integer | Results per page, 1-50 (default 5). |
page_token | string | Page token from nextPageToken of the previous response. |
region_code | string | 2-letter country code (default US). |
video_category_id | string | Category id from youtube_list_video_categories. |
youtube_get_channels Get channels
Get public channel details (title, description, custom URL, country, subscriber/view/video counts, uploads playlist id) by channel ids, by @handle or by legacy username. Give exactly one of channel_ids, handle, username. 1 quota unit. API: GET /channels.
| Parameter | Type | Description |
|---|---|---|
channel_ids | array | Channel ids (start with UC). |
handle | string | Channel handle, with or without the @. |
parts | array | Resource parts to return (default snippet, contentDetails, statistics). |
username | string | Legacy YouTube username. |
youtube_list_playlists List playlists
List the public playlists of a channel, or get playlists by id (give exactly one of channel_id, playlist_ids). 1 quota unit. API: GET /playlists.
| Parameter | Type | Description |
|---|---|---|
channel_id | string | Channel id whose public playlists to list. |
max_results | integer | Results per page, 1-50 (default 5). |
page_token | string | Page token from nextPageToken of the previous response. |
playlist_ids | array | Playlist ids. |
youtube_list_playlist_items List playlist items
List the videos in a playlist. Use the uploads playlist id from youtube_get_channels (contentDetails.relatedPlaylists.uploads) to list all uploads of a channel for 1 quota unit instead of a 100-unit search. API: GET /playlistItems.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | string | Playlist id. |
max_results | integer | Results per page, 1-50 (default 5). |
page_token | string | Page token from nextPageToken of the previous response. |
youtube_list_comment_threads List comment threads
List top-level public comments (with reply counts and a few replies) of one video, or of all videos of one channel. Give exactly one of video_id, channel_id. Fails with HTTP 403 when comments are disabled. 1 quota unit. API: GET /commentThreads.
| Parameter | Type | Description |
|---|---|---|
channel_id | string | Channel id: all comment threads related to the channel. |
max_results | integer | Results per page, 1-100 (default 20). |
order | string | Sort order (default time). |
page_token | string | Page token from nextPageToken of the previous response. |
search_terms | string | Only threads that contain these terms. |
video_id | string | Video id. |
youtube_list_comment_replies List comment replies
List all replies to one top-level comment (use the comment id of a thread from youtube_list_comment_threads). 1 quota unit. API: GET /comments?parentId=.
| Parameter | Type | Description |
|---|---|---|
parent_id * | string | Id of the top-level comment. |
max_results | integer | Results per page, 1-100 (default 20). |
page_token | string | Page token from nextPageToken of the previous response. |
youtube_list_video_categories List video categories
List the video categories (id and title) that exist in a region. Use the ids to filter youtube_list_popular_videos. 1 quota unit. API: GET /videoCategories.
| Parameter | Type | Description |
|---|---|---|
region_code | string | 2-letter country code (default US). |