YouTube MCP
YouTube MCP
YouTube ビデオ分析用の Model Context Protocol (MCP) サーバー。Gemini AI を使用してトランスクリプトを取得し、コンテンツを要約し、ビデオをクエリするためのツールを提供します。
特徴
📝トランスクリプト抽出:YouTube動画から詳細なトランスクリプトを取得します
📊動画要約:Gemini AI を使って簡潔な要約を生成
❓自然言語クエリ: 動画コンテンツに関する質問をする
🔍 YouTube検索:特定のクエリに一致する動画を検索
💬コメント分析:動画のコメントを取得して分析する
Related MCP server: YouTube Translate MCP
要件
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: 直接インストール
リポジトリをクローンします。
git clone https://github.com/Prajwal-ak-0/youtube-mcp cd youtube-mcp仮想環境を作成し、依存関係をインストールします。
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .API キーを使用して
.envファイルを作成します。GEMINI_API_KEY=your_gemini_api_key YOUTUBE_API_KEY=your_youtube_api_keyMCP サーバーを実行します。
python main.py
オプション2: MCP CLIを使用する
MCP CLI をインストールします。
pip install mcpプロジェクトに
mcp.jsonファイルを作成します。{ "youtube": { "command": "uv", "args": [ "--directory", "/absolute/path/to/youtube-mcp", "run", "main.py", "--transport", "stdio", "--debug" ] } }MCP を使用してサーバーを起動します。
mcp run youtube
Dockerでの使用
Docker イメージをビルドします。
docker build -t youtube-mcp .API キーを使用してコンテナを実行します。
docker run -e GEMINI_API_KEY=your_gemini_api_key -e YOUTUBE_API_KEY=your_youtube_api_key youtube-mcp
Smitheryへの展開
この MCP サーバーは、アクセスを容易にするためにSmitheryにデプロイできます。
Smitheryでサーバーを追加または申請する
Smitheryの展開タブで「展開」をクリックします。
プロンプトが表示されたらAPIキーを入力してください
利用可能なツール
youtube/get-transcript: 動画のトランスクリプトを取得youtube/summarize: ビデオの要約を生成するyoutube/query: 動画に関する質問に答えるyoutube/search: YouTube動画を検索youtube/get-comments: 動画のコメントを取得するyoutube/get-likes: 動画のいいね数を取得する
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
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.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.126 npm4MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.55MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables searching YouTube videos, retrieving and storing transcripts, and performing semantic search over video content without using the official YouTube API.39MIT
- AlicenseBqualityFmaintenanceMCP (Model Context Protocol) server that utilizes the Google Gemini Vision API to interact with YouTube videos. It allows users to get descriptions, summaries, answers to questions, and extract key moments from YouTube videos.427 npm6MIT