Skip to main content
Glama

YouTube MCP

YouTube MCP

YouTube ビデオ分析用の Model Context Protocol (MCP) サーバー。Gemini AI を使用してトランスクリプトを取得し、コンテンツを要約し、ビデオをクエリするためのツールを提供します。

特徴

  • 📝トランスクリプト抽出:YouTube動画から詳細なトランスクリプトを取得します
  • 📊動画要約:Gemini AI を使って簡潔な要約を生成
  • 自然言語クエリ: 動画コンテンツに関する質問をする
  • 🔍 YouTube検索:特定のクエリに一致する動画を検索
  • 💬コメント分析:動画のコメントを取得して分析する

要件

  • Python 3.9以上
  • Google Gemini APIキー
  • YouTubeデータAPIキー

ローカルで実行

Smithery経由でインストール

Smithery経由で Claude Desktop 用の youtube-mcp を自動的にインストールするには:

npx -y @smithery/cli install @Prajwal-ak-0/youtube-mcp --client claude

オプション1: 直接インストール

  1. リポジトリをクローンします。
    git clone https://github.com/Prajwal-ak-0/youtube-mcp cd youtube-mcp
  2. 仮想環境を作成し、依存関係をインストールします。
    python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .
  3. API キーを使用して.envファイルを作成します。
    GEMINI_API_KEY=your_gemini_api_key YOUTUBE_API_KEY=your_youtube_api_key
  4. MCP サーバーを実行します。
    python main.py

オプション2: MCP CLIを使用する

  1. MCP CLI をインストールします。
    pip install mcp
  2. プロジェクトにmcp.jsonファイルを作成します。
    { "youtube": { "command": "uv", "args": [ "--directory", "/absolute/path/to/youtube-mcp", "run", "main.py", "--transport", "stdio", "--debug" ] } }
  3. MCP を使用してサーバーを起動します。
    mcp run youtube

Dockerでの使用

  1. Docker イメージをビルドします。
    docker build -t youtube-mcp .
  2. API キーを使用してコンテナを実行します。
    docker run -e GEMINI_API_KEY=your_gemini_api_key -e YOUTUBE_API_KEY=your_youtube_api_key youtube-mcp

Smitheryへの展開

この MCP サーバーは、アクセスを容易にするためにSmitheryにデプロイできます。

  1. Smitheryでサーバーを追加または申請する
  2. Smitheryの展開タブで「展開」をクリックします。
  3. プロンプトが表示されたらAPIキーを入力してください

利用可能なツール

  • youtube/get-transcript : 動画のトランスクリプトを取得
  • youtube/summarize : ビデオの要約を生成する
  • youtube/query : 動画に関する質問に答える
  • youtube/search : YouTube動画を検索
  • youtube/get-comments : 動画のコメントを取得する
  • youtube/get-likes : 動画のいいね数を取得する

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

YouTube 動画を分析し、ユーザーがトランスクリプトを抽出し、要約を生成し、Gemini AI を使用して動画コンテンツを照会できるようにするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. 要件
      1. ローカルで実行
        1. Smithery経由でインストール
        2. オプション1: 直接インストール
        3. オプション2: MCP CLIを使用する
      2. Dockerでの使用
        1. Smitheryへの展開
          1. 利用可能なツール
            1. 貢献

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video captions and subtitles through a simple interface.
                Last updated -
                1
                526
                189
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables retrieval of transcripts from YouTube videos with language-specific support.
                Last updated -
                526
                MIT License
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.
                Last updated -
                6
                1
                TypeScript
              • -
                security
                -
                license
                -
                quality
                A Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.
                Last updated -
                Python
                MIT License

              View all related MCP servers

              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/Prajwal-ak-0/youtube-mcp'

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