Search videos, manage playlists, read comments, and pull analytics from YouTube Data API v3.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"youtube": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-youtube",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the search_videos tool to search youtube videos by keyword. returns video ids, titles, descriptions, channel info, and thumbnails”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Search videos, manage playlists, subscribe to channels, post comments, and pull analytics from YouTube Data API v3 — all from any AI agent.
YouTube is the world's largest video platform. This MCP server gives your agents complete access to the YouTube Data API v3 and YouTube Analytics API: searching and browsing videos and channels, managing playlists, reading comments, rating content, and pulling detailed performance analytics for creators.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-youtube
| Tool | Description |
|---|---|
search_videos | Search YouTube videos by keyword with order and duration filters |
get_video | Get full video details: title, duration, viewCount, likeCount, publishedAt |
list_channel_videos | List videos uploaded by a specific channel |
get_video_categories | Get available YouTube video categories for a region |
rate_video | Like, dislike, or remove rating from a video (OAuth) |
get_video_captions | List available caption/subtitle tracks for a video |
get_channel | Get channel details: title, subscriberCount, videoCount, viewCount |
search_channels | Search for channels by keyword |
get_my_channel | Get authenticated user's channel stats (OAuth) |
get_channel_sections | Get featured sections on a channel page |
subscribe_to_channel | Subscribe authenticated user to a channel (OAuth) |
list_playlists | List playlists for a channel or authenticated user |
get_playlist | Get playlist details: title, description, itemCount, privacy |
create_playlist | Create a new playlist with title and privacy setting (OAuth) |
update_playlist | Update playlist title, description, or privacy status (OAuth) |
delete_playlist | Delete a playlist by ID (OAuth) |
list_comments | Get top-level comments for a video sorted by time or relevance |
reply_to_comment | Post a reply to an existing comment (OAuth) |
get_video_analytics | Get per-video analytics: views, watchTime, likes by date range (OAuth) |
get_channel_analytics | Get channel analytics: views, subscribers, watchTime, revenue (OAuth) |
| Variable | Required | Description | How to Get |
|---|---|---|---|
YOUTUBE_API_KEY | For read ops | YouTube Data API v3 key | Google Cloud Console → APIs & Services → Credentials → Create API Key → restrict to YouTube Data API v3 |
YOUTUBE_ACCESS_TOKEN | For write/analytics | OAuth 2.0 access token with youtube and yt-analytics.readonly scopes | OAuth Playground or use Google OAuth 2.0 flow |
Minimum scopes for full access:
https://www.googleapis.com/auth/youtube — read/write YouTube accounthttps://www.googleapis.com/auth/yt-analytics.readonly — read analyticsRead-only tools (search, get video, list channels) work with just an API key. Write tools and analytics require an OAuth access token.
YOUTUBE_API_KEY and/or YOUTUBE_ACCESS_TOKEN under Project → SecretsOnce added, every AI agent in your workspace can search YouTube, manage content, and analyze performance automatically.
"Search YouTube for the top 5 most viewed cooking videos this month"
"Get the subscriber count and total views for channel UCuAXFkgsw1L7xaCfnd5JJOw"
"Create a new private playlist called 'AI Research Talks' on my YouTube channel"
"Show me analytics for my video dQw4w9WgXcQ for the last 30 days"
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-youtube \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-YOUTUBE-API-KEY: your-api-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_videos","arguments":{"query":"machine learning tutorial","maxResults":5,"order":"viewCount"}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-youtube
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Yes. The Youtube MCP includes a create_playlist tool that lets Claude create playlists in your Youtube account from a plain-English prompt. You can also update and delete playlists — no Youtube UI needed.
Yes. The Youtube MCP has search and list tools for videos. Ask Claude to find videos by any criteria and it runs the Youtube API query for you, returning results directly in the conversation.
Yes. The Youtube MCP uses the open Model Context Protocol standard, so it works in Claude, Cursor, Windsurf, and any other MCP-compatible AI tool. All 20 Youtube tools are available everywhere you connect it — install once on Aerostack.
Yes. The Youtube MCP includes tools to update playlists in your Youtube account. Tell Claude what to change in plain English — it reads the current state and applies the update via the Youtube API.