youtube-summarize

v0.6.0
io.github.zlatkoc/youtube-summarize Checked 5 days ago Published 4 months ago

MCP server that fetches YouTube video transcripts and optionally summarizes them

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

get_transcript

Fetch a YouTube video's transcript. Args: url: YouTube video URL or video ID languages: Preferred languages in priority order (e.g. ["en", "de"]). Defaults to English. format: Output format — one of: text, json, pretty, webvtt, srt preserve_formatting: Keep HTML formatting tags in the transcript text include_timestamps: When True with format="text", prefix each line with [HH:MM:SS]. Ignored for json/srt/webvtt/pretty (those formats already include timestamps). include_metadata: When True (default), prepend a [METADATA] block (title, channel, published, duration, view…

ParameterTypeDescription
url *string
formatstring
include_metadataboolean
include_timestampsboolean
languages
preserve_formattingboolean

summarize_transcript

Fetch a YouTube video's transcript and return it with summarization instructions. The LLM client should use the returned instructions and transcript to produce a summary. The output is structured into clearly-labeled sections so a human can review the prompt before letting the LLM act on it. Args: url: YouTube video URL or video ID prompt: Custom summarization instructions. If omitted, a default summary prompt is used. languages: Preferred languages in priority order (e.g. ["en", "de"]). Defaults to English. include_timestamps: When True, prefix each transcript line with [HH:…

ParameterTypeDescription
url *string
include_metadataboolean
include_timestampsboolean
languages
prompt

get_video_metadata

Fetch metadata (title, description, channel, upload date, duration, views, chapters, etc.) for a YouTube video. Args: url: YouTube video URL or video ID

ParameterTypeDescription
url *string

list_playlist_videos

List the videos in a YouTube playlist (titles, IDs, channels, durations, views). Per-video metadata is intentionally lean so the call stays fast even for big playlists. For full metadata on a specific video, call get_video_metadata with that video's ID. Args: url: YouTube playlist URL (with ?list=...) or bare playlist ID limit: Maximum videos to return (default 500). Pass a smaller value to truncate. sort_by: Sort key — "index" (playlist order, default), "title", "duration", "views". "upload_date" is not supported in this fast-mode tool. order: "asc" (default) or "desc".

ParameterTypeDescription
url *string
limitinteger
orderstring
sort_bystring

search_videos

Search YouTube for videos and return a clean ranked result list. Unlike the YouTube website, results contain only actual videos — no ads, recommendation shelves, or personalization. Relevance ordering still comes from YouTube's backend. Pair with get_transcript or summarize_transcript on a result's ID or URL. Args: query: Search terms limit: Maximum results to return (default 10) sort_by: Result order — "relevance" (default), "date" (newest first), "views", "rating" uploaded: Filter by upload time — "any" (default), "hour", "today", "week", "month", "year" duration:…

ParameterTypeDescription
query *string
durationstring
limitinteger
sort_bystring
uploadedstring

list_transcripts

List available transcript languages for a YouTube video. Args: url: YouTube video URL or video ID

ParameterTypeDescription
url *string