Skip to main content
Glama

YouTube MCP 服务器

使用yt-dlp从 YouTube 下载字幕,并通过模型上下文协议 (MCP)将其连接到 claude.ai。您可以尝试让 Claude 总结一下 YouTube 视频的内容。需要本地安装yt-dlp例如通过 Homebrew 安装。

我怎样才能让它工作?

安装yt-dlp (Homebrew 和 WinGet 都很好用)

# macOS
brew install yt-dlp

# Windows
winget install yt-dlp

参数

  • url :YouTube 视频 URL(必填)

  • language :字幕语言代码(可选,默认值:'ja')

    • 使用ISO 639-1语言代码

    • 通用语言代码:

      • ja :日语

      • en :英语

      • ko :韩语

      • zh :中文

      • fr :法语

    • 注意:如果指定语言的字幕不存在,则会发生错误

例子

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "@kazuph/mcp-youtube"]
    }
  }
}

Available Tools

1 tool
get_youtube_transcriptC

Download YouTube video transcript and metadata

Inputs: url (required), language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no risk of confusion between tools.

    Naming Consistency5/5

    With a single tool, naming is inherently consistent.

    Tool Count4/5

    A single tool is borderline but appropriate for a focused purpose like transcript retrieval.

    Completeness4/5

    The tool covers the core functionality of getting transcripts and metadata, though additional features like searching videos could be expected.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers