
ia-programming/youtube-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ia-programming/youtube-mcp は [https://github.com/ia-programming/youtube-mcp.] からインポートされた MCP サーバー候補です
概要
ia-programming/youtube-mcp は [https://github.com/ia-programming/youtube-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
YouTube動画の検索、トランスクリプトの取得、ビデオコンテンツのセマンティック検索を行うためのツールを提供するモデルコンテキストプロトコル(MCP)サーバー。
サポート
このプロジェクトが役に立つと今後のプロジェクトをサポートしたい場合は、コーヒーの購入を検討してください! お客様のサポートにより、革新的なAIソリューションを構築し続けます。
あなたの貢献は、インテリジェントでユーザーフレンドリーなアプリケーションを作成するために私たちの情熱を燃やすための長い道を行く.
コンテンツの表
- YouTube MCP サーバー
- 特徴
- 前提条件
- インストール
- サーバーの実行
-
- 直接方法
-
- Claude.app の設定
- 利用可能なツール
- MCP クライアントでの使用
- 用途例
- デバッグ
- 貢献
- ライセンス
##特徴
- 公式APIを使用せずにYouTube動画を検索
- ビデオトランスクリプトの取得
- ベクトルデータベースにビデオ情報とトランスクリプトを保存
- 保存されたビデオのトランスクリプト上のセマンティック検索を実行します
前提条件
- Python 3.8+
- 埋め込むためのGoogle APIキー
- uvパッケージマネージャ
インストール
- このリポジトリをクローンする
2。 uvを使用して仮想環境を作成し、活性化します。
3。 uvを使用して依存関係をインストールします。
4。 `を作成します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
YouTube MCP Server
A Model Context Protocol (MCP) server that provides tools for searching YouTube videos, retrieving transcripts, and performing semantic search over video content.
Support Us
If you find this project helpful and would like to support future projects, consider buying us a coffee! Your support helps us continue building innovative AI solutions.
Your contributions go a long way in fueling our passion for creating intelligent and user-friendly applications.
Table of Contents
- YouTube MCP Server
- Features
- Prerequisites
- Installation
- Running the Server
- Available Tools
- Using with MCP Clients
- Debugging
- Contributing
- License
Features
- Search YouTube videos without using the official API
- Retrieve video transcripts
- Store video information and transcripts in a vector database
- Perform semantic search over stored video transcripts
Prerequisites
- Python 3.8+
- Google API key for embeddings
- uv package manager
Installation
-
Clone this repository
-
Create and activate a virtual environment using uv:
uv venv
# On Windows:
.venv\Scripts\activate
# On Unix/MacOS:
source .venv/bin/activate
- Install dependencies using uv:
uv pip install -r requirements.txt
- Create a
.envfile with your Google API key:
GOOGLE_API_KEY=your_api_key_here
Running the Server
There are two ways to run the MCP server:
1. Direct Method
To start the MCP server directly:
uv run python server.py
2. Configure for Claude.app
Add to your Claude settings without using any package manager this works for windows:
"mcpServers": {
"youtube": {
"command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
"args": ["C:\\Path\\To\\Your\\Project\\server.py"],
"env": {
"GOOGLE_API_KEY": "your_api_key_here"
}
}
}
Using Uv package manager this works for windows:
"mcpServers": {
"youtube": {
"command": "uv",
"args": ["--directory", "C:\\Path\\To\\Your\\Project", "run", "server.py"],
"env": {
"GOOGLE_API_KEY": "your_api_key_here"
}
}
}
Available Tools
The server provides the following tools:
search-youtube: Search for YouTube videos based on a query- Parameters:
- query: Search query string
- max_results: Maximum number of results to return (default: 5)
- Parameters:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
"mcpServers": {
"youtube": {
"command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
"args": ["C:\\Path\\To\\Your\\Project\\server.py"],
"env": {
"GOOGLE_API_KEY": "your_api_key_here"
}
}
}