YouTube MCP

The YouTube MCP server acts as a friendly bridge between AI assistants and the world's largest video platform. In simple terms, it allows an AI to "see" what is happening on YouTube by searching for videos, checking channel stats, and even reading through video transcripts. This means instead of a user having to watch a long tutorial to find a specific answer, they can ask an AI assistant to find the exact moment in the video where a topic is discussed. Beyond basic searches, this tool offers a deep set of technical capabilities by tapping into the YouTube Data API v3. It can retrieve comprehensive metadata, including video descriptions, durations, and engagement statistics like likes and view counts. It also features robust transcript management, allowing AI models to pull timestamped captions in multiple languages. This enables high-level functions like searching for specific keywords within a playlist or summarizing the entire content library of a specific channel. For developers and power users, this MCP server is particularly valuable because it standardizes how Large Language Models (LLMs) interact with video data. By providing a structured interface for Claude Desktop or VS Code, it turns YouTube into a searchable database that an AI can query dynamically. Whether it’s for building automated content research workflows or creating AI agents that can manage video libraries through natural language, this server provides the necessary infrastructure to make YouTube content fully accessible to AI-driven applications.

Category: Design, Media & Creative

Tags: metadata, search, transcripts, video, youtube

Visit YouTube MCP

How to install and configure YouTube MCP

1. Installation You can install the YouTube MCP server using several methods: Global NPM Install: bash npm install -g zubeid-youtube-mcp-server Using Smithery (Automatic for Claude Desktop): bash npx -y @smithery/cli install @ZubeidHendricks/youtube --client claude Using NPX (No installation required): You can run the server directly via NPX by referencing it in your configuration file. ---

2. Configuration

For Claude Desktop Add the following to your configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows): Standard Installation: json { "mcpServers": { "zubeid-youtube-mcp-server": { "command": "zubeid-youtube-mcp-server", "env": { "YOUTUBE_API_KEY": "your_youtube_api_key_here" } } } } Using NPX: json { "mcpServers": { "youtube": { "command": "npx", "args": ["-y", "zubeid-youtube-mcp-server"], "env": { "YOUTUBE_API_KEY": "your_youtube_api_key_here" } } } }

For VS Code (Manual Configuration) Add this block to your User Settings (JSON) or .vscode/mcp.json: json { "mcp": { "inputs": [ { "type": "promptString", "id": "apiKey", "description": "YouTube API Key", "password": true } ], "servers": { "youtube": { "command": "npx", "args": ["-y", "zubeid-youtube-mcp-server"], "env": { "YOUTUBE_API_KEY": "${input:apiKey}" } } } } }

Environment Variables * YOUTUBE_API_KEY: Your YouTube Data API key (Required). * YOUTUBE_TRANSCRIPT_LANG: Default language for transcripts (Optional, defaults to 'en'). ---

3. Available Tools The server provides tools categorized by their interaction with the YouTube API: Video Management * videos.getVideo: Get video details (title, description, duration, stats). * videos.searchVideos: Search for videos across YouTube. * Parameters: query, maxResults Transcript Management * transcripts.getTranscript: Retrieve video transcripts with timestamp support. * Parameters: videoId, language Channel Management * channels.getChannel: Get channel details and statistics. * Parameters: channelId * channels.listVideos: List all videos from a specific channel. * Parameters: channelId, maxResults Playlist Management * playlists.getPlaylist: Get details of a specific playlist. * playlists.getPlaylistItems: List all videos within a playlist. * Parameters: playlistId, maxResults ---

4. Example Usage The following logic demonstrates how an AI model or client interacts with these tools: * Fetching Transcripts: "Get the English transcript for video ID video-id." * Searching Content: "Search for the top 10 videos about 'Model Context Protocol'." * Channel Analysis: "List the latest 50 videos from channel channel-id and provide their statistics." * Playlist Retrieval: "Get all items currently in the playlist playlist-id." YouTube API Setup Requirement: To use this server, you must have a Google Cloud Project with the YouTube Data API v3 enabled and an active API Key.

What you can do with YouTube MCP

Use Case 1: Automated Video Summarization and Blog Repurposing Problem: Content creators and researchers often spend hours watching long-form videos (like webinars, podcasts, or tutorials) to extract key information or to manually draft blog posts based on the video content. Solution: This MCP allows an AI to directly pull the full transcript and metadata of a video. The AI can then process this text to create structured summaries, identify key talking points, and draft a formatted blog post or newsletter in seconds. Example: A user provides a URL for a 60-minute technical keynote. The AI uses youtube.transcripts.getTranscript to fetch the text and youtube.videos.getVideo for the description, then generates a "Top 5 Takeaways" summary with timestamps for the user.

Use Case 2: Competitive Channel Research and Trend Analysis Problem: Marketing teams and YouTubers need to track competitors to see which topics are performing best, but manually checking every video's views and engagement is tedious and error-prone. Solution: Using the Channel Management and Search features, an AI can programmatically retrieve the statistics of the last 50 videos from a specific channel or a specific niche. It can then identify outliers (videos with unusually high views

likes) to spot emerging trends. Example: A user asks, "Analyze the last 20 videos from the 'TechReviews' channel. Which ones had the highest view-to-subscriber ratio, and what were their primary keywords?" The AI uses youtube.channels.listVideos and youtube.videos.getVideo to compile a performance report.

Use Case 3: Deep Search Within Educational Playlists Problem: Students or developers following a long course (a playlist with 50+ videos) often struggle to find a specific mention of a niche topic or technical term without re-watching hours of footage. Solution: This MCP enables "searching within playlists." The AI can iterate through every video in a specific playlist, pull their transcripts, and search for specific keywords or concepts, providing the user with exact links and timestamps. Example: A user asks, "Where in the 'Advanced Python' playlist does the instructor explain 'decorators'?" The AI uses youtube.playlists.getPlaylistItems to get the list of videos and searches their transcripts to return: "In Video #4, starting at 12:45, the instructor provides a deep dive into decorators."

Use Case 4: Multi-Language Content Localization Problem: Global brands or educators want to reach wider audiences by identifying which of their videos have been translated and ensuring their messaging remains consistent across different languages. Solution: The Transcript Management feature supports multiple…

Key facts

  • Design, Media & Creative, Web Search & Research
  • metadata, search, transcripts, video, youtube

Part of MCP Servers

Related MCP servers

  • MCP MD2PDF Server — Convert Markdown documents to PDF with support for Mermaid diagrams.
  • MCP Media Processing Server — A server for media processing, offering powerful video and image manipulation using FFmpeg and ImageMagick.
  • MCP Music Analysis — Analyze audio from local files, YouTube, or direct links using librosa.
  • MCP OCR Server — An MCP server for Optical Character Recognition (OCR) using the Tesseract engine.
  • MCP NPX Fetch — Fetch and transform web content into various formats like HTML, JSON, Markdown, or Plain Text.
  • MCP Naver News — Search for news articles using the Naver News API. Requires Naver News API credentials.
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories