Enables AI language models to interact with YouTube content, including getting video details, retrieving transcripts, managing channels, searching videos, and accessing playlist information
YouTube MCP Server
A Model Context Protocol (MCP) server implementation for YouTube, enabling AI language models to interact with YouTube content through a standardized interface.
Features
Video Information
Get video details (title, description, duration, etc.)
List channel videos
Get video statistics (views, likes, comments)
Search videos across YouTube
Transcript Management
Retrieve video transcripts
Support for multiple languages
Get timestamped captions
Search within transcripts
Channel Management
Get channel details
List channel playlists
Get channel statistics
Search within channel content
Playlist Management
List playlist items
Get playlist details
Search within playlists
Get playlist video transcripts
Installation
Installing via Smithery
To install YouTube MCP Server for Claude Desktop automatically via Smithery:
Manual Installation
Configuration
Set the following environment variables:
YOUTUBE_API_KEY
: Your YouTube Data API keyYOUTUBE_TRANSCRIPT_LANG
: Default language for transcripts (optional, defaults to 'en')
Using with MCP Client
Add this to your MCP client configuration (e.g. Claude Desktop):
Using with VS Code
For one-click installation, click one of the install buttons below:
Manual Installation
If you prefer manual installation, first check the install buttons at the top of this section. Otherwise, follow these steps:
Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P
and typing Preferences: Open User Settings (JSON)
.
Optionally, you can add it to a file called .vscode/mcp.json
in your workspace:
YouTube API Setup
Go to Google Cloud Console
Create a new project or select an existing one
Enable the YouTube Data API v3
Create API credentials (API key)
Copy the API key for configuration
Examples
Managing Videos
Managing Channels
Managing Playlists
Development
Contributing
See CONTRIBUTING.md for information about contributing to this repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
This server allows AI language models to interact with YouTube content through a standardized interface, providing features such as video and channel information retrieval, transcript management, and playlist operations.
- Features
- Installation
- Configuration
- Using with MCP Client
- YouTube API Setup
- Examples
- Development
- Contributing
- License
Related Resources
Related MCP Servers
- -securityFlicense-qualityA server for downloading, processing, and managing YouTube content with features like video quality selection, format conversion, and metadata extraction.Last updated -
- -securityFlicense-qualityEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.Last updated -55448
- AsecurityFlicenseAqualityA server that enables interaction with YouTube data through the Model Context Protocol, allowing users to search videos, retrieve detailed information about videos/channels, and fetch comments.Last updated -1226
- AsecurityFlicenseAqualityAn MCP server that provides AI assistants with powerful tools to interact with YouTube, including video searching, transcript extraction, comment retrieval, and more.Last updated -818