PA

pauling-ai/youtube-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

35 stars 32 forks 品質 80 トレンド 9MIT

YouTube Data API v3、Analytics API、レポーティングAPI用の包括的なMCPサーバー。 チャネル分析、ビデオ出版、トランスクリプト、オーディエンスインサイト、SEOの発見、コメント、およびバルクのための40ツール...

概要

YouTube Data API v3、Analytics API、およびレポーティングAPI用の包括的なモデルコンテキストプロトコルサーバー。 AI アシスタントが YouTube チャネルにフルアクセス — 分析、ビデオ管理、コメントなどを提供します。 カバー: - チャンネル&ビデオデータ - YouTube Analytics(パフォーマンス、オーディエンス、保持、収益) - ビデオパブリッシング&プレイリスト管理 - トランスクリプト抽出 - YouTube SEO(検索提案、トレンディング) - コメント - バルクレポート YouTube MCP サーバは、トランスクリプトのスクレイピングや基本的な検索に集中しています.

概要(AI 翻訳)

YouTube Data API v3、Analytics API、およびレポーティングAPI用の包括的なモデルコンテキストプロトコルサーバー。 AI アシスタントが YouTube チャネルにフルアクセス — 分析、ビデオ管理、コメントなどを提供します。

40 ツール カバー:

  • チャネルとビデオデータ
  • YouTube Analytics(パフォーマンス、オーディエンス、保持、収益)
  • ビデオ出版&プレイリスト管理
  • トランスクリプト抽出
  • YouTube SEO(検索提案、トレンディング)
  • コメント
  • バルク報告

#このサーバーはなぜですか?

YouTube MCP サーバは、トランスクリプトのスクレイピングや基本的な検索に集中しています。 このサーバは、three YouTube APIs をカバーし、MCP サーバが提供している唯一のオープンソースです。

-YouTube Analytics API — チャネルパフォーマンス、トップビデオ/ショート、オーディエンス保持曲線、トラフィックソース、人口統計、収益、週次分析 -YouTube Reporting API - バルクCSVレポートのスケジュールとダウンロード -フルデータAPIカバレッジ — 読み込みだけでなく、ビデオのアップロード、プレイリストの管理、コメント投稿、サムネイルの設定

  • YouTube SEOツール — オートコンプリート提案、トレンディングビデオ、カテゴリの発見

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

YouTube MCP Server

A comprehensive Model Context Protocol server for the YouTube Data API v3, Analytics API, and Reporting API. Gives AI assistants full access to your YouTube channel — analytics, video management, comments, and more.

40 tools covering:

  • Channel & video data
  • YouTube Analytics (performance, audience, retention, revenue)
  • Video publishing & playlist management
  • Transcript extraction
  • YouTube SEO (search suggestions, trending)
  • Comments
  • Bulk reporting

Why This Server?

Existing YouTube MCP servers focus narrowly on transcript scraping or basic search. This server covers three YouTube APIs and is the only open-source MCP server that provides:

  • YouTube Analytics API — channel performance, top videos/Shorts, audience retention curves, traffic sources, demographics, revenue, day-of-week analysis
  • YouTube Reporting API — schedule and download bulk CSV reports
  • Full Data API coverage — not just read, but also upload videos, manage playlists, post comments, set thumbnails
  • YouTube SEO tools — autocomplete suggestions, trending videos, category discovery
  • Dual transcript strategy — official captions API for your own videos, youtube-transcript-api fallback for any public video
  • Quota tracking — client-side tracking with hard-fail protection so you don’t silently exhaust your daily quota
Feature This server Others
Analytics API (watch time, retention, CTR) Yes No
Reporting API (bulk CSV exports) Yes No
Video upload & management Yes Rare
Playlist management Yes Rare
Comments (read + write) Yes No
SEO / trending / suggestions Yes No
Transcript extraction Yes Yes
Quota tracking Yes No
Total tools 40 1-5

Prerequisites

  • Python 3.11+
  • A Google Cloud project with YouTube APIs enabled
  • OAuth 2.0 credentials

Google Cloud Setup

1. Create a Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project (or use an existing one)

2. Enable APIs

Enable all three APIs in APIs & Services > Library:

  • YouTube Data API v3
  • YouTube Analytics API
  • YouTube Reporting API
  1. Go to APIs & Services > OAuth consent screen
  2. Set User Type to External
  3. Fill in the app name and required fields
  4. Add the Google account that owns your YouTube channel as a test user

Important: You must sign in with the Google account that owns the YouTube channel, not a manager. Only the owner account can access Analytics data.

4. Create OAuth Credentials

  1. Go to APIs & Services > Credentials
  2. Click Create Credentials > OAuth client ID
  3. Application type: Desktop app
  4. Download the JSON file
  5. Save it as ~/.youtube-mcp/client_secret.json
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "youtube": { "command": "youtube-studio-mcp" } } }