YouTube Transcript Extractor MCP
YouTube トランスクリプト抽出ツール MCP 🎥
AIアシスタントがYouTube動画からトランスクリプトを抽出できるようにするモデルコンテキストプロトコル(MCP)サーバー。CursorおよびClaude Desktopとの統合用に構築されたこのツールにより、AIはYouTube動画コンテンツを直接分析・操作できるようになります。
特徴
🎯 公開されている YouTube 動画からトランスクリプトを抽出します
🔌 カーソルとクロードデスクトップとの簡単な統合
🚀 型安全性のために TypeScript で構築
📦 シンプルなセットアップと展開
🛠️ モデルコンテキストプロトコルに基づく
Related MCP server: YouTube Translate MCP
前提条件
Node.js (v16 以上)
pnpm(推奨)またはnpm
トランスクリプトを抽出するためのYouTube動画のURL
インストール
リポジトリをクローンします。
git clone https://github.com/yourusername/yt-mcp.git
cd yt-mcp依存関係をインストールします:
pnpm installプロジェクトをビルドします。
pnpm run build構成
カーソル用
カーソル設定を開く
MCPに移動→新しいMCPサーバーを追加
次の設定を構成します。
名前:
youtube-transcriptタイプ:
commandコマンド:
node /absolute/path/to/yt-mcp/build/index.js
クロードデスクトップ向け
この構成を Claude Desktop 構成に追加します。
{
"mcpServers": {
"youtube-transcript": {
"command": "node",
"args": ["/absolute/path/to/yt-mcp/build/index.js"]
}
}
}使用法
設定が完了すると、AIは動画のURLを指定してツールを呼び出すことで、YouTube動画からトランスクリプトを抽出できるようになります。例:
// The AI will use this format internally
const transcript = await extractTranscript({
input: "https://www.youtube.com/watch?v=VIDEO_ID"
});技術的な詳細
サーバーは以下を使用して構築されます:
@modelcontextprotocol/sdk - MCP実装用
youtube-transcript - トランスクリプト抽出用
TypeScript - 型安全性と開発エクスペリエンスの向上
制限事項
公開されているYouTube動画でのみ機能します
動画には字幕が有効になっている必要があります
一部の動画には自動生成された字幕が付いている場合がありますが、100%正確ではない可能性があります。
トラブルシューティング
よくある問題と解決策:
「ビデオIDが見つかりません」というエラー
YouTubeのURLが完全かつ正しいことを確認してください
動画が公開されているかどうかを確認する
「トランスクリプトが利用できません」というエラー
動画に字幕が有効になっていることを確認する
ツールが機能していることを確認するために別のビデオを試してください
ビルドエラー
すべての依存関係がインストールされていることを確認してください
Node.jsのバージョンを確認してください(v16以上である必要があります)
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。大きな変更については、まずIssueを開いて、変更したい点について議論してください。
ライセンス
マサチューセッツ工科大学
Available Tools
1 toolyoutube-transcript-extractorC
Extracts the transcript of a YouTube video.
Inputs: input (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is singular and clearly defined, so an agent cannot misselect among multiple options.
The single tool name follows a clear verb-noun pattern (youtube-transcript-extractor), and with no other tools to compare, consistency is inherently perfect. There are no deviations or mixed conventions to evaluate.
One tool is too few for a server that appears to handle YouTube transcript extraction, as it lacks complementary operations like listing videos, handling errors, or supporting multiple formats. This minimal scope may limit agent workflows and feels incomplete for the domain.
The server is severely incomplete for YouTube transcript extraction, as it only provides extraction without supporting operations like validation, search, or handling different transcript types. This creates significant gaps that could cause agent failures in real-world scenarios.
Maintenance
Related MCP Connectors
Fetch YouTube transcripts, monitor channels and track keyword matches from your AI assistant.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
YouTube transcripts for AI agents, including videos without captions (Pro API key).
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.1607MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.55MIT
- AlicenseAqualityDmaintenanceA 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.1404 npm39MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to access YouTube data in real-time, with capabilities for searching videos, analyzing channels, retrieving video details, and extracting transcripts.13MIT