youtube-mcp
Provides tools for managing a YouTube channel, including uploading videos, updating metadata, scheduling releases, setting thumbnails, listing videos, and retrieving video and channel analytics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-mcp Upload episode-12.mp4 and schedule it for Tuesday 3pm, then show me last week's analytics"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
youtube-mcp
An MCP server that gives Claude control of a YouTube channel: upload videos, edit metadata, schedule releases, and read analytics — through YouTube's official Data and Analytics APIs.
Built for people running a posting workflow, where "publish Tuesday's video at 3pm and tell me how last week's did" should be one sentence, not twenty clicks.
Read this before you build on it
Two limits are policy, not code. Neither stops you developing, but both will shape what you can ship, and it's better to know now than after you've wired up a content pipeline.
1. Unaudited API projects can only upload private videos. Until your Google Cloud project passes YouTube's review, every video the API uploads is locked to private — you can't publish, and you can't flip it to public afterwards. Fix it by submitting the YouTube API Services Audit and Quota Extension form. The server tells you when this has happened rather than leaving you to wonder where your video went.
2. Quota is 10,000 units/day, and an upload costs ~1,600. That's about six uploads a day, then you're locked out until midnight Pacific. Raising it goes through the same form. Costs per tool are listed below so you can budget.
Related MCP server: youtube-mcp
Setup
1. Google Cloud
Create a project at console.cloud.google.com
Enable YouTube Data API v3 and YouTube Analytics API
Configure the OAuth consent screen, adding your channel's Google account as a test user
Create an OAuth 2.0 Client ID of type Desktop app, download the JSON
While the consent screen is in "Testing" status, refresh tokens expire after 7 days and you'll re-authorize constantly. Publishing the app stops that.
2. Install
git clone https://github.com/GhOsT0407/youtube-mcp.git
cd youtube-mcp
pip install -e .3. Authorize
Save the downloaded JSON to ~/.youtube-mcp/client_secret.json, then:
youtube-mcp authThat opens a browser once and stores a refresh token at
~/.youtube-mcp/token.json. The server never runs this flow itself — an MCP
tool call has no way to show you a consent screen.
4. Add to your MCP client
Claude Code:
claude mcp add youtube -- youtube-mcpClaude Desktop — in claude_desktop_config.json:
{
"mcpServers": {
"youtube": {
"command": "youtube-mcp"
}
}
}If youtube-mcp isn't on PATH, use the full interpreter path and
["-m", "youtube_mcp"] as args.
Then ask Claude to run auth_status to confirm it's connected.
Tools
Tool | What it does | Quota |
| Confirm credentials, show which channel they control | 1 |
| Upload a file with title, description, tags, privacy, optional schedule | ~1600 |
| Change metadata on an existing video | ~51 |
| Set a private video to go public at a given time | ~51 |
| Set a custom thumbnail | ~50 |
| Recent uploads, newest first — how you find video IDs | ~3 |
| Views, watch time, retention for one video | separate quota |
| Channel-wide totals, or a daily/per-video breakdown | separate quota |
Notes that save debugging time
update_videomerges. The raw API replaces the entire snippet on write, so a partial update silently blanks your description. This reads the current state and merges first — passing onlytitlechanges only the title.Scheduling requires privacy. YouTube only honours
publishAton a private video.schedule_videoandupload_videoset that for you.made_for_kidsis a legal declaration under COPPA, not a preference. Set it to match what the content actually is.Analytics lag 2–3 days. Yesterday's numbers won't be there yet.
Large uploads are slow and synchronous. A long file can outlast an MCP client's tool timeout. Upload big files when you can leave it alone.
Example
Upload
episode-12.mp4as "How I Automate My Channel", tag it automation and youtube, schedule it for next Tuesday 3pm UTC, then show me how episode 11 did over the last 30 days.
Claude chains upload_video → schedule_video → list_my_videos →
video_analytics on its own.
Security
Your client_secret.json and token.json are the keys to your channel. They
live in ~/.youtube-mcp/, and .gitignore excludes them — keep it that way.
Anyone with that token can post as you.
Requirements
Python 3.10+
A Google Cloud project with the two APIs enabled
A YouTube channel on the authorizing account
License
MIT — see LICENSE.
Available Tools
8 toolsauth_statusA
Confirm the stored credentials work and report which channel they control.
Run this first when something is misbehaving. Quota cost: 1 unit.
Inputs: no named parameters.
channel_analyticsA
Channel-wide performance over a date range (YYYY-MM-DD).
Pass dimensions="day" for a time series, or "video" for a per-video breakdown of the period. Figures lag real time by roughly two to three days.
Inputs: end_date (required), start_date (required), metrics, dimensions.
list_my_videosA
List recent uploads on the authorized channel, newest first.
Quota cost: ~3 units. Use this to find the video_id the other tools need.
Inputs: max_results. Returns: result
schedule_videoA
Schedule an existing private video to go public at a given time.
Quota cost: ~51 units. publish_at is ISO 8601, e.g. 2026-09-10T15:00:00Z; a bare timestamp is read as UTC. The video must stay private until then, which this sets for you.
Inputs: video_id (required), publish_at (required).
set_thumbnailA
Set a custom thumbnail. Quota cost: ~50 units.
Needs a verified channel with custom thumbnails enabled. JPEG or PNG, under 2MB, 1280x720 recommended.
Inputs: video_id (required), image_path (required).
update_videoA
Change the metadata on an existing video. Only the fields you pass change.
Quota cost: ~51 units (1 to read the current state, 50 to write).
The underlying API replaces the whole snippet on write, so this reads the
video first and merges - passing only title will not blank the
description the way a raw API call would.
Inputs: video_id (required), tags, title, category_id, +2 more.
upload_videoA
Upload a video file to the authorized channel.
Quota cost: ~1600 units - about six uploads on the default daily allowance.
privacy_status is one of private/unlisted/public. Set publish_at (ISO 8601, e.g. 2026-09-10T15:00:00Z) to schedule a release; YouTube requires a scheduled video to be private until its moment arrives, so publish_at forces privacy_status to private.
made_for_kids is a legal declaration under COPPA, not a preference - set it to match what the content actually is.
Common category_id values: 22 People & Blogs, 27 Education, 28 Science & Technology, 24 Entertainment, 20 Gaming, 10 Music.
Inputs: title (required), file_path (required), tags, publish_at, +4 more.
video_analyticsB
Performance for one video over a date range (YYYY-MM-DD).
Uses the YouTube Analytics API, which has its own quota separate from the Data API. Figures lag real time by roughly two to three days.
Inputs: end_date (required), video_id (required), start_date (required), metrics.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct action: auth status, upload, metadata update, scheduling, thumbnail, list, and analytics. schedule_video is the only possible overlap with update_video, but its dedicated publishing workflow is clearly separated. An agent can reliably select the right tool.
Most tools follow a clear verb_noun pattern: upload_video, update_video, schedule_video, set_thumbnail, list_my_videos. auth_status and the analytics tools use noun-based names, but these are consistent and recognizable as status/analytics operations.
Eight tools cover the core channel management and analytics workflow without bloat. Each tool earns its place, and the count is well-scoped for a YouTube-focused MCP server.
The set covers the essential video lifecycle: upload, list, update metadata, schedule publishing, set thumbnail, and retrieve analytics. Missing delete and single-video fetch are minor gaps given the server's clear focus on publishing and performance.
Maintenance
Related MCP Connectors
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Hosted MCP for YouTube Studio: uploads, metadata, playlists, comments, analytics, captions.
Build, run, schedule, and publish AI video pipelines to YouTube and TikTok from any MCP client.
Your YouTube library, in the AI tools you already use: Claude, ChatGPT, Cursor, any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access and manage YouTube channel data through the YouTube Data API v3 and YouTube Analytics API. Provides tools for reading analytics, fetching video metadata, searching uploads, and updating video SEO directly from Claude.1MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables managing a YouTube channel from Claude by listing, searching, editing, and organizing videos and playlists while retrieving channel, video, and thumbnail insights.MIT
- AlicenseAqualityBmaintenanceEnables MCP clients like Claude or Cursor to upload videos from your local machine directly to YouTube, schedule them, and manage channel content through Runsheet.1150 npmMIT
- AlicenseBqualityBmaintenanceEnables AI agents to control a YouTube channel end-to-end by uploading videos, editing metadata, managing playlists, moderating comments, and reading analytics through MCP tools.20MIT