Skip to main content
Glama
README.md
# youtube plugin

A small, self-hosted [MCP](https://modelcontextprotocol.io) 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](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`

## 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):
   ```sh
   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:
   ```sh
   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](https://support.google.com/youtube/contact/yt_api_form).
- 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

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