# YouTube MCP 服务器

SocialToAI 是一个托管的 MCP 服务，让你的 AI 直接读 YouTube：搜视频，读视频详情、评论和账号资料。在 Claude、ChatGPT 或 Cursor 里填一个地址就能用，不用 YouTube 账号，不用提供 Cookie，本机也不用装任何东西。每次调用 2 积分（低至 $0.004），失败不扣。最近实测：2026-10-17。

- 页面：https://socialtoai.com/zh/mcp/youtube/
- 最近更新：2026-10-18
- 最近实测：2026-10-17

## 接入

- MCP (Streamable HTTP)：`https://mcp.socialtoai.com/mcp`
- 请求头：`Authorization: Bearer <YOUR_API_KEY>`
- 每个客户端的完整步骤：https://socialtoai.com/zh/mcp.md

### 登录后点“允许”

- Claude app (#claude-app)：应用里的表单，Customize → Connectors → Add custom connector
- ChatGPT (#chatgpt)：应用里的表单，ChatGPT 设置 → Apps → Create

### Key 放在请求头里

- Claude Code (#claude-code)：一条命令，终端
- Cursor (#cursor)：几行配置，~/.cursor/mcp.json
- Codex (#codex)：几行配置，~/.codex/config.toml
- Trae (#trae)：几行配置，MCP → 添加 → 手动配置
- Cherry Studio (#cherry-studio)：应用里的表单，设置 → MCP 服务器 → 添加
- Dify (#dify)：应用里的表单，工具 → MCP → 添加 MCP 服务（HTTP）
- n8n (#n8n)：应用里的表单，MCP Client Tool 节点

## 你的 AI 在 YouTube 上能调用什么

| 工具 | 返回什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `search` | 按关键词找视频：正文、作者和播放或阅读数。 | `youtube.search` | 2 | https://socialtoai.com/zh/youtube-search-api.md |
| `detail` | 用编号或链接取一条视频：正文、作者、点赞数、评论数、播放或阅读数和发布时间。 | `youtube.detail` | 2 | https://socialtoai.com/zh/youtube-detail-api.md |
| `comments` | 一条视频下的评论：正文、点赞数和回复数。 | `youtube.comments` | 2 | https://socialtoai.com/zh/youtube-comments-api.md |
| `user_profile` | 一个账号：名称、简介、粉丝数和作品数。 | `youtube.user_profile` | 2 | https://socialtoai.com/zh/youtube-user-profile-api.md |

### YouTube 独有的接口（通过 call 工具）

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `community_posts` | 按频道编号或账号名取一页该 YouTube 频道“帖子”栏（原“社区”）里的帖子，从最新的开始。 | `youtube.community_posts` | 2 | https://socialtoai.com/zh/youtube-community-posts-api.md |
| `community_post` | 按帖子编号或链接取一条 YouTube 频道帖子（原“社区”帖）。 | `youtube.community_post` | 2 | https://socialtoai.com/zh/youtube-community-post-api.md |

## 一次录制的对话

### 正在流行

> 这周 TikTok 和 YouTube 上，家用咖啡什么内容在火？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| TikTok | [`research viral_finder`](https://socialtoai.com/zh/tools/viral-finder.md) | `query: "home coffee" · window: "7d" · scale: "small"` | 1 | 59 条视频 | 36 |
| YouTube | [`research viral_finder`](https://socialtoai.com/zh/tools/viral-finder.md) | `query: "home coffee" · window: "7d" · scale: "small"` | 1 | 57 条视频 | 24 |
| **合计** |  |  | 2 | 116 条 | **60** |

录制于 2026-10-18

近 7 天的 116 条视频里（能判断形式的 109 条），15 条起量（达到平时的 3 倍以上）。起量最多的几种形式，占比是占全部视频的比例：

1. **教程** (24%，26 条视频)：[“October made me do it. 👻 Marshmallow Iced Latte Ingredients • 1 giant marshmallow”](https://www.tiktok.com/@probablymultitasking/video/7695837117548612878)
2. **展示** (25%，27 条视频)：[“Setting up my home coffee bar (for now hehe) ☕️🧸🤎🕯️ what do we think?!”](https://www.tiktok.com/@dr.reemabassoumi/video/7695457439486971149)
3. **故事** (20%，22 条视频)：[“I’ve been drinking mold for months.. PSA ALL AT HOME COFFEE MAKERS!”](https://www.tiktok.com/@godblessthismommess/video/7697482627208498446)

本次共 60 积分 · $0.2. 每个结论都能点回原帖.

### 品牌口碑

> 这个月 YouTube 上怎么聊 Kindle？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| YouTube | [`brand_buzz`](https://socialtoai.com/zh/tools/brand-buzz.md) | `brand: "Kindle" · about: "Amazon's e-reader" · platforms: ["youtube"] · window: "30d" · scale: "small"` | 1 | 39 条视频 | 16 |
| **合计** |  |  | 1 | 39 条 | **16** |

录制于 2026-10-18

找到的 39 条里有 39 条确实在说它：正面 28%，中性 46%，负面 26%。提到最多的是：

1. **与同类比较** (41%，16 条视频)：[“I Tried Every New Kindle: Here Is The One You Should Buy”](https://www.youtube.com/watch?v=f13Y9H7zooU)
2. **外观设计** (15%，6 条视频)：[“This Is What Colour E-Ink Should Look Like”](https://www.youtube.com/watch?v=_qmibc955iI)
3. **价格** (10%，4 条视频)：[“New Kindle Prices”](https://www.youtube.com/watch?v=9oT8_71sX8c)

本次共 16 积分 · $0.053. 每个结论都能点回原帖.

### 评论分析

> YouTube 上新款 Kindle 测评的评论区，观众在抱怨什么？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| YouTube | [`comment_insights`](https://socialtoai.com/zh/tools/comment-insights.md) | `targets: ["https://www.youtube.com/watch?v=f13Y9H7zooU","https://www.youtube.com/watch?v=GW-FpfCx0Js"] · focus: "what people think of the Kindle" · scale: "small"` | 1 | 184 条评论 | 50 |
| **合计** |  |  | 1 | 184 条 | **50** |

录制于 2026-10-18

读了 2 条测评视频下的 184 条评论，能判断的 181 条里有 77 条在抱怨，最多的是：

1. **价格贵，像被宰** (13%，24 条评论)：[“this new one feels like a robbery.”](https://www.youtube.com/watch?v=GW-FpfCx0Js)
2. **没有暖光** (10%，19 条评论)：[“No warm light is a crime”](https://www.youtube.com/watch?v=GW-FpfCx0Js)
3. **亚马逊的做法** (7%，12 条评论)：[“they locked their ecosystem and stole my books”](https://www.youtube.com/watch?v=GW-FpfCx0Js)

本次共 50 积分 · $0.17. 每个结论都能点回原帖.

## 可以这样问

- 这周 YouTube 上，家用咖啡和抹茶哪个更火？ → search, search：4 积分 ($0.013)
- 读一下这条 YouTube 视频的评论，告诉我大家在抱怨什么。 → detail, comments × 3：8 积分 ($0.027)
- 查一下这个 YouTube 账号，告诉我它是谁。 → user_profile：2 积分 ($0.0067)

## 做不到什么

- **YouTube 没有热榜和账号作品**：YouTube 不支持这些动作。调用会返回“不支持”，不扣费。 `trending`, `user_posts`
- **YouTube 给不了的字段**：这些字段返回 null，并列在返回的 unavailable 里，你的 AI 会把它读成“平台没给”，不会当成 0。 `text`, `published_at`, `author.verified`, `author.followers`, `metrics.likes`, `metrics.comments`, `metrics.shares`, `metrics.collects`, `metrics.reposts`, `hashtags`, `is_pinned`, `url`, `content_id`, `following`
- **只读，不代你发布**：你的 AI 不能通过 SocialToAI 在 YouTube 上发帖、评论、点赞、关注或发私信。
- **只有公开可见的内容**：YouTube 上任何人都能看到的内容和账号信息。登录后才看得到的都没有：私密账号、私信、你自己的推荐流。

## 相关页面

- [YouTube API](https://socialtoai.com/zh/platforms/youtube.md)
- [怎么用 AI 看 YouTube 上大家怎么聊一个产品？](https://socialtoai.com/zh/docs/guides/track-brand-mentions-on-youtube.md)
- [怎么用 AI 看 YouTube 评论区里观众在抱怨什么？](https://socialtoai.com/zh/docs/guides/analyse-youtube-comments.md)
- [怎么让 AI 告诉我 TikTok 和 YouTube 上什么内容在火？](https://socialtoai.com/zh/docs/guides/see-what-is-trending-on-tiktok-and-youtube.md)
- [TikTok MCP 服务器](https://socialtoai.com/zh/mcp/tiktok.md)
- [Instagram MCP 服务器](https://socialtoai.com/zh/mcp/instagram.md)
- [X MCP 服务器](https://socialtoai.com/zh/mcp/x.md)
- [Reddit MCP 服务器](https://socialtoai.com/zh/mcp/reddit.md)
- [小红书 MCP 服务器](https://socialtoai.com/zh/mcp/xiaohongshu.md)
- [抖音 MCP 服务器](https://socialtoai.com/zh/mcp/douyin.md)
- [微博 MCP 服务器](https://socialtoai.com/zh/mcp/weibo.md)
