
umbertotancorre/youtube-mcp-cli
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIエージェントがYouTubeにアクセスできるMCPサーバーとCLIツール
概要
YouTubeは知識がいっぱいですが、そこにトラップされています。 AIエージェントは、ネイティブにアクセスできません。 このリポジトリは、AIエージェント用のMCPサーバーと端末用のCLIの2つのパッケージを修復します。 - トランスクリプトをフェッチ(テキストまたはタイムスタンプ付き) - .mdとしてトランスクリプトをダウンロード - ビデオメタデータを入手 - キャプチャ内の検索 - ビデオやオーディオをダウンロード - MCP: @umbertotancorre/youtube-mcp - CLI: @umbertotancorre/youtube-cli download video と download audio は完全に自己完結しています。 yt-dlp と ffmpeg は npm インストール時に自動的にダウンロードされます。 MCP クライアントのコンフィグ (例: claude desktop config.json) に追加します。 すべてのツールは自動的に表示されます。 インストール不要、npx は最初の実行時に処理します。 ダウンロードは常にプラットフォームネイティブダウンロードフォルダに移動します。 これは、npm ワークスペースのモノレポで3つのパッケージです
概要(AI 翻訳)
ゼロセットアップ・APIキーなし・アカウントなし・オープンソースなし
YouTubeは知識がいっぱいですが、そこにトラップされています。 AIエージェントは、ネイティブにアクセスできません。 このリポジトリは、AIエージェント用のMCPサーバーと端末用のCLIの2つのパッケージを修復します。
- トランスクリプト(テキストまたはタイムスタンプ)をフェッチ
- トランスクリプトを[[T0]としてダウンロードする
- ビデオメタデータを取得する
- キャプション内の検索
- ビデオやオーディオをダウンロード
として利用できる:
- MCP:
@umbertotancorre/youtube-mcp - CLI: [
@umbertotancorre/youtube-cli
ローカル APIキーは必要ありません。
お問い合わせ
コンテンツの表
- MCP サーバー
- ツール
- インストール
- クリップ
- コマンド
- インストール
- 開発
- 免責事項
- ライセンス
お問い合わせ
#MCP サーバー
ツール
| ツール | 概要 |
お問い合わせ
| [get_transcript | 文体を文体として表現 |
| [get_transcript_timed | セグメントごとのタイムスタンプ |
| [download_transcript | トランスクリプトを[.mdファイルとして保存 |
| [download_transcript_timed | タイムスタンプで原稿を[.mdファイルとして保存 |
| [[T10] | タイトル、チャンネル、公開日、ビューカウント、期間、いいね、説明に戻る |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
YouTube MCP server and CLI
Zero Setup · No API Key · No Account · Open Source
YouTube is full of knowledge, but it is trapped there. AI agents cannot access it natively. This repo ships two packages that fix that: an MCP server for AI agents and a CLI for the terminal.
- Fetch transcript (plain text or with timestamps)
- Download transcript as
.md - Get video metadata
- Search within captions
- Download video or audio
Available as:
All locally. No API keys required.
Table of Contents
MCP Server
Tools
| Tool | Description |
|---|---|
get_transcript |
Fetches the full transcript as plain text |
get_transcript_timed |
Transcript with [MM:SS] timestamps per segment |
download_transcript |
Saves transcript as a .md file |
download_transcript_timed |
Saves transcript as a .md file with timestamps |
get_metadata |
Returns title, channel, publish date, view count, duration, likes, and description |
search_transcript |
Searches for a keyword or phrase and returns matching segments with timestamps |
download_video |
Downloads video+audio as .mp4 |
download_audio |
Downloads audio as .mp3 (or m4a, flac, opus, …) |
download_video and download_audio are fully self-contained. yt-dlp and ffmpeg are downloaded automatically on npm install.
Installation
Method A: let your AI do it
Tell your AI agent:
Add youtube-mcp as an MCP server. Run it with: npx @umbertotancorre/youtube-mcp
Method B: manual config
Add this to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "@umbertotancorre/youtube-mcp"]
}
}
}
All tools appear automatically. No install needed, npx handles it on first run.
CLI
Commands
youtube-cli transcript Print transcript as plain text
youtube-cli transcript --timestamps Include [MM:SS] timestamps
youtube-cli transcript --save Save as .md to Downloads
インストール
npx -y @umbertotancorre/youtube-mcp設定
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "@umbertotancorre/youtube-mcp"]
}
}
}