youtube-kit
youtube-kit is a YouTube command-line tool (ytk) and MCP server for AI agents and human users, enabling clients such as Claude Code, Codex, Cursor, Claude Desktop, or ChatGPT to operate YouTube channels, including data analysis, subtitle retrieval, video uploads, metadata management, playlists, and comment moderation, with support for multi-channel management. It requires a Google account with an active YouTube channel, as well as a uv environment; the first login requires creating a project in Google Cloud, enabling interfaces such as YouTube Data API v3, and downloading the client JSON, which takes about 5 minutes. All commands output JSON, and on failure, error types are distinguished by exit code; delete operations have two-step confirmation and view count/publish time protection restrictions. The project is licensed under MIT and is not affiliated with Google or YouTube.