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

  • https://github.com/ZubeidHendricks/youtube-mcp-server
  • Design, Media & Creative, Web Search & Research
  • metadata, search, transcripts, video, youtube

Part of MCP Servers

Related MCP servers

  • MCP MD2PDF Server — MCP MD2PDF Server is an MCP server that enables automated conversion of Markdown documents into formatted PDF files with full…
  • MCP Media Processing Server — MCP Media Processing Server is an MCP server that connects AI assistants like Claude Desktop to local media manipulation utilities,…
  • MCP Music Analysis — MCP Music Analysis is an MCP server that enables AI clients like Claude to inspect and process sound recordings using…
  • MCP OCR Server — MCP OCR Server is an MCP server that provides optical character recognition capabilities by connecting language models directly to the…
  • MCP NPX Fetch — MCP NPX Fetch is an MCP server that retrieves online resources and transforms web content into structured formats including HTML,…
  • MCP Naver News — MCP Naver News is an MCP server that connects AI assistants to the Naver News API, enabling automated search and…

What can YouTube MCP do?

YouTube MCP allows AI clients to interact directly with the YouTube platform. It provides tools to search videos, retrieve full timestamped transcripts, examine channel subscriber statistics and recent uploads, inspect playlist contents, and discover creators filtered by audience size. The server also handles fallback logic across multiple YouTube Data API keys if daily quota limits are exceeded.

How do I install YouTube MCP?

You can install the server globally using npm with the command npm install -g zubeid-youtube-mcp-server. Alternatively, you can configure your MCP client to run it directly without prior installation using npx -y zubeid-youtube-mcp-server. You must also supply a valid Google YouTube Data API v3 key as an environment variable in your configuration file.

Which MCP clients work with YouTube MCP?

YouTube MCP works with any Model Context Protocol compliant host client. It provides documented setup instructions for Claude Desktop on macOS and Windows, as well as Visual Studio Code via user settings or workspace configuration files. It can also be installed into Claude Desktop automatically using the Smithery command-line tool.

How does YouTube MCP handle API quota limits?

The server supports quota failover through optional environment variables. By defining secondary and tertiary keys using YOUTUBE_API_KEY2 and YOUTUBE_API_KEY3 alongside your primary YOUTUBE_API_KEY, the server automatically retries requests with the next available key whenever a YouTube Data API quota exhaustion error occurs during operation.

Can YouTube MCP retrieve captions in languages other than English?

Yes. The transcripts_getTranscript tool accepts an optional language parameter containing an ISO language code. You can also specify a global default language using the YOUTUBE_TRANSCRIPT_LANG environment variable. If no language parameter is provided and the environment variable is unset, the server defaults to fetching English transcripts.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories