Skip to main content
Glama
kevinwatt

YouTube MCP Server

by kevinwatt

yt-dlp-mcp

yt-dlp と統合し、LLM にビデオおよびオーディオ コンテンツのダウンロード機能 (YouTube、Facebook、Tiktok など) を提供する MCP サーバー実装。

特徴

  • 字幕: LLMが読めるようにSRT形式の字幕をダウンロードします

  • ビデオダウンロード: 解像度を制御しながらビデオをダウンロードフォルダに保存します

  • オーディオダウンロード: オーディオをダウンロードフォルダに保存します

  • プライバシー重視:追跡なしの直接ダウンロード

  • MCP統合: Diveおよびその他のMCP互換LLMと連携

Related MCP server: Agentic AI with MCP

インストール

前提条件

ご使用のオペレーティング システムに応じてyt-dlpをインストールします。

# Windows
winget install yt-dlp

# macOS
brew install yt-dlp

# Linux
pip install yt-dlp

ダイブデスクトップ

  1. Diveデスクトップで「+ MCPサーバーを追加」をクリックします。

  2. 次の設定をコピーして貼り付けます。

{
  "mcpServers": {
    "yt-dlp": {
      "command": "npx",
      "args": [
        "-y",
        "@kevinwatt/yt-dlp-mcp"
      ]
    }
  }
}
  1. 「保存」をクリックしてMCPサーバーをインストールします

ツールドキュメント

  • 字幕言語リスト

    • 動画で利用可能なすべての字幕言語とその形式(自動生成された字幕を含む)を一覧表示します

    • 入力:

      • url (文字列、必須): ビデオのURL

  • ビデオ字幕をダウンロード

    • 利用可能なあらゆる形式でビデオの字幕をダウンロードできます。通常の字幕と自動生成字幕の両方に対応しています。

    • 入力:

      • url (文字列、必須): ビデオのURL

      • language (文字列, オプション): 言語コード (例: 'en', 'zh-Hant', 'ja')。デフォルトは 'en'

  • ビデオをダウンロード

    • ビデオをユーザーのダウンロードフォルダにダウンロードする

    • 入力:

      • url (文字列、必須): ビデオのURL

      • resolution (文字列, オプション): ビデオ解像度 ('480p', '720p', '1080p', 'best')。デフォルトは '720p'

  • ダウンロードオーディオ

    • 最高の品質(通常は m4a/mp3 形式)でオーディオをユーザーのダウンロード フォルダーにダウンロードします。

    • 入力:

      • url (文字列、必須): ビデオのURL

使用例

LLM に次のことを依頼してください。

"List available subtitles for this video: https://youtube.com/watch?v=..."
"Download a video from facebook: https://facebook.com/..."
"Download Chinese subtitles from this video: https://youtube.com/watch?v=..."
"Download this video in 1080p: https://youtube.com/watch?v=..."
"Download audio from this YouTube video: https://youtube.com/watch?v=..."

手動スタート

必要に応じて、サーバーを手動で起動します。

npx @kevinwatt/yt-dlp-mcp

要件

  • Node.js 20以上

  • システム PATH 内のyt-dlp

  • MCP対応LLMサービス

ドキュメント

ライセンス

マサチューセッツ工科大学

著者

デウェイ・イェン

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

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/kevinwatt/yt-dlp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server