A straightforward bridge to YouTube's Data API v3 that covers the full spectrum from zero-config transcript extraction to OAuth-gated membership data. The transcript tool uses yt-dlp and works immediately with no credentials. Add an API key and you unlock search with filtering by date, duration, and region, plus metadata, comments, trending videos, and caption tracks. OAuth adds private subscriptions and channel membership rosters. The tool list is comprehensive: 20+ operations including handle-based channel lookup, playlist enumeration, activity feeds, and category discovery across regions. If you're building workflows that need to pull YouTube data into Claude without writing API client code, this does the plumbing.
Public tool metadata for what this MCP can expose to an agent.
YOUTUBE_GET_CHANNEL_ACTIVITIESGets recent activities from a YouTube channel including video uploads, playlist additions, likes, and other channel events.6 paramsGets recent activities from a YouTube channel including video uploads, playlist additions, likes, and other channel events.
partstringchannelIdstringpageTokenstringmaxResultsintegerpublishedAfterstringpublishedBeforestringYOUTUBE_GET_CHANNEL_ID_BY_HANDLERetrieves the YouTube Channel ID for a specific YouTube channel handle.1 paramsRetrieves the YouTube Channel ID for a specific YouTube channel handle.
channel_handlestringYOUTUBE_GET_CHANNEL_STATISTICSGets detailed statistics for YouTube channels including subscriber counts, view counts, and video counts.2 paramsGets detailed statistics for YouTube channels including subscriber counts, view counts, and video counts.
idstringpartstringYOUTUBE_GET_VIDEO_DETAILS_BATCHRetrieves multiple YouTube video resource parts in a single batch call. Use when you need cohort-level metrics for many videos to reduce quota usage and latency.3 paramsRetrieves multiple YouTube video resource parts in a single batch call. Use when you need cohort-level metrics for many videos to reduce quota usage and latency.
hlstringidarraypartsarrayYOUTUBE_LIST_CAPTION_TRACKRetrieves a list of caption tracks for a YouTube video, returning an empty list if no captions exist or failing if the video ID is invalid or not found.2 paramsRetrieves a list of caption tracks for a YouTube video, returning an empty list if no captions exist or failing if the video ID is invalid or not found.
partstringvideoIdstringYOUTUBE_LIST_CHANNEL_VIDEOSLists videos from a specified YouTube channel, ensuring results are of `type: 'video'`.4 paramsLists videos from a specified YouTube channel, ensuring results are of `type: 'video'`.
partstringchannelIdstringpageTokenstringmaxResultsintegerYOUTUBE_LIST_PLAYLIST_ITEMSTool to list videos in a playlist, with pagination support. Use when walking through a channel's uploads playlist to enumerate all videos.7 paramsTool to list videos in a playlist, with pagination support. Use when walking through a channel's uploads playlist to enumerate all videos.
partstringfieldsstringvideoIdstringpageTokenstringmaxResultsintegerplaylistIdstringonBehalfOfContentOwnerstringYOUTUBE_LIST_USER_PLAYLISTSRetrieves playlists owned by the authenticated user, implicitly using mine=True.3 paramsRetrieves playlists owned by the authenticated user, implicitly using mine=True.
partstringpageTokenstringmaxResultsintegerYOUTUBE_LIST_USER_SUBSCRIPTIONSRetrieves the authenticated user's YouTube channel subscriptions, allowing specification of response parts and pagination.3 paramsRetrieves the authenticated user's YouTube channel subscriptions, allowing specification of response parts and pagination.
partstringpageTokenstringmaxResultsintegerYOUTUBE_LOAD_CAPTIONSDownloads a specific YouTube caption track, which must be owned by the authenticated user, and returns its content as text. Note: This action requires you to own the video (YouTube Data API v3 restriction). Non-owned videos will return 403 Forbidden errors, including many auto...2 paramsDownloads a specific YouTube caption track, which must be owned by the authenticated user, and returns its content as text. Note: This action requires you to own the video (YouTube Data API v3 restriction). Non-owned videos will return 403 Forbidden errors, including many auto...
idstringtfmtstringYOUTUBE_SEARCH_YOU_TUBESearches YouTube for videos, channels, or playlists using a query term, returning the raw API response.5 paramsSearches YouTube for videos, channels, or playlists using a query term, returning the raw API response.
qstringpartstringtypestringpageTokenstringmaxResultsintegerYOUTUBE_SUBSCRIBE_CHANNELSubscribes the authenticated user to a specified YouTube channel, identified by its unique `channelId` which must be valid and existing.1 paramsSubscribes the authenticated user to a specified YouTube channel, identified by its unique `channelId` which must be valid and existing.
channelIdstringYOUTUBE_UPDATE_THUMBNAILSets the custom thumbnail for a YouTube video using an image from thumbnailUrl; the authenticated user must have permission to edit the video.2 paramsSets the custom thumbnail for a YouTube video using an image from thumbnailUrl; the authenticated user must have permission to edit the video.
videoIdstringthumbnailUrlstringYOUTUBE_UPDATE_VIDEOUpdates metadata for a YouTube video identified by videoId, which must exist; an empty list for tags removes all existing tags.6 paramsUpdates metadata for a YouTube video identified by videoId, which must exist; an empty list for tags removes all existing tags.
tagsarraytitlestringvideoIdstringcategoryIdstringdescriptionstringprivacyStatusstringYOUTUBE_UPLOAD_VIDEOUploads a video from a local file path to a YouTube channel; the video file must be in a YouTube-supported format.6 paramsUploads a video from a local file path to a YouTube channel; the video file must be in a YouTube-supported format.
tagsarraytitlestringcategoryIdstringdescriptionstringprivacyStatusstringvideoFilePathstringYOUTUBE_VIDEO_DETAILSRetrieves specified information parts (e.g., snippet, contentDetails, statistics) for a YouTube video, identified by its ID.2 paramsRetrieves specified information parts (e.g., snippet, contentDetails, statistics) for a YouTube video, identified by its ID.
idstringpartstringOnce connected, your AI can:
@handle (e.g. @MrBeast).The server supports three access tiers. Pick the one that fits your use case.
Works out of the box. The get_video_transcript tool uses yt-dlp to extract transcripts without any API credentials.
{
"mcpServers": {
"youtube-mcp": {
"command": "npx",
"args": ["-y", "@mrsknetwork/ytmcp@latest"]
}
}
}
Unlocks all public data tools. Best for search, metadata, comments, trending videos, and transcripts.
1. Get a Google API Key
2. Add to your MCP client config
{
"mcpServers": {
"youtube-mcp": {
"command": "npx",
"args": ["-y", "@mrsknetwork/ytmcp@latest", "YOUR_GOOGLE_API_KEY"]
}
}
}
1. Create an OAuth 2.0 Client
http://localhost:31415/oauth2callback.2. Add to your MCP client config
Credentials are passed securely via environment variables in the MCP config. They are never stored in files.
{
"mcpServers": {
"youtube-mcp": {
"command": "npx",
"args": ["-y", "@mrsknetwork/ytmcp@latest"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
"GOOGLE_CLIENT_SECRET": "your-client-secret"
}
}
}
}
3. First-time login
On your first tool call, the AI will share a login link. Click it, authorize the app in your browser, then tell the AI you are done. Your session is saved. You will not need to log in again unless you revoke access.
4. Signing out
Ask your AI to call revoke_oauth_token to sign out and delete your stored credentials at any time.
| Tool | Auth | Description |
|---|---|---|
get_video_transcript | None | Download a full spoken transcript using yt-dlp. Specify language_code (e.g. en, es) and whether to prefer manual or auto-generated captions. Returns source metadata with the text. |
search_content | API Key | Search YouTube for videos, channels, or playlists. Filter by order, published_after, published_before, video_duration, video_definition, and region_code. Supports pagination. |
get_video_metadata | API Key | Fetch title, description, tags, duration, and stats (views, likes, comments) for one or more videos by ID. |
get_channel_metadata | API Key | Fetch channel profile, subscriber count, video count, and uploads playlist ID. Accepts a channel ID or @handle. |
list_trending_videos | API Key | Fetch the most popular videos on YouTube for a given region_code and optional category_id. Supports pagination. |
list_playlists | API Key | List playlists for a channel, or fetch specific playlists by ID. Returns title, description, and item count. |
list_playlist_items | API Key | List all videos inside a playlist in order. Returns title, position, and video ID for each entry. |
list_video_comments | API Key | Fetch top-level comment threads for a video or channel. Filter by keyword with search_terms. Supports pagination. |
list_comment_replies | API Key | Fetch replies to a specific comment thread by parent_comment_id. Supports pagination. |
list_video_captions | API Key | List available caption tracks for a video, including language code and type (manual or auto-generated). |
list_video_categories | API Key | List YouTube video category names and IDs for a given region. Use the IDs with search_content or list_trending_videos. |
list_channel_activities | API Key | Fetch a channel's recent activity feed, including uploads and playlist additions. |
list_channel_sections | API Key | List the shelf sections displayed on a channel's page, in order. |
list_supported_languages | API Key | List all languages supported by YouTube, with language codes and localized names. |
list_supported_regions | API Key | List all regions supported by YouTube, with region codes and names. |
list_subscriptions | API Key / OAuth | List public subscriptions for a channel by channel_id (API Key), or your own subscriptions with mine=true (OAuth). |
list_channel_members | OAuth | List current paying members of your channel. Requires an active memberships program. |
list_membership_levels | OAuth | List the membership tier names and levels configured for your channel. |
revoke_oauth_token | OAuth | Sign out and permanently delete your stored Google credentials from the server. |
git clone https://github.com/mrsknetwork/ytmcp.git
cd ytmcp
npm install
npm run build
node build/server/index.js "YOUR_API_KEY"
Licensed under the MIT License.
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json