# YouTube MCP Server A Model Context Protocol (MCP) server for YouTube integration. Retrieve video transcripts, details, and metadata using YouTube's Data API. ## 🚀 Quick Start - Run in 30 Seconds ### 🌐 Using Hosted Service (Recommended for Production) Get instant access to YouTube with our managed infrastructure - **no setup required**: **🔗 [Get Free API Key →](https://www.klavis.ai/home/api-keys)** ```bash pip install klavis # or npm install klavis ``` ```python from klavis import Klavis klavis = Klavis(api_key="your-free-key") server = klavis.mcp_server.create_server_instance("YOUTUBE", "user123") ``` ### 🐳 Using Docker (For Self-Hosting) ```bash # Pull latest image docker pull ghcr.io/klavis-ai/youtube-mcp-server:latest # Run YouTube MCP Server docker run -p 5000:5000 -e API_KEY=$API_KEY \ ghcr.io/klavis-ai/youtube-mcp-server:latest ``` **API Key Setup:** Get your YouTube Data API key from the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) and enable the YouTube Data API v3. ## 🛠️ Available Tools - **Video Transcripts**: Retrieve full video transcripts with timestamps - **Video Details**: Get video metadata including title, description, statistics - **Video Search**: Search for videos by keywords and filters - **Channel Information**: Get channel details and video listings - **Playlist Management**: Access playlist contents and metadata ## 📚 Documentation & Support | Resource | Link | |----------|------| | **📖 Documentation** | [www.klavis.ai/docs](https://www.klavis.ai/docs) | | **💬 Discord** | [Join Community](https://discord.gg/p7TuTEcssn) | | **🐛 Issues** | [GitHub Issues](https://github.com/klavis-ai/klavis/issues) | ## 🤝 Contributing We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING.md) for details. ## 📜 License Apache 2.0 license - see [LICENSE](../../LICENSE) for details. ---
🚀 Supercharge AI Applications