YouTube MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Model Context Protocol (MCP) server implementation for YouTube, enabling AI language models to interact with YouTube content through a standardized interface.
**Website:** zubeidhendricks.github.io/youtube-mcp-server
Available Tools
The server currently exposes 10 MCP tools.
| Tool | Description | Required Parameters | Optional Parameters |
|------|-------------|---------------------|---------------------|
| videos_getVideo | Get detailed information about a YouTube video | videoId | parts |
| videos_searchVideos | Search for videos on YouTube | query | maxResults, order, publishedAfter, publishedBefore, channelId, uniqueChannels, channelMinSubscribers, channelMaxSubscribers, channelLastUploadAfter, channelLastUploadBefore, creatorOnly, sortBy |
| transcripts_getTranscript | Get the transcript of a YouTube video | videoId | language |
| channels_getChannel | Get information about a YouTube channel | channelId | None |
| channels_getChannels | Get information about multiple YouTube channels | channelIds | parts, includeLatestUpload |
| channels_searchChannels | Search for YouTube channels by handle, name, or query | query | maxResults, order, channelType, minSubscribers, maxSubscribers, lastUploadAfter, lastUploadBefore, creatorOnly, sortBy |
| channels_findCreators | Find creator channels from video mentions with channel-size and activity filters | query | maxResults, order, videoPublishedAfter, videoPublishedBefore, channelMinSubscribers, channelMaxSubscribers, channelLastUploadAfter, channelLastUploadBefore, creatorOnly, sortBy, sampleVideosPerChannel |
| channels_listVideos | Get videos from a specific channel | channelId | maxResults |
| playlists_getPlaylist | Get information about a YouTube playlist | playlistId | None |
| playlists_getPlaylistItems | Get videos in a YouTube playlist | playlistId | maxResults |
Tool Parameters
videos_getVideo
- videoId (string): The YouTube video ID.
- parts (string[], optional): Specific video resource parts to retrieve.
videos_searchVideos
- query (string): Search query.
- maxResults (number, optional): Maximum number of results to return.
- order (string, optional): Result ordering such as relevance or date.
- publishedAfter (string, optional): Only include videos published after this ISO 8601 date.
- publishedBefore (string, optional): Only include videos published before this ISO 8601 date.
- channelId (string, optional): Restrict results to a specific channel.
- uniqueChannels (boolean, optional): Return only one video per unique channel.
- channelMinSubscribers / channelMaxSubscribers (number, optional): Filter matched videos by the subscriber band of their channel.
- channelLastUploadAfter / channelLastUploadBefore (string, optional): Filter matched videos by the latest upload activity of their channel.
- creatorOnly (boolean, optional): Restrict results to channels heuristically classified as creators.
- sortBy (string, optional): Supports relevance, subscribers_asc, subscribers_desc, indie_priority, and recent_activity.
transcripts_getTranscript
- videoId (string): The YouTube video ID.
- language (string, optional): Transcript language code. Falls back to YOUTUBE_TRANSCRIPT_LANG or en.
channels_getChannel
- channelId (string): The YouTube channel ID.
Responses now include:
- latestVideoPublishedAt
- normalizedMetadata
- includes country, defaultLanguage, joinedAt, customUrl, emailsFound, contactLinks, and creator-vs-brand heuristic fields