Skip to main content
Glama

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_categories

  • Transcripts: 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

  1. 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.

  2. Sign in (opens your browser):

    uv run --directory /path/to/youtube-plugin youtube-plugin login --client-secret ~/Downloads/client_secret_XXX.json

    Secrets are stored in ~/.config/youtube-plugin/ (mode 600), never in this repo.

  3. 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: search costs 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 tools
delete_videoA
Destructive

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_captionA
Read-only

Download a caption track from one of YOUR videos (id from list_captions). 200 units.

Inputs: caption_id (required), format. Returns: result

get_channelB
Read-only

A channel's profile, stats and settings. Empty = your own channel.

Inputs: channel. Returns: object

get_processing_statusB
Read-only

Upload/processing progress of one of your videos.

Inputs: video (required). Returns: object

get_transcriptA
Read-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_videosA
Read-only

Details, status and stats for up to 50 videos (IDs or URLs).

Inputs: videos (required). Returns: result

list_captionsC
Read-only

Caption tracks on one of YOUR videos (official API).

Inputs: video (required). Returns: result

list_channel_videosA
Read-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_commentsD
Read-only

Top-level comments on a video.

Inputs: video (required), order, page_token, max_results. Returns: object

list_playlist_itemsC
Read-only

Videos in a playlist, in playlist order.

Inputs: playlist_id (required), page_token, max_results. Returns: object

list_playlistsC
Read-only

A channel's playlists. Empty = yours.

Inputs: channel, page_token, max_results. Returns: object

list_transcript_languagesC
Read-only

Which transcript languages a video has.

Inputs: video (required). Returns: result

list_video_categoriesC
Read-only

Category IDs you can assign to videos (e.g. 22 People & Blogs, 27 Education, 28 Science & Technology).

Inputs: region. Returns: result

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

    B3/5.0

    Scored across 19 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count4/5

    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.

    Completeness3/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      2
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage YouTube channels directly, including video publishing, SEO optimization, playlist curation, community interaction, and traffic analytics, all through local OAuth.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to read transcripts of any public video, research channels, analyze performance, read comments, and manage multiple owned channels.
      16
      58 npm
      2
      MIT