# YouTube MCP Server

SocialToAI is a hosted MCP server that lets your AI read YouTube: search videos and read video details, comments and account profiles. You add one address to Claude, ChatGPT or Cursor; there is no YouTube account, login or cookie to provide and nothing to install. Each call costs 2 credits (from $0.004); failed calls are free. Last tested 2026-10-17.

- Page: https://socialtoai.com/mcp/youtube/
- Last updated: 2026-10-18
- Last tested: 2026-10-17

## Connect

- MCP (Streamable HTTP): `https://mcp.socialtoai.com/mcp`
- Header: `Authorization: Bearer <YOUR_API_KEY>`
- The full steps for each client: https://socialtoai.com/mcp.md

### Sign in and allow

- Claude app (#claude-app): A form in the app, Customize → Connectors → Add custom connector
- ChatGPT (#chatgpt): A form in the app, ChatGPT settings → Apps → Create

### Your key in a request header

- Claude Code (#claude-code): One command, Terminal
- Cursor (#cursor): A few lines of configuration, ~/.cursor/mcp.json
- Codex (#codex): A few lines of configuration, ~/.codex/config.toml
- Trae (#trae): A few lines of configuration, MCP → Add → Configure manually
- Cherry Studio (#cherry-studio): A form in the app, Settings → MCP Servers → Add
- Dify (#dify): A form in the app, Tools → MCP → Add MCP Server (HTTP)
- n8n (#n8n): A form in the app, MCP Client Tool node

## What your AI can call on YouTube

| Tool | What it returns | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| `search` | Find videos by keyword: text, author and views. | `youtube.search` | 2 | https://socialtoai.com/youtube-search-api.md |
| `detail` | One video by ID or link: text, author, likes, comment count, views and publish time. | `youtube.detail` | 2 | https://socialtoai.com/youtube-detail-api.md |
| `comments` | The comments under one video: text, likes and reply count. | `youtube.comments` | 2 | https://socialtoai.com/youtube-comments-api.md |
| `user_profile` | One account: name, bio, followers and post count. | `youtube.user_profile` | 2 | https://socialtoai.com/youtube-user-profile-api.md |

### Only on YouTube (through the call tool)

| Interface | What it does | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| `community_posts` | Get a page of the posts on a YouTube channel's Posts tab (once Community) by channel ID or handle, newest first. | `youtube.community_posts` | 2 | https://socialtoai.com/youtube-community-posts-api.md |
| `community_post` | Get one YouTube channel post (once a Community post) by ID or link. | `youtube.community_post` | 2 | https://socialtoai.com/youtube-community-post-api.md |

## A recorded conversation

### What’s trending

> What home coffee content is taking off on TikTok and YouTube this week?

| Platform | Tool | Sent | Requests | Returned | Credits |
| --- | --- | --- | --- | --- | --- |
| TikTok | [`research viral_finder`](https://socialtoai.com/tools/viral-finder.md) | `query: "home coffee" · window: "7d" · scale: "small"` | 1 | 59 videos | 36 |
| YouTube | [`research viral_finder`](https://socialtoai.com/tools/viral-finder.md) | `query: "home coffee" · window: "7d" · scale: "small"` | 1 | 57 videos | 24 |
| **Total** |  |  | 2 | 116 items | **60** |

Recorded 2026-10-18

From 116 videos posted in the last 7 days (109 with a format the analysis could name), 15 took off (3 times the usual or more). The formats that took off most, each with its share of all the videos:

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

Used 60 credits · $0.2. Every claim links to its source.

### Brand buzz

> How is the Kindle talked about on YouTube this month?

| Platform | Tool | Sent | Requests | Returned | Credits |
| --- | --- | --- | --- | --- | --- |
| YouTube | [`brand_buzz`](https://socialtoai.com/tools/brand-buzz.md) | `brand: "Kindle" · about: "Amazon's e-reader" · platforms: ["youtube"] · window: "30d" · scale: "small"` | 1 | 39 videos | 16 |
| **Total** |  |  | 1 | 39 items | **16** |

Recorded 2026-10-18

39 of the 39 posts found are about it: 28% positive, 46% neutral, 26% negative. What they mention most:

1. **Comparison with others** (41%, 16 videos): [“I Tried Every New Kindle: Here Is The One You Should Buy”](https://www.youtube.com/watch?v=f13Y9H7zooU)
2. **Design** (15%, 6 videos): [“This Is What Colour E-Ink Should Look Like”](https://www.youtube.com/watch?v=_qmibc955iI)
3. **Price** (10%, 4 videos): [“New Kindle Prices”](https://www.youtube.com/watch?v=9oT8_71sX8c)

Used 16 credits · $0.053. Every claim links to its source.

### Comment analysis

> What do viewers complain about in the comments of new Kindle reviews on YouTube?

| Platform | Tool | Sent | Requests | Returned | Credits |
| --- | --- | --- | --- | --- | --- |
| YouTube | [`comment_insights`](https://socialtoai.com/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 comments | 50 |
| **Total** |  |  | 1 | 184 items | **50** |

Recorded 2026-10-18

I read 184 comments under 2 review videos; 77 of the 181 that could be judged complain about something. The complaints that come up most:

1. **Prices that feel like a rip-off** (13%, 24 comments): [“this new one feels like a robbery.”](https://www.youtube.com/watch?v=GW-FpfCx0Js)
2. **No warm light** (10%, 19 comments): [“No warm light is a crime”](https://www.youtube.com/watch?v=GW-FpfCx0Js)
3. **Amazon's business practices** (7%, 12 comments): [“they locked their ecosystem and stole my books”](https://www.youtube.com/watch?v=GW-FpfCx0Js)

Used 50 credits · $0.17. Every claim links to its source.

## Questions to ask

- Which is bigger on YouTube this week: home coffee or matcha? → search, search: 4 credits ($0.013)
- Read the comments on this YouTube video and tell me what people complain about. → detail, comments × 3: 8 credits ($0.027)
- Look up this YouTube account and tell me who it is. → user_profile: 2 credits ($0.0067)

## What it cannot do

- **No trending and posts on YouTube**: These actions are not offered on YouTube. A call answers that the action is not supported and costs nothing. `trending`, `user_posts`
- **Fields YouTube does not give**: They come back as null and are listed in the answer's unavailable, so your AI reads them as “not given”, not as zero. `text`, `published_at`, `author.verified`, `author.followers`, `metrics.likes`, `metrics.comments`, `metrics.shares`, `metrics.collects`, `metrics.reposts`, `hashtags`, `is_pinned`, `url`, `content_id`, `following`
- **It reads. It does not post.**: Your AI cannot post, comment, like, follow or send messages on YouTube through SocialToAI.
- **Only what is publicly visible**: Content and account information anyone can see on YouTube. Nothing behind a login: no private accounts, no direct messages, no feed of your own.

## Related pages

- [YouTube API](https://socialtoai.com/platforms/youtube.md)
- [How do I find out how a product is talked about on YouTube with AI?](https://socialtoai.com/docs/guides/track-brand-mentions-on-youtube.md)
- [How do I find out what viewers complain about in YouTube comments with AI?](https://socialtoai.com/docs/guides/analyse-youtube-comments.md)
- [How do I ask my AI what is taking off on TikTok and YouTube?](https://socialtoai.com/docs/guides/see-what-is-trending-on-tiktok-and-youtube.md)
- [TikTok MCP Server](https://socialtoai.com/mcp/tiktok.md)
- [Instagram MCP Server](https://socialtoai.com/mcp/instagram.md)
- [X (Twitter) MCP Server](https://socialtoai.com/mcp/x.md)
- [Reddit MCP Server](https://socialtoai.com/mcp/reddit.md)
- [Xiaohongshu (RedNote) MCP Server](https://socialtoai.com/mcp/xiaohongshu.md)
- [Douyin MCP Server](https://socialtoai.com/mcp/douyin.md)
- [Weibo MCP Server](https://socialtoai.com/mcp/weibo.md)
