YouTube MCP Server
JSON →An MCP server for interacting with YouTube content, enabling AI models to access and manage YouTube data via its API.
Install
pip install uv Tools · 8
- get_videos Search for YouTube videos based on a query string and maximum number of results.
- get_video_info Retrieve detailed information about a specific YouTube video by its ID.
- get_channel_details Get details about a YouTube channel by its channel ID.
- get_video_comments_tool Fetch comments for a specific YouTube video, with an optional maximum number of results.
- get_trending_videos_tool Get trending YouTube videos for a specified region code and maximum number of results.
- get_related_videos_tool Retrieve related videos for a given video ID, with an optional maximum number of results.
- summarize_video Generate a summary of a YouTube video, optionally including comments.
- generate_video_flashcards Generate educational flash cards from video content, with options for maximum cards, categories, and difficulty.
Environment variables
YOUTUBE_API_KEY