Requires setup of a YouTube Data API v3 key through Google Cloud Console to authenticate and access YouTube data.
Provides tools for retrieving video details, searching videos, getting transcripts, analyzing channels, calculating engagement metrics, and accessing trending content from the YouTube Data API.
YouTube MCP Server
A Model Context Protocol (MCP) server implementation utilizing the YouTube Data API. It allows AI language models to interact with YouTube content through a standardized interface.
Key Features
Video Information
Retrieve detailed video information (title, description, duration, statistics)
Search for videos by keywords
Get related videos based on a specific video
Calculate and analyze video engagement ratios
Transcript/Caption Management
Retrieve video captions with multi-language support
Specify language preferences for transcripts
Access time-stamped captions for precise content reference
Channel Analysis
View detailed channel statistics (subscribers, views, video count)
Get top-performing videos from a channel
Analyze channel growth and engagement metrics
Trend Analysis
View trending videos by region and category
Compare performance metrics across multiple videos
Discover popular content in specific categories
Available Tools
The server provides the following MCP tools:
Tool Name | Description | Required Parameters |
| Get detailed information about multiple YouTube videos including metadata, statistics, and content details |
(array) |
| Search for videos based on a query string |
,
(optional) |
| Retrieve transcripts for multiple videos |
(array),
(optional) |
| Get videos related to a specific video based on YouTube's recommendation algorithm |
,
(optional) |
| Retrieve detailed metrics for multiple channels including subscriber count, view count, and video count |
(array) |
| Get the most viewed videos from a specific channel |
,
(optional) |
| Calculate engagement metrics for multiple videos (views, likes, comments, and engagement ratio) |
(array) |
| Get currently popular videos by region and category |
(optional),
(optional),
(optional) |
| Compare statistics across multiple videos |
(array) |
Installation
Automatic Installation via Smithery
Automatically install YouTube MCP Server for Claude Desktop via Smithery:
Manual Installation
Environment Configuration
Set the following environment variables:
YOUTUBE_API_KEY
: YouTube Data API key (required)YOUTUBE_TRANSCRIPT_LANG
: Default caption language (optional, default: 'ko')
MCP Client Configuration
Add the following to your Claude Desktop configuration file:
YouTube API Setup
Access Google Cloud Console
Create a new project or select an existing one
Enable YouTube Data API v3
Create API credentials (API key)
Use the generated API key in your environment configuration
Development
Network Configuration
The server exposes the following ports for communication:
HTTP: 3000
gRPC: 3001
System Requirements
Node.js 18.0.0 or higher
Security Considerations
Always keep your API key secure and never commit it to version control systems
Manage your API key through environment variables or configuration files
Set usage limits for your API key to prevent unauthorized use
License
This project is licensed under the MIT License. See the LICENSE file for details.
This server cannot be installed
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.
Enables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.
Related MCP Servers
- AsecurityFlicenseAqualityThis 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.Last updated -7107340
- AsecurityFlicenseAqualityEnables interaction with YouTube videos by extracting metadata, captions in multiple languages, and converting content to markdown with various templates.Last updated -122
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to access YouTube data in real-time, with capabilities for searching videos, analyzing channels, retrieving video details, and extracting transcripts.Last updated -4MIT License
- -securityAlicense-qualityEnables AI models like Claude to easily access and utilize subtitle data from YouTube videos by extracting transcripts from video URLs with support for multiple languages.Last updated -1MIT License