YouTube Data MCP by usefulapi

v1.9.1
io.usefulapi/youtube-data Checked 3 days ago Published 2 days ago

Search 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_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=.

ParameterTypeDescription
video_ids *arrayVideo ids (the v= value of a watch URL).
partsarrayResource parts to return (default snippet, contentDetails, statistics).

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.

ParameterTypeDescription
channel_idsarrayChannel ids (start with UC).
handlestringChannel handle, with or without the @.
partsarrayResource parts to return (default snippet, contentDetails, statistics).
usernamestringLegacy 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.

ParameterTypeDescription
channel_idstringChannel id whose public playlists to list.
max_resultsintegerResults per page, 1-50 (default 5).
page_tokenstringPage token from nextPageToken of the previous response.
playlist_idsarrayPlaylist 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.

ParameterTypeDescription
playlist_id *stringPlaylist id.
max_resultsintegerResults per page, 1-50 (default 5).
page_tokenstringPage 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.

ParameterTypeDescription
channel_idstringChannel id: all comment threads related to the channel.
max_resultsintegerResults per page, 1-100 (default 20).
orderstringSort order (default time).
page_tokenstringPage token from nextPageToken of the previous response.
search_termsstringOnly threads that contain these terms.
video_idstringVideo 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=.

ParameterTypeDescription
parent_id *stringId of the top-level comment.
max_resultsintegerResults per page, 1-100 (default 20).
page_tokenstringPage 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.

ParameterTypeDescription
region_codestring2-letter country code (default US).