youtube-plugin
Provides tools to search and read YouTube videos, channels, playlists, comments, and categories; fetch transcripts and captions; and manage the authenticated user's uploads and channel settings, including upload, update, thumbnail, processing status, deletion, channel update, and banner.
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-plugin get the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ"
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 plugin
A small, self-hosted MCP server that lets an AI assistant read YouTube, fetch transcripts, and manage your own uploads and channel settings. Runs locally; talks only to Google and youtube.com. See PRIVACY.md.
Tools
Read:
search,get_videos,get_channel,list_channel_videos,list_playlists,list_playlist_items,list_comments,list_video_categoriesTranscripts:
get_transcript,list_transcript_languages(any public video, no quota),list_captions,download_caption(your videos)Videos:
upload_video(private by default),update_video,set_thumbnail,get_processing_status,delete_video(requires explicit confirm)Channel:
update_channel,set_channel_banner
Related MCP server: YouTube MCP Server
Setup
In Google Cloud: create a project, enable YouTube Data API v3, configure the OAuth consent screen (External, published), and create a Desktop app OAuth client. Download its JSON.
Sign in (opens your browser):
uv run --directory /path/to/youtube-plugin youtube-plugin login --client-secret ~/Downloads/client_secret_XXX.jsonSecrets are stored in
~/.config/youtube-plugin/(mode 600), never in this repo.Add to Claude Code:
claude mcp add --scope user youtube-plugin -- uv run --directory /path/to/youtube-plugin youtube-plugin
Notes
Daily quota is 10,000 units:
searchcosts 100, an upload about 1,600, most reads 1.Videos uploaded from an unaudited API project are locked private until Google approves a YouTube API audit.
Transcripts of other people's videos are read from youtube.com's player data (there is no official API for this), so YouTube changes can break it.
License
MIT
Available Tools
19 toolsdelete_videoADestructive
Permanently delete one of your videos. Without confirm, nothing is deleted and the target is described. Show that to the user; after they approve, call again with confirm=.
Inputs: video (required), confirm. Returns: object
download_captionARead-only
Download a caption track from one of YOUR videos (id from list_captions). 200 units.
Inputs: caption_id (required), format. Returns: result
get_channelBRead-only
A channel's profile, stats and settings. Empty = your own channel.
Inputs: channel. Returns: object
get_processing_statusBRead-only
Upload/processing progress of one of your videos.
Inputs: video (required). Returns: object
get_transcriptARead-only
Transcript of any public video (manual or auto-generated captions). Uses no API quota.
languages: preferred language codes in order, e.g. ["en", "es"]. timestamps=True returns timed segments.
Inputs: video (required), languages, timestamps. Returns: object
get_videosARead-only
Details, status and stats for up to 50 videos (IDs or URLs).
Inputs: videos (required). Returns: result
list_captionsCRead-only
Caption tracks on one of YOUR videos (official API).
Inputs: video (required). Returns: result
list_channel_videosARead-only
A channel's uploads, newest first, with details. Empty channel = yours (includes private/unlisted). ~2 units.
Inputs: channel, page_token, max_results. Returns: object
list_commentsDRead-only
Top-level comments on a video.
Inputs: video (required), order, page_token, max_results. Returns: object
list_playlist_itemsCRead-only
Videos in a playlist, in playlist order.
Inputs: playlist_id (required), page_token, max_results. Returns: object
list_playlistsCRead-only
A channel's playlists. Empty = yours.
Inputs: channel, page_token, max_results. Returns: object
list_transcript_languagesCRead-only
Which transcript languages a video has.
Inputs: video (required). Returns: result
list_video_categoriesCRead-only
Category IDs you can assign to videos (e.g. 22 People & Blogs, 27 Education, 28 Science & Technology).
Inputs: region. Returns: result
searchARead-only
Search YouTube. Costs 100 quota units per call, so prefer the list tools when you know the channel.
Inputs: query (required), type, order, channel, +2 more. Returns: object
set_channel_bannerB
Set your channel banner (JPG/PNG, at least 2048x1152, max 6 MB; 2560x1440 recommended).
Inputs: image_path (required). Returns: object
set_thumbnailA
Set a custom thumbnail (JPG/PNG, max 2 MB, 1280x720 recommended). Needs a verified channel.
Inputs: video (required), image_path (required). Returns: object
update_channelA
Change your channel's general settings. Only the fields you pass change. keywords: space-separated; wrap multi-word ones in double quotes. country: ISO code like US. unsubscribed_trailer: video ID/URL shown to non-subscribers.
Inputs: country, keywords, description, default_language, +1 more. Returns: object
update_videoA
Change a video's details. Only the fields you pass change; everything else is kept.
Inputs: video (required), tags, title, privacy, +6 more. Returns: object
upload_videoA
Upload a local video file. Defaults to private. publish_at (ISO 8601, e.g. 2026-12-05T15:00:00Z) schedules it and requires privacy='private'. ~1,600 quota units.
Inputs: title (required), file_path (required), tags, privacy, +5 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools target clearly distinct resources and actions, with descriptions that clarify overlaps like get_videos vs. list_channel_videos and transcript vs. caption tools. A few pairs are close enough to require careful reading, but there are no truly indistinguishable tools.
The set mostly follows a verb_noun pattern with consistent prefixes: get_, list_, update_, set_, delete_, upload_, and download_. The main deviation is the bare 'search' tool, which lacks a noun but remains understandable.
Nineteen tools is slightly on the heavy side but appropriate for a YouTube plugin covering videos, channels, playlists, comments, captions, transcripts, and uploads. Each tool appears to serve a distinct purpose, so the count is justified rather than bloated.
Core video and channel lifecycle operations are covered, including upload, update, delete, thumbnail, and banner management. However, notable gaps exist in playlist write operations (create/update/delete playlists, add/remove items) and comment interaction (posting/replies), which limits full content-management workflows.
Maintenance
Related MCP Connectors
Search YouTube videos, read transcripts and get public video information in your AI assistant.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
YouTube for AI agents: transcripts, comments, video stats, channel monitor, Shorts captions.
Fetch YouTube transcripts, monitor channels and track keyword matches from your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search videos, read channels, browse playlists, fetch comments, and get transcripts from YouTube using the YouTube Data API v3 and InnerTube API for captions.2GPL 3.0
- AlicenseBqualityNot gradedmaintenanceProvides comprehensive access to YouTube Data, Analytics, and Reporting APIs, enabling AI assistants to manage videos, analyze performance, handle comments, and extract transcripts.40MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage YouTube channels directly, including video publishing, SEO optimization, playlist curation, community interaction, and traffic analytics, all through local OAuth.2MIT
- AlicenseAqualityBmaintenanceEnables AI agents to read transcripts of any public video, research channels, analyze performance, read comments, and manage multiple owned channels.1658 npm2MIT