MCP server for YouTube video search and metadata
## YouTube MCP Server: Video Platform Integration The **YouTube MCP Server** integrates the world's largest video platform directly into Google Antigravity, enabling AI assistants to search videos, manage channels, and access video content programmatically. This comprehensive integration brings YouTube's vast ecosystem to your development workflow for video-powered applications. ### Why YouTube MCP? - **Massive Library**: Access billions of videos across every imaginable topic and category - **Channel Management**: Upload, update, and manage video content for YouTube channels - **Analytics Access**: Retrieve detailed performance metrics and audience insights - **Playlist Operations**: Create and manage playlists for content organization - **Live Streaming**: Manage live broadcasts and interact with live chat ### Key Features #### 1. Video Search ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Search for the most popular programming tutorials uploaded this month" }], tools=[{ "name": "youtube_search", "description": "Search YouTube videos" }] ) ``` #### 2. Video Upload ```python # Upload videos to channel response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Upload this tutorial video with optimized title, description, and tags for SEO" }], tools=[{"name": "youtube_upload", "description": "Upload videos"}] ) ``` #### 3. Analytics Retrieval ```python # Get channel analytics response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show me our channel analytics for the past 30 days including views and watch time" }], tools=[{"name": "youtube_analytics", "description": "Access video analytics"}] ) ``` #### 4. Playlist Management ```python # Manage playlists response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create a new playlist for our React tutorial series and add the relevant videos" }], tools=[{"name": "youtube_playlists", "description": "Manage playlists"}] ) ``` ### Configuration ```json { "mcpServers": { "youtube": { "command": "npx", "args": ["-y", "@anthropic/mcp-youtube"], "env": { "YOUTUBE_API_KEY": "your-youtube-api-key", "YOUTUBE_OAUTH_TOKEN": "your-oauth-token" } } } } ``` ### Use Cases **Content Creation**: Automate video uploads, metadata optimization, and playlist management for YouTube channels. **Research Applications**: Search and analyze video content for research, training data, or content curation. **Marketing Integration**: Track video performance and integrate YouTube analytics with marketing dashboards. **Educational Platforms**: Curate and embed YouTube educational content in learning management systems. The YouTube MCP Server brings the world's largest video platform directly into your development workflow, enabling comprehensive video integration.
{
"mcpServers": {
"youtube": {
"mcpServers": {
"youtube": {
"env": {
"YOUTUBE_API_KEY": "YOUR_API_KEY"
},
"args": [
"-y",
"zubeid-youtube-mcp-server"
],
"command": "npx"
}
}
}
}
}