
jkawamoto/mcp-youtube-transcript
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCPサーバーがYouTube動画のトランスクリプトを取得する
概要
このMCPサーバーは、与えられたYouTube動画URLのトランスクリプトを取得します。 このMCPサーバーは以下のツールを提供します: 指定されたYouTube動画の書き起こしを取得します。 - (文字列):YouTube動画の完全なURLです。このフィールドは必須です。- (文字列、任意):書き起こしの希望する言語。指定しない場合はデフォルトでenとなります。- (文字列、任意):カーソルで書き起こしの次のページを取得します。 指定されたYouTube動画のトランスクリプトとタイムスタンプを取得します。 - (文字列):YouTube動画の完全なURLです。このフィールドは必須です。- (文字列、任意):書き起こしの希望する言語。指定しない場合はデフォルトでenとなります。- (文字列、任意):カーソルで書き起こしの次のページを取得します。 指定されたYouTube動画のメタデータを取得します。 - (文字列):YouTube動画の完全なURLです。このフィールドは必須です。
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)サーバー YouTube動画のトランスクリプトやメタデータを直接LLMのワークフローに取り込むことができます。
AIエージェント向けに特別に設計されており、長尺動画を自動ページ化でシームレスに処理します また、YouTubeのレート制限やIP禁止を回避するための堅牢なプロキシサポートも提供しています。
主な特徴
- リッチトランスクリプト検索:生テキスト、タイムスタンプ付きセグメント、複数の言語でビデオメタデータを取得します。
- スマートチャンク&ページ分け:長いトランスクリプトを自動的にチャンク化(デフォルト:50,000文字)で文脈を妨げます ウィンドウオーバーフローで、モデルが何時間もの動画を難なくページングできます。
- レジリエントプロキシサポート:住宅用プロキシ(Webshare、ScrapingAnt)への組み込みサポート IPブロックを防ぐための標準的なHTTP/HTTPSプロキシも使用しています。
- ユニバーサル互換性:Claude Desktop、Cursor、LM Studio、Goose、および標準的なMCPクライアントで動作します。
クイックスタートとインストール
[!注]
uvxコマンドを使うには、システムにuvをインストールする必要があります。
このサーバーは標準のstdioで通信します。
ほとんどのMCPクライアントはuvx(Astral uvの一部)を使って直接実行できます。
一般構成(標準MCP JSON)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
YouTube Transcript MCP Server
A Model Context Protocol (MCP) server that fetches transcripts and metadata from YouTube videos directly into your LLM workflows.
Designed specifically for AI agents, it seamlessly handles long-form videos through automatic pagination and provides robust proxy support to circumvent YouTube rate limits and IP bans.
Key Features
- Rich Transcript Retrieval: Fetch raw text, timestamped segments, and video metadata in multiple languages.
- Smart Chunking & Pagination: Automatically chunks long transcripts (default: 50,000 characters) to prevent context window overflow, letting models page through hours of video effortlessly.
- Resilient Proxy Support: Built-in support for residential proxies (Webshare, ScrapingAnt) and standard HTTP/HTTPS proxies to prevent IP blocks.
- Universal Compatibility: Works with Claude Desktop, Cursor, LM Studio, Goose, and any standard MCP client.
Quick Start & Installation
[!NOTE] You’ll need
uvinstalled on your system to useuvxcommand.
This server communicates via standard stdio.
Most MCP clients can run it directly using uvx (part of Astral uv).
General Configuration (Standard MCP JSON)
Add this entry to your client’s MCP configuration file (typically under mcpServers):
{
"mcpServers": {
"youtube-transcript": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jkawamoto/mcp-youtube-transcript",
"mcp-youtube-transcript"
]
}
}
}
Claude Desktop
- GUI (Drag & Drop): Download the
.mcpbbundle from the Releases page and drop it into your Claude Desktop Settings. - Manual Config: Add the JSON above to
claude_desktop_config.json(restart Claude Desktop after saving):
インストール
uvx --from git+https://github.com/jkawamoto/mcp-youtube-transcript mcp-youtube-transcript設定
{
"mcpServers": {
"youtube-transcript": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jkawamoto/mcp-youtube-transcript",
"mcp-youtube-transcript"
]
}
}
}