youtube-summarize
youtube-summarize
用于获取 YouTube 视频字幕并可选择对其进行总结的 MCP 服务器。

功能
获取字幕:支持多种格式(文本、JSON、SRT、WebVTT、美化打印)
视频元数据 — 标题、描述、频道、上传日期、时长、观看次数、章节(通过 yt-dlp)
可选时间戳:在纯文本字幕中显示
总结视频 — 返回字幕,并清晰地列出提示词,以便人类在 LLM 执行前进行审查
列出播放列表视频 — 快速枚举任何公开播放列表,并支持可选排序
列出可用语言:查看任何视频的可用字幕语言
灵活的 URL 解析 — 接受完整的 YouTube URL (
youtube.com/watch?v=,youtu.be/,youtube.com/embed/,youtube.com/shorts/) 或纯视频 ID多语言支持 — 按优先级请求特定语言的字幕
Related MCP server: ytt-mcp
工具
get_transcript
获取 YouTube 视频的字幕。默认情况下,响应前会加上一个 [METADATA] 块(标题、频道、发布时间、时长、观看次数、描述);若只需字幕输出,请设置 include_metadata=false。
参数 | 类型 | 默认值 | 描述 |
| string | 必填 | YouTube 视频 URL 或视频 ID |
| string[] |
| 按优先级排序的首选语言 |
| string |
| 输出格式: |
| boolean |
| 在字幕中保留 HTML 格式标签 |
| boolean |
| 当 |
| boolean |
| 在字幕前添加 |
summarize_transcript
获取字幕并将其与总结指令一起返回。响应被结构化为清晰标记的部分([INSTRUCTIONS], [PROMPT_SOURCE], [VIDEO], [METADATA], [TRANSCRIPT]),以便人类在让 LLM 执行前审查提示词。
参数 | 类型 | 默认值 | 描述 |
| string | 必填 | YouTube 视频 URL 或视频 ID |
| string | (默认提示词) | 自定义总结指令 |
| string[] |
| 按优先级排序的首选语言 |
| boolean |
| 在每行字幕前加上 |
| boolean |
| 包含一个带有标题、频道、发布时间、时长、观看次数和描述的 |
get_video_metadata
获取 YouTube 视频的元数据(标题、描述、频道、上传日期、时长、观看次数、标签、章节等)。由 yt-dlp 提供支持。
参数 | 类型 | 默认值 | 描述 |
| string | 必填 | YouTube 视频 URL 或视频 ID |
list_playlist_videos
列出 YouTube 播放列表中的视频(标题、ID、频道、时长、观看次数、URL)。每个视频的元数据被刻意精简,以确保即使对于大型播放列表也能保持快速响应;如需完整详情,请使用特定视频 ID 调用 get_video_metadata。
参数 | 类型 | 默认值 | 描述 |
| string | 必填 | YouTube 播放列表 URL(带 |
| integer |
| 返回的最大视频数量 |
| string |
| 可选: |
| string |
|
|
list_transcripts
列出视频可用的字幕语言。
参数 | 类型 | 默认值 | 描述 |
| string | 必填 | YouTube 视频 URL 或视频 ID |
安装
快速开始(推荐)
uvx youtube-summarizeClaude Desktop
添加到你的 claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"youtube-summarize": {
"command": "uvx",
"args": ["youtube-summarize"]
}
}
}Claude Code
claude mcp add youtube-summarize -- uvx youtube-summarize其他 MCP 客户端
通过 stdio 运行服务器:
uvx youtube-summarize先决条件
Python 3.13+
uv 包管理器
开发
# Install dependencies
uv sync
# Launch the MCP inspector (web UI for testing tools)
uv run mcp dev main.py许可证
MIT
mcp-name: io.github.zlatkoc/youtube-summarize
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables the extraction of transcripts and detailed metadata from YouTube videos. It allows users to retrieve video information like titles and descriptions, as well as transcripts with optional timestamps and language selection.2MIT
- AlicenseBqualityDmaintenanceAn MCP server designed to fetch transcripts for YouTube videos. It enables AI tools to access video text content for tasks like summarization, analysis, and key takeaway extraction.173MIT
- FlicenseBqualityDmaintenanceAn MCP server that extracts transcripts, metadata, and summaries from YouTube videos across various URL formats including Shorts and standard links. It provides comprehensive video data and insights for analysis within MCP-compatible environments.3
- AlicenseNot gradedqualityCmaintenanceMCP server for fetching YouTube video transcripts without an API key.GPL 3.0
Related MCP Connectors
Any social-video URL → transcript, metadata, frames, OCR, summary, search, Q&A. MCP server + x402.
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zlatkoc/youtube-summarize'
If you have feedback or need assistance with the MCP directory API, please join our Discord server