YouTube MCP Server
by coyaSONG
A Model Context Protocol (MCP) server for interacting with YouTube data. This server provides resources and tools to query YouTube videos, channels, comments, and transcripts through a stdio interface.
Last updated: N/A
What is YouTube MCP Server?
The YouTube MCP Server is a Model Context Protocol server designed to facilitate interaction with YouTube data. It provides a structured interface for querying and analyzing various aspects of YouTube content, including videos, channels, comments, and transcripts.
How to use YouTube MCP Server?
The server can be installed manually or via Smithery. After installation, configure the YouTube API key in a .env
file. The server can then be started using npm start
or deployed using Docker. The API Reference section details the available resources and tools, which can be accessed using the specified URLs and tool names with appropriate parameters.
Key features of YouTube MCP Server
Search for YouTube videos with advanced filtering options
Get detailed information about specific videos and channels
Compare statistics across multiple videos
Discover trending videos by region and category
Analyze channel performance and video statistics
Retrieve video comments and transcripts/captions
Generate video analysis and transcript summaries
Use cases of YouTube MCP Server
Analyzing YouTube video trends
Retrieving and summarizing video transcripts
Comparing the performance of multiple YouTube videos
Extracting comments for sentiment analysis
Gathering channel statistics for competitive analysis
FAQ from YouTube MCP Server
What is a YouTube Data API key and how do I get one?
What is a YouTube Data API key and how do I get one?
A YouTube Data API key is required to access the YouTube Data API. You can obtain one by creating a project in the Google Cloud Console and enabling the YouTube Data API v3.
How do I handle errors such as 'Invalid API key'?
How do I handle errors such as 'Invalid API key'?
Ensure your YouTube API key is correctly set in the .env
file and that it is valid.
Can I use this server to download YouTube videos?
Can I use this server to download YouTube videos?
No, this server is designed for querying and analyzing YouTube data, not for downloading videos.
What languages are supported for transcript retrieval?
What languages are supported for transcript retrieval?
The server supports retrieving transcripts in various languages. You can specify the desired language using the language
query parameter (e.g., youtube://transcript/dQw4w9WgXcQ?language=en
).
How can I contribute to this project?
How can I contribute to this project?
Contributions are welcome! Please submit pull requests with bug fixes, new features, or improvements to the documentation.