YouTube (Unofficial)

v0.2.3
io.github.pipeworx-io/youtube Checked 4 days ago Published 2 days ago

Unofficial YouTube MCP — wraps the YouTube Data API v3 (BYO API key)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

yt_video_details

Get detailed information about one or more YouTube videos including title, description, channel, duration, view/like/comment counts, and tags.

ParameterTypeDescription
_apiKey *stringYouTube Data API v3 key from Google Cloud Console
video_id *stringVideo ID or comma-separated list of video IDs (max 50)

yt_channel_details

Get YouTube channel information and statistics including subscriber count, video count, view count, description, and custom URL.

ParameterTypeDescription
_apiKey *stringYouTube Data API v3 key from Google Cloud Console
channel_idstringChannel ID (starts with UC...)
usernamestringChannel username (alternative to channel_id)

yt_channel_videos

List recent videos from a YouTube channel, ordered by date. Returns video ID, title, description, and publish date.

ParameterTypeDescription
_apiKey *stringYouTube Data API v3 key from Google Cloud Console
channel_id *stringChannel ID to list videos from
max_resultsnumberNumber of videos to return (default 10, max 50)
published_afterstringFilter videos published after this ISO 8601 date
published_beforestringFilter videos published before this ISO 8601 date

yt_video_comments

Get top-level comment threads on a YouTube video. Returns author, text, like count, and publish date.

ParameterTypeDescription
_apiKey *stringYouTube Data API v3 key from Google Cloud Console
video_id *stringVideo ID to fetch comments for
max_resultsnumberNumber of comment threads to return (default 20, max 100)
orderstringSort order: "time" or "relevance" (default: "relevance")

yt_video_transcript

Get the transcript (captions) of a YouTube video: timestamped segments plus the joined text, the caption language, and whether the track is auto-generated. No API key needed. Use it to summarize, quote or search what is said in a video. Long videos are paged: pass the returned next_start_seconds as start_seconds to continue. A video with no captions returns a captions_unavailable error, never an empty transcript.

ParameterTypeDescription
video_id *stringYouTube video ID (e.g. "dQw4w9WgXcQ") or a full youtube.com / youtu.be URL
langstringCaption language code (e.g. "en", "fr", "pt-BR"). "en" also matches "en-US". Default: the video's default caption track. If the video has no track in this language the error lists the ones it has.
max_charsnumberStop after this many characters of transcript text (default 50000, max 200000).
start_secondsnumberSkip segments that start before this many seconds (for paging through long videos). Default 0.