youtube-mcp
Provides tools for inspecting and managing a creator-owned YouTube channel, including reading video metadata, statistics, analytics (traffic sources, search terms, audience retention), and previewing/applying metadata updates via YouTube Data API v3 and YouTube Analytics API.
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 show my channel's top videos from last month"
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
A safe, local-first Model Context Protocol server for inspecting and managing a creator-owned YouTube channel.
@fullstackcraftllc/youtube-mcp uses Google's official YouTube Data API v3 and YouTube Analytics API. It does not scrape YouTube, download videos, send telemetry, or provide a hosted intermediary.
Features
Inspect your channel and page through its uploads.
Read owned-video metadata and public statistics.
Analyze channel/video performance, traffic sources, YouTube search terms, and audience retention.
Preview exact title, description, tag, and category changes.
Apply only an unexpired reviewed preview after rechecking ownership and remote state.
Maintain separate readonly and manage OAuth authorizations in named local profiles.
Version 0.1 intentionally excludes uploads, deletes, thumbnails, visibility, comments, playlists, monetization, public-channel research, transcripts, and HTTP hosting.
Related MCP server: YouTube MCP Server
Requirements
Node.js 22 or newer.
A creator-owned YouTube channel.
Your own Google Cloud project and Desktop OAuth client.
Follow Google Cloud setup before logging in. Never commit the downloaded OAuth client JSON.
Authorize a profile
Readonly analytics:
npx -y @fullstackcraftllc/youtube-mcp@0.1.0 auth login \
--profile vannacharm \
--mode readonly \
--client-secrets /absolute/path/to/client_secret.jsonMetadata management uses a separate token and explicit extra permission:
npx -y @fullstackcraftllc/youtube-mcp@0.1.0 auth login \
--profile vannacharm \
--mode manage \
--client-secrets /absolute/path/to/client_secret.jsonIf Google exposes multiple channels, repeat the command with --channel-id <id> after the CLI prints the valid choices.
Check configuration without exposing credentials:
npx -y @fullstackcraftllc/youtube-mcp@0.1.0 auth status --profile vannacharm --mode readonly
npx -y @fullstackcraftllc/youtube-mcp@0.1.0 doctor --profile vannacharm --mode readonlyMCP client configuration
Codex, readonly:
codex mcp add youtube \
-- npx -y @fullstackcraftllc/youtube-mcp@0.1.0 serve --profile vannacharm --mode readonlyCodex, manage mode as a separately named server:
codex mcp add youtube-manage \
-- npx -y @fullstackcraftllc/youtube-mcp@0.1.0 serve --profile vannacharm --mode manageClaude Desktop:
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": [
"-y",
"@fullstackcraftllc/youtube-mcp@0.1.0",
"serve",
"--profile",
"vannacharm",
"--mode",
"readonly"
]
}
}
}The server starts even if authorization is missing so the client can call youtube_get_auth_status. Other tools return AUTH_REQUIRED until the selected profile and mode are authorized.
Safe metadata updates
There is no direct update tool. The workflow is:
Call
youtube_preview_video_updatewith one or more proposed fields.Review the complete before/after diff, video ID, channel ID, expiry, and hash.
Call
youtube_apply_video_updatewith the preview ID, hash, and exact video ID.
Apply re-fetches current metadata and fails if anything changed since preview. YouTube receives a complete writable snippet so omitted fields are preserved. A preview expires after ten minutes and is consumed after one apply attempt.
See the complete tool reference, privacy and deletion behavior, and threat model.
Other CLI commands
youtube-mcp profiles list
youtube-mcp auth revoke --profile vannacharm --mode readonly
youtube-mcp auth revoke --profile vannacharm --mode manage
youtube-mcp --help
youtube-mcp --versionLocal development
git clone https://github.com/FullStackCraft/youtube-mcp.git
cd youtube-mcp
npm install
npm run release:checkRun locally from an MCP client with:
node /absolute/path/to/youtube-mcp/dist/index.js serve --profile vannacharm --mode readonlyCompliance and affiliation
Use of this software is subject to the YouTube Terms of Service, YouTube API Services Terms of Service, and Google Privacy Policy.
YouTube and Google are trademarks of Google LLC. This independent project is not affiliated with, sponsored by, or endorsed by YouTube or Google.
License
MIT © Full Stack Craft LLC.
Available Tools
10 toolsyoutube_get_auth_statusGet YouTube authorization statusARead-onlyIdempotent
Inspect the selected local profile and authorization mode without exposing credentials.
Inputs: no named parameters. Returns: ok, data, meta, error
youtube_get_channel_analyticsGet channel analyticsBRead-onlyIdempotent
Return fixed non-monetary YouTube Analytics metrics for the selected channel.
Inputs: endDate (required), startDate (required). Returns: ok, data, meta, error
youtube_get_my_channelGet my YouTube channelARead-onlyIdempotent
Return metadata and statistics for the channel bound to the selected profile.
Inputs: no named parameters. Returns: ok, data, meta, error
youtube_get_videoGet one of my YouTube videosARead-onlyIdempotent
Return metadata and statistics for an owned video; non-owned videos are rejected.
Inputs: videoId (required). Returns: ok, data, meta, error
youtube_get_video_analyticsGet video analyticsARead-onlyIdempotent
Return fixed non-monetary analytics metrics for an owned video.
Inputs: endDate (required), videoId (required), startDate (required). Returns: ok, data, meta, error
youtube_get_video_retentionGet video audience retentionCRead-onlyIdempotent
Return normalized audience-retention points for an owned video.
Inputs: endDate (required), videoId (required), startDate (required). Returns: ok, data, meta, error
youtube_get_video_search_termsGet video YouTube search termsCRead-onlyIdempotent
Return YouTube search terms that led to an owned video.
Inputs: endDate (required), videoId (required), startDate (required), limit. Returns: ok, data, meta, error
youtube_get_video_traffic_sourcesGet video traffic sourcesBRead-onlyIdempotent
Return YouTube traffic-source types for an owned video, sorted by views.
Inputs: endDate (required), videoId (required), startDate (required). Returns: ok, data, meta, error
youtube_list_my_videosList my YouTube videosARead-onlyIdempotent
Page through videos in the selected channel's uploads playlist.
Inputs: pageSize, pageToken. Returns: ok, data, meta, error
youtube_list_video_categoriesList YouTube video categoriesARead-onlyIdempotent
List assignable and non-assignable categories for a region.
Inputs: regionCode. Returns: ok, data, meta, error
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct aspect of YouTube data: auth status, channel info, channel analytics, video info, video analytics, retention, search terms, traffic sources, video listing, and categories. No overlap in functionality.
All tools follow a consistent pattern of 'youtube_get_' or 'youtube_list_', with clear verb_noun structure. The naming is uniform and predictable.
10 tools is a well-scoped set for a YouTube analytics and data retrieval server. It covers essential read operations without being overwhelming.
The toolset comprehensively covers retrieval of channel and video data, analytics, and categories. While it lacks write operations and general video search, the focus on owned-content analytics is well-served, with only minor gaps like missing video comments or playlist management.
Maintenance
Related MCP Connectors
Unofficial YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
Hosted YouTube MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Hosted MCP for YouTube Studio: uploads, metadata, playlists, comments, analytics, captions.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for YouTube creator-ops — video metadata, comments, playlists, channel analytics, plus a ComfyUI bridge for AI thumbnail generation.1570 npm1MIT
- AlicenseAqualityBmaintenanceA comprehensive MCP server integrating YouTube Data, Analytics, and Reporting APIs, providing 40 tools for channel management, analytics, video publishing, transcripts, SEO, and comments.4034MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server that connects Claude to your YouTube channel, enabling video analysis, performance tracking, comment reading, and niche suggestions.ISC
- AlicenseNot gradedqualityCmaintenanceA local, privacy-first MCP server providing direct access to official YouTube Data, Analytics, Reporting, and Live Streaming APIs for creators, enabling channel analysis, research, and guarded management operations.4MIT