Skip to main content
Glama

YouTube Transcript Server

by williamvd4

YouTubeトランスクリプトサーバー

YouTube動画からトランスクリプトを取得できるモデルコンテキストプロトコルサーバーです。シンプルなインターフェースから動画のキャプションや字幕に直接アクセスできます。

Smithery経由でインストール

Smithery経由で Claude Desktop 用の YouTube Transcript Server を自動的にインストールするには:

npx -y @smithery/cli install @kimtaeyoon83/mcp-server-youtube-transcript --client claude

コンポーネント

ツール

  • トランスクリプトを取得する
    • YouTube動画からトランスクリプトを抽出する
    • 入力:
      • url (文字列、必須): YouTube 動画の URL または動画 ID
      • lang (文字列、オプション、デフォルト: "en"): トランスクリプトの言語コード (例: 'ko'、'en')

主な特徴

  • 複数のビデオ URL 形式のサポート
  • 言語固有のトランスクリプト検索
  • 応答の詳細なメタデータ

構成

Claude Desktop で使用するには、次のサーバー構成を追加します。

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

ツール経由でインストール

mcp-getモデルコンテキストプロトコル (MCP) サーバーをインストールおよび管理するためのコマンドラインツール。

npx @michaellatman/mcp-get@latest install @kimtaeyoon83/mcp-server-youtube-transcript

素晴らしいMCPサーバー

awesome-mcp-servers素晴らしい Model Context Protocol (MCP) サーバーの厳選されたリスト。

発達

前提条件

  • Node.js 18以上
  • npmまたはyarn

設定

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

テスト

npm test

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。開発にはMCP Inspectorの使用をお勧めします。

npm run inspector

エラー処理

サーバーは、一般的なシナリオに対して堅牢なエラー処理を実装しています。

  • 動画のURLまたはIDが無効です
  • 利用できないトランスクリプト
  • 言語の可用性の問題
  • ネットワークエラー

使用例

  1. ビデオ URL でトランスクリプトを取得:
await server.callTool("get_transcript", { url: "https://www.youtube.com/watch?v=VIDEO_ID", lang: "en" });
  1. ビデオIDでトランスクリプトを取得:
await server.callTool("get_transcript", { url: "VIDEO_ID", lang: "ko" });
  1. ClaudeデスクトップアプリでYouTubeの字幕を抽出する方法
chat: https://youtu.be/ODaHJzOyVCQ?si=aXkJgso96Deri0aB Extract subtitles

セキュリティに関する考慮事項

サーバー:

  • すべての入力パラメータを検証します
  • YouTube API エラーを適切に処理します
  • トランスクリプトの取得にタイムアウトを実装します
  • トラブルシューティングのための詳細なエラーメッセージを提供します

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。詳細はLICENSEファイルをご覧ください。

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

言語固有のサポートにより YouTube 動画からのトランスクリプトの取得を可能にするモデル コンテキスト プロトコル サーバー。

  1. Smithery経由でインストール
    1. コンポーネント
      1. ツール
    2. 主な特徴
      1. 構成
        1. ツール経由でインストール
          1. 素晴らしいMCPサーバー
            1. 発達
              1. 前提条件
              2. 設定
              3. テスト
              4. デバッグ
            2. エラー処理
              1. 使用例
                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
                      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
                    • 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 transcripts and subtitles through a simple interface, making it ideal for content analysis and processing.
                      Last updated -
                      1
                      258
                      10
                      TypeScript
                      MIT License
                      • Linux
                      • Apple

                    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/williamvd4/mcp-server-youtube-transcript'

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