youtube-studio-mcp

v0.3.1
youtube-studio-mcp Checked 4 days ago Published 1 month ago

A comprehensive MCP server for YouTube Data API, Analytics API, and Reporting API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

youtube_auth

Initiate OAuth 2.0 authentication flow. Opens a browser window for Google OAuth consent. Required before using any tools that access private channel data or analytics.

youtube_auth_status

Check current authentication status and quota usage.

youtube_get_channel

Get channel details by channel ID, handle (@username), or the authenticated user's channel. Args: channel_id: YouTube channel ID (e.g., "UCxxxxxxx") handle: Channel handle (e.g., "@mkbhd") mine: If True, get the authenticated user's own channel

ParameterTypeDescription
channel_id
handle
mineboolean

youtube_list_videos

List videos from a channel or playlist. For a channel, uses the channel's uploads playlist. Returns video summaries with stats, sorted by most recent. Args: channel_id: Channel ID to list videos from playlist_id: Playlist ID to list videos from (overrides channel_id) mine: If True, list the authenticated user's videos max_results: Number of videos to return. Values above 50 are served by paging through the playlist; pass 0 or a negative value to fetch every video in the playlist.

ParameterTypeDescription
channel_id
max_resultsinteger
mineboolean
playlist_id

youtube_get_video

Get detailed metadata and statistics for a specific video. Args: video_id: YouTube video ID (e.g., "dQw4w9WgXcQ")

ParameterTypeDescription
video_id *string

youtube_search_suggestions

Get YouTube autocomplete/search suggestions for a query. Useful for SEO keyword research — shows what people are searching for. No quota cost (uses YouTube's public suggest endpoint). Args: query: Partial search query to get suggestions for language: Language code (e.g., "en", "es")

ParameterTypeDescription
query *string
languagestring

youtube_get_categories

List available YouTube video categories for a region. Useful for filtering trending videos or setting video category on upload. Costs 1 quota unit. Args: region_code: ISO 3166-1 alpha-2 country code (e.g., "US")

ParameterTypeDescription
region_codestring

youtube_list_captions

List available caption tracks for a video you own. Requires OAuth. Only works for videos on the authenticated user's channel. Args: video_id: YouTube video ID

ParameterTypeDescription
video_id *string

youtube_get_transcript

Get the transcript/captions for a video. By default uses youtube-transcript-api (works for any public video, no quota cost). Set use_official_api=True to use the official Data API (only for your own videos, costs quota units). Args: video_id: YouTube video ID language: Preferred language code (e.g., "en", "es", "ja") use_official_api: If True, use official API (own videos only)

ParameterTypeDescription
video_id *string
languagestring
use_official_apiboolean

youtube_analytics_overview

Get channel-level analytics summary. Returns views, watch time, subscribers gained/lost, likes, comments, and shares for the date range. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
end_date
start_date

youtube_analytics_top_videos

Get top-performing videos by views. Returns per-video metrics sorted by view count, excluding Shorts. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today. max_results: Number of videos to return (max 200).

ParameterTypeDescription
end_date
max_resultsinteger
start_date

youtube_analytics_top_shorts

Get top-performing Shorts by views. Returns per-Short metrics sorted by view count. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today. max_results: Number of Shorts to return (max 200).

ParameterTypeDescription
end_date
max_resultsinteger
start_date

youtube_analytics_video_detail

Get detailed analytics for a specific video over time. Returns daily metrics for the specified video. Args: video_id: YouTube video ID start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
video_id *string
end_date
start_date

youtube_analytics_traffic_sources

Get traffic source breakdown — how viewers find your content. Shows views from search, suggested, browse, external, etc. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today. video_id: Optional video ID to filter to a specific video.

ParameterTypeDescription
end_date
start_date
video_id

youtube_analytics_demographics

Get audience demographics — age group and gender breakdown. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
end_date
start_date

youtube_analytics_geography

Get views by country. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today. max_results: Number of countries to return (max 200).

ParameterTypeDescription
end_date
max_resultsinteger
start_date

youtube_analytics_daily

Get daily performance metrics over time. Useful for spotting trends and finding optimal posting days. Returns one row per day with views, watch time, subs, likes, shares. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
end_date
start_date

youtube_analytics_day_of_week

Get aggregated performance by day of week. Fetches daily data and aggregates by weekday to show which days perform best. Useful for scheduling uploads. Args: start_date: Start date (YYYY-MM-DD). Defaults to 90 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
end_date
start_date

youtube_analytics_content_type_breakdown

Compare performance of Shorts vs long-form videos vs live streams. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
end_date
start_date

youtube_analytics_revenue

Get revenue breakdown. Requires the channel to be in the YouTube Partner Program (monetized). Returns estimated revenue, ad revenue, and YouTube Premium revenue. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
end_date
start_date

youtube_analytics_revenue_by_video

Get revenue per video, sorted by highest revenue. Requires the channel to be in the YouTube Partner Program. Args: start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today. max_results: Number of videos to return (max 200).

ParameterTypeDescription
end_date
max_resultsinteger
start_date

youtube_analytics_retention

Get audience retention curve for a specific video. Returns 100 data points showing what percentage of viewers are still watching at each point in the video. Also includes relative retention compared to similar-length videos on YouTube. Args: video_id: YouTube video ID start_date: Start date (YYYY-MM-DD). Defaults to 28 days ago. end_date: End date (YYYY-MM-DD). Defaults to today.

ParameterTypeDescription
video_id *string
end_date
start_date

youtube_upload_video

Upload a video to YouTube. Costs 1,600 quota units. Video is uploaded as private by default. Args: file_path: Absolute path to the video file title: Video title (max 100 characters) description: Video description (max 5,000 characters) tags: List of tags category_id: YouTube category ID (default "22" = People & Blogs) privacy_status: "private", "public", or "unlisted" publish_at: ISO 8601 datetime to schedule publishing (requires privacy_status="private")

ParameterTypeDescription
file_path *string
title *string
category_idstring
descriptionstring
privacy_statusstring
publish_at
tags

youtube_update_video

Update metadata for an existing video. Only provided fields are updated; others remain unchanged. Args: video_id: YouTube video ID title: New title (max 100 characters) description: New description (max 5,000 characters) tags: New tags (replaces existing tags) category_id: New category ID privacy_status: "private", "public", or "unlisted" publish_at: ISO 8601 datetime to schedule publishing (requires privacy_status="private" — either passed explicitly here or already set on the video). made_for_kids: COPPA self-declara…

ParameterTypeDescription
video_id *string
category_id
description
made_for_kids
privacy_status
publish_at
tags
title

youtube_set_thumbnail

Upload a custom thumbnail for a video. Args: video_id: YouTube video ID file_path: Absolute path to the thumbnail image (JPEG, PNG, GIF, BMP; max 2MB)

ParameterTypeDescription
file_path *string
video_id *string

youtube_delete_video

Delete a video. This action is irreversible. Args: video_id: YouTube video ID to delete

ParameterTypeDescription
video_id *string

youtube_list_playlists

List playlists for a channel. Args: channel_id: Channel ID to list playlists from mine: If True, list the authenticated user's playlists max_results: Number of playlists to return. Values above 50 are served by paging through results; pass 0 or a negative value to fetch every playlist.

ParameterTypeDescription
channel_id
max_resultsinteger
mineboolean

youtube_create_playlist

Create a new playlist. Args: title: Playlist title description: Playlist description privacy_status: "private", "public", or "unlisted"

ParameterTypeDescription
title *string
descriptionstring
privacy_statusstring

youtube_update_playlist

Update metadata for an existing playlist. Only provided fields are updated; others remain unchanged. Args: playlist_id: Playlist ID to update title: New title description: New description privacy_status: "private", "public", or "unlisted"

ParameterTypeDescription
playlist_id *string
description
privacy_status
title

youtube_delete_playlist

Delete a playlist. This action is irreversible and does not delete the videos in it, only the playlist itself. Args: playlist_id: Playlist ID to delete

ParameterTypeDescription
playlist_id *string

youtube_add_to_playlist

Add a video to a playlist. Args: playlist_id: Playlist ID to add the video to video_id: Video ID to add position: Position in the playlist (0-based). Defaults to end.

ParameterTypeDescription
playlist_id *string
video_id *string
position

youtube_remove_from_playlist

Remove a video from a playlist. Use youtube_list_playlists or the Data API to find the playlist_item_id. Args: playlist_item_id: The playlist item ID (not the video ID)

ParameterTypeDescription
playlist_item_id *string

youtube_list_comments

List top-level comments on a video. Args: video_id: YouTube video ID max_results: Number of comment threads to return. Values above 100 are served by paging through results; pass 0 or a negative value to fetch every top-level comment thread. order: Sort order: "relevance" or "time"

ParameterTypeDescription
video_id *string
max_resultsinteger
orderstring

youtube_post_comment

Post a new top-level comment on a video. Args: video_id: YouTube video ID to comment on text: Comment text

ParameterTypeDescription
text *string
video_id *string

youtube_reply_to_comment

Reply to an existing comment. Args: parent_id: The comment ID to reply to (from youtube_list_comments) text: Reply text

ParameterTypeDescription
parent_id *string
text *string

youtube_delete_comment

Delete a comment. This action is irreversible. Works on both top-level comments and replies. Deleting a top-level comment also removes its replies. Args: comment_id: The comment ID to delete (from youtube_list_comments, youtube_post_comment, or youtube_reply_to_comment)

ParameterTypeDescription
comment_id *string

youtube_reporting_list_types

List available report types that can be scheduled. Common report types: - channel_basic_a3: User activity (views, watch time, subs) - channel_demographics_a1: Age/gender breakdown - channel_traffic_source_a3: Traffic sources - channel_device_os_a3: Device and OS breakdown - channel_combined_a3: Combined multi-dimension report

youtube_reporting_create_job

Schedule a reporting job. Reports will be generated daily. Once created, YouTube will start generating daily CSV reports for this report type. It may take 24-48 hours for the first report to appear. Args: report_type_id: Report type ID (from youtube_reporting_list_types) name: Optional human-readable name for the job

ParameterTypeDescription
report_type_id *string
name

youtube_reporting_list_jobs

List all active reporting jobs.

youtube_reporting_list_reports

List available reports for a job. Reports are generated daily and available for 60 days. Args: job_id: Job ID (from youtube_reporting_create_job or youtube_reporting_list_jobs)

ParameterTypeDescription
job_id *string

youtube_reporting_download

Download a report CSV. Returns the CSV content as text. For large reports, the content may be truncated. Args: download_url: Download URL from youtube_reporting_list_reports

ParameterTypeDescription
download_url *string