Youtube
MCP server for YouTube Data API v3 with OAuth 2.0 authentication.
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)
How to connect
How to connect Youtube to Claude
The server address to paste into Claude settings:
https://youtube--node2flow.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Youtube to ChatGPT
The server address to paste into ChatGPT settings:
https://youtube--node2flow.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Youtube to Cursor
The server address to paste into Cursor settings:
https://youtube--node2flow.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
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. |