Youtube
MCP server for YouTube Data API v3 with OAuth 2.0 authentication.
Community: Submitted by a user or imported; check the owner before granting accessOnlineAPI key requiredGlobalFreeCan modify data
What it can do
- Youtube Search: Search YouTube for videos, channels, or playlists. Costs 100 quota units per request. Use filters to narrow results. Returns up to 50 results per page with pagination support.
- Youtube Get Video: Get detailed information about one or more videos by ID. Returns snippet (title, description, thumbnails), statistics (views, likes, comments), content details (duration, definition
- Youtube Get Channel: Get channel information by ID or username. Returns snippet (name, description, avatar), statistics (subscribers, views, video count), and branding settings. Costs 1 quota unit.
What data it sees
Do you need an account
An API key from the service settings is required
MCP server for YouTube Data API v3 with OAuth 2.0 authentication.
Features
- Search videos, channels, and playlists with filters (duration, date, region, type)
- Get video details — views, likes, comments, duration, tags, thumbnails
- Browse channel statistics — subscribers, video count, total views
- List and manage playlists — create, update, delete, add/remove videos
- Read and post comments — top-level threads, replies, moderation
- Rate videos with like/dislike/unrate
- Get trending videos by region and category
- Automatic access token refresh via OAuth 2.0
20 Tools
Search & Discovery: search YouTube, get popular/trending videos, list video categories
Videos & Channels: get video details, get channel info
Playlists: list playlists, list playlist items, create/update/delete playlist, add/remove playlist item
Comments: list comment threads, list replies, post comment, reply to comment, update/delete comment
Ratings: rate video (like/dislike/none)
Configuration
- YOUTUBE_CLIENT_ID — OAuth 2.0 Client ID from https://console.cloud.google.com/apis/credentials
- YOUTUBE_CLIENT_SECRET — OAuth 2.0 Client Secret
- YOUTUBE_REFRESH_TOKEN — Refresh Token from https://developers.google.com/oauthplayground (scope: youtube)
Server tool list (20)
Raw names from tools/list. Only developers need these.
| youtube_search | Search YouTube for videos, channels, or playlists. Costs 100 quota units per request. Use filters to narrow results. Returns up to 50 results per page with pagination support. |
| youtube_get_video | Get detailed information about one or more videos by ID. Returns snippet (title, description, thumbnails), statistics (views, likes, comments), content details (duration, definition), and status. Costs 1 quota unit. |
| youtube_get_channel | Get channel information by ID or username. Returns snippet (name, description, avatar), statistics (subscribers, views, video count), and branding settings. Costs 1 quota unit. |
| youtube_list_playlists | List playlists by channel ID or playlist IDs. Returns playlist title, description, item count, and privacy status. Costs 1 quota unit. |
| youtube_list_playlist_items | List videos in a playlist. Returns video titles, descriptions, positions, and video IDs. Costs 1 quota unit. |
| youtube_list_comments | List top-level comment threads on a video or channel. Returns comment text, author, likes, reply count, and optionally the first few replies. Costs 1 quota unit. |
| youtube_list_comment_replies | List replies to a specific comment. Provide the parent comment ID to get all replies. Costs 1 quota unit. |
| youtube_list_video_categories | List available video categories for a region. Returns category ID, title, and whether it is assignable. Costs 1 quota unit. |
| youtube_list_subscriptions | List subscriptions for a channel. Returns subscribed channel names, descriptions, and item counts. Costs 1 quota unit. |
| youtube_get_popular_videos | Get trending/most popular videos for a region. Optionally filter by video category. Returns video details with statistics. Costs 1 quota unit. |
| youtube_post_comment | Post a new top-level comment on a video. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_reply_comment | Reply to an existing comment. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_update_comment | Edit an existing comment. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_delete_comment | Delete a comment. This action is irreversible. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_create_playlist | Create a new playlist. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_update_playlist | Update a playlist title, description, or privacy status. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_delete_playlist | Delete a playlist. This action is irreversible. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_add_playlist_item | Add a video to a playlist. Optionally specify position (0-based). Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_remove_playlist_item | Remove a video from a playlist by playlist item ID (not video ID). Use youtube_list_playlist_items to find the item ID. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_rate_video | Like, dislike, or remove rating from a video. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |