Youtube Kit logo

Youtube Kit

by eukosh

Connect AI agents to YouTube for channel analytics, uploads, metadata, captions, playlists, search, and comment moderation.

Install Youtube Kit

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "eukosh-youtube-kit": {
      "command": "uvx",
      "args": [
        "youtube-kit"
      ],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_VALUE_HERE",
        "YOUTUBE_CLIENT_SECRETS": "YOUR_VALUE_HERE",
        "YOUTUBE_TOKEN_DIR": "YOUR_VALUE_HERE",
        "YOUTUBE_CHANNEL": "YOUR_VALUE_HERE",
        "YOUTUBE_CONFIG_FILE": "YOUR_VALUE_HERE",
        "YTK_NO_UPDATE_CHECK": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

eukosh/youtube-kit MCP server exposes YouTube operations through MCP tools and the `ytk` command-line interface. It supports public searches and channel data, plus authenticated management of videos, captions, playlists, comments, subscriptions, and analytics. Run it over stdio with `uvx youtube-kit mcp`, using Google OAuth for channel actions or an API key for public data. Reach for it when an agent needs to inspect or operate one or more YouTube channels.

Use cases

  • Compare channel performance across videos, dates, countries, or traffic sources
  • Upload videos and update metadata from an agent workflow
  • Review held or likely-spam comments and moderate them
  • Retrieve video transcripts and caption tracks
  • Organize videos into playlists across multiple channels

Key features

  • YouTube analytics and audience-retention queries
  • Resumable video uploads and metadata management
  • Caption and transcript operations
  • Comment moderation and replies
  • Playlist and channel management
  • Public YouTube search

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 33d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · youtube-kit (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
Last commit8d agoMost recent push to the default branch.

How Youtube Kit works

What eukosh/youtube-kit does

eukosh/youtube-kit connects MCP clients and terminal workflows to YouTube. Its tools cover both public-data tasks and authenticated channel management, including analytics, video uploads and metadata, captions, playlists, comments, subscriptions, and channel settings.

Public searches can find videos, channels, and playlists, with filters for channel or date. Agents can also retrieve public channel information, video details, comments, playlists, and caption tracks. Authenticated access adds channel-specific operations such as reporting metrics, uploading videos, moderating comments, changing metadata, and managing playlists.

Analytics can be requested as totals or broken down by dimensions such as day, month, video, country, device, operating system, traffic source, playback location, audience demographics, subscription status, content type, and sharing service. Video retention, thumbnail impressions, and click-through rate are also supported.

How it works

The package provides the ytk CLI and an MCP entry point. Start the MCP server with uvx youtube-kit mcp; MCP clients receive tools corresponding to the CLI's YouTube operations. Commands and tools return JSON, and command failures use exit codes with error details on stderr.

Authentication is handled through Google. Run ytk auth login to configure a channel, then repeat the process for additional channels, including brand channels. A default channel can be selected, while individual CLI commands or MCP calls can target another channel using its channel ID, handle, or exact title. The YOUTUBE_CHANNEL variable can set the default for a shell or MCP server.

The server can use a Google API key for public data. OAuth login is needed for channel-management operations and authenticated analytics. The setup guide is available through ytk auth guide or the MCP setup_guide tool.

Setup and configuration

Install the CLI with:

sh
uv tool install youtube-kit
ytk auth login

The guided login walks through creating or configuring a Google Cloud project, enabling the YouTube Data API v3, YouTube Analytics API, and YouTube Reporting API, and downloading an OAuth desktop client file. An existing client file can be supplied with ytk auth login --client-secrets path/to/client_secret.json.

For public-data access without OAuth, set YOUTUBE_API_KEY in the environment or in the MCP client's server configuration. Other configuration variables can select the OAuth client-secrets file, token directory, default channel, configuration file, and update-check behavior: YOUTUBE_CLIENT_SECRETS, YOUTUBE_TOKEN_DIR, YOUTUBE_CHANNEL, YOUTUBE_CONFIG_FILE, and YTK_NO_UPDATE_CHECK.

An MCP client can use this stdio configuration:

config.json
{
  "mcpServers": {
    "youtube": { "command": "uvx", "args": ["youtube-kit", "mcp"] }
  }
}

Stored credentials and configuration reside in the platform's user configuration directory. ytk auth status reports the exact paths. Restart the MCP client after changing its server configuration.

Tools and capabilities

  • Query channel, video, playlist, comment, and subscription data.
  • Search YouTube videos, channels, and playlists by channel or date.
  • Retrieve analytics, audience retention, impressions, and click-through rates.
  • Upload videos with resumable transfers and progress reporting.
  • Update video metadata, thumbnails, ratings, processing status, and deletion.
  • Read, upload, replace, hide, and delete captions, including optional translation.
  • List, post, reply to, edit, delete, approve, hold, reject, and moderate comments.
  • Create and maintain playlists, including images, items, ordering, and deletion.
  • Inspect or update supported channel information, banners, watermarks, and home-page sections.

Limitations and notes

The package does not cover localizations, live streaming, or channel memberships. Google Cloud setup and OAuth consent may require browser-based steps. A Google account with a YouTube channel is needed for authenticated channel work. The same installation can serve multiple logged-in channels, with one selected as the default.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Youtube Kit

eukosh/youtube-kit is an MCP server that connects AI agents to YouTube through tools for search, channel data, analytics, video uploads, metadata, captions, playlists, subscriptions, and comment moderation. It uses Google authentication for channel operations and can use an API key for public YouTube data.

Install it with `uv tool install youtube-kit`, authenticate with `ytk auth login`, and configure the client to run `uvx youtube-kit mcp`. The guided login helps configure the required Google Cloud APIs and OAuth desktop client.

Add a stdio MCP entry that runs `uvx youtube-kit mcp` to Claude Desktop's MCP server configuration. Authenticate first with `ytk auth login`, then restart Claude Desktop so it loads the server and its YouTube tools.

Yes, eukosh/youtube-kit works with Cursor through its JSON MCP configuration or the provided skill installation command. Use `uvx youtube-kit mcp` for the server and complete `ytk auth login` before requesting authenticated channel operations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYoutube Kit AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/eukosh-youtube-kit?style=directory)](https://allmcps.com/mcp/eukosh-youtube-kit)
HTML Embed
<a href="https://allmcps.com/mcp/eukosh-youtube-kit"><img src="https://allmcps.com/api/badge/eukosh-youtube-kit?style=directory" alt="Youtube Kit on AllMCPs" /></a>