
coyasong/youtube-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIエージェントのCitation-ready YouTubeリサーチ — トランスクリプト検索、正確なタイムスタンプリンク、クロスビデオの証拠、およびMCP上のチャネルインテリジェンス
概要
YouTube動画をCodex、Claude、Cursor、その他のMCPクライアントの引用読み書き調査に変換します。 ビデオURLを貼り付け、正確な引用した瞬間に開くタイムスタンプとリンクでトランスクリプトの証拠を取得します。 トランスクリプト研究では YouTube API キーは必要ありません。 - — すべてのトランスクリプトセグメントには、タイムスタンプとソースURLが含まれています。 - — トランスクリプトはすぐに動作します。検索と分析のためにのみAPIキーを追加します。 - — 通常、ショート、ショート、埋め込み、ライブ、および生のビデオIDフォーマットを受け入れる。 - — トランスクリプト内で検索し、ビデオ全体でトークンを消費するのではなく、近くのコンテキストを返します。 - — オプションの API モードは、コメント、ビデオ/チャネルの統計、傾向、比較を追加します。 - — — /mcp で HTTP トランスポートを合理化し、Docker と Smithery のサポート MCP 層は、入力を検証し、構造化された証拠を返します。それは、要約や引用を発明するためにモデルを尋ねません。 トランスクリプト ツール 派手なタイムスタンプとキャプション セグメントからのキャノンリンク.
概要(AI 翻訳)
YouTube動画をCodex、Claude、Cursor、その他のMCPクライアントの引用読み書き調査に変換します。 ビデオURLを貼り付け、正確な引用した瞬間に開くタイムスタンプとリンクでトランスクリプトの証拠を取得します。
トランスクリプト研究では YouTube API キーは必要ありません。
このサーバーの理由
-Citation-ready Research — すべてのトランスクリプトセグメントには、タイムスタンプとソースURLが含まれています。
- ゼロキークイックスタート — トランスクリプトはすぐに機能します。検索と分析のためにのみAPIキーを追加します。 -URL-first入力 — 通常、ショート、ショート、埋め込み、ライブ、および未加工ビデオIDフォーマットを受け入れる。
- 非効率なフィルタリング — トランスクリプト内を検索し、ビデオ全体でトークンを消費するのではなく、近くのコンテキストを返します。 -フルYouTubeインテリジェンス - オプションのAPIモードは、コメント、ビデオ/チャンネルの統計、傾向、および比較を追加します。
- リモートネイティブMCP — [
/mcp] で HTTP 転送を合理化し、さらに Docker と Smithery のサポート。
建築と信頼境界
MCP 層は、入力を検証し、構造化された証拠を返します。それは、要約や引用を発明するためにモデルを尋ねません。 トランスクリプト ツール 派手なタイムスタンプとキャプション セグメントからのキャノンリンク.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
YouTube Research MCP
Turn YouTube videos into citation-ready research for Codex, Claude, Cursor, and other MCP clients. Paste a video URL and get transcript evidence with timestamps and links that open at the exact quoted moment.
Input: https://youtu.be/dQw4w9WgXcQ
Output: [01:05] ...evidence text...
https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=65s
No YouTube API key is required for transcript research.
Why this server
- Citation-ready research — every transcript segment includes a timestamp and source URL.
- Zero-key quick start — transcripts work immediately; add an API key only for search and analytics.
- URL-first input — accepts normal, short, Shorts, embed, live, and raw video-ID formats.
- Agent-efficient filtering — search inside transcripts and return nearby context instead of spending tokens on the entire video.
- Full YouTube intelligence — optional API mode adds comments, video/channel statistics, trends, and comparisons.
- Remote-native MCP — Streamable HTTP transport at
/mcp, plus Docker and Smithery support.
Architecture and trust boundary
flowchart LR
C[MCP client] -->|stdio or Streamable HTTP| T[Transport]
T --> R[Tool and resource registry]
R --> S[YouTubeService]
S --> K[(In-memory cache)]
S -->|no key required| YT[Caption tracks]
S -->|optional API key| API[YouTube Data API v3]
The MCP layer validates inputs and returns structured evidence; it does not ask a model to invent summaries or citations. Transcript tools derive timestamps and canonical links from caption segments. Data API tools return an explicit key-required error when YOUTUBE_API_KEY is unavailable, and remote authentication is enforced before MCP session handling.
Focused evidence, not a transcript dump
The included live smoke test asks a focused question about a public video and compares the response with the full timestamped transcript:
インストール
npx -y @coyasong/youtube-mcp-server@latest