YouTube Data API
Read YouTube data — videos, channels, playlists, search, comments — and (with OAuth) manage your own uploads. 9 tools, API key + optional OAuth Bearer.
7 天免费 · 无需信用卡 · EU 托管
问 YouTube 任何事
通过 AnythingMCP 对 YouTube Data API 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 YouTubeClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 YouTube Data API。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 YouTube Data API
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
This connector uses the YouTube Data API v3 (developers.google.com/youtube/v3).
Setup:
- Create / pick a Google Cloud project at https://console.cloud.google.com.
- APIs & Services → Library → enable YouTube Data API v3.
- Credentials → Create credentials → API key. (For write operations, also do OAuth2 client + get a Bearer token with
youtube.upload/youtubescopes — out of scope here.) - Set
YOUTUBE_API_KEYto the API key.
Authentication: query-string ?key=.... Read operations don't need OAuth.
Quota model: every API call costs units against your daily quota (default 10,000/day for new projects — request more via Google's quota form). search.list costs 100 units per call (most expensive), videos.list ~1 unit. Watch quota in the Cloud Console.
part parameter: most resources let you choose which 'parts' of the object to return — e.g. ?part=snippet,statistics,contentDetails. Slimmer = cheaper.
Pagination: nextPageToken cursor.
Out of scope here: video uploads (multipart + OAuth + resumable upload), captions, comment moderation, live broadcasts, monetization, channel branding.