YouTube MCP Server
Provides tools to analyze YouTube channel performance, retrieve video details, comments, and search channel videos via the YouTube Data API v3.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@YouTube MCP ServerShow me my channel stats"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
YouTube MCP Server 🎬
A local MCP (Model Context Protocol) server that connects Claude to your YouTube channel. Analyze videos, track performance, read comments, and get AI-powered niche suggestions — all inside Claude.
Features
Tool | What it does |
| Subscribers, total views, video count, keywords |
| Recent videos with views, likes, comments, duration |
| Deep stats + engagement rate for one video |
| Audience sentiment from top comments |
| Find videos on your channel by keyword |
| Avg views, top/bottom performers, tag analysis |
Related MCP server: YouTube MCP Server
Setup
1. Get a YouTube Data API Key
Go to Google Cloud Console
Create a new project (or use an existing one)
Go to APIs & Services → Library → search YouTube Data API v3 → Enable it
Go to APIs & Services → Credentials → Create Credentials → API Key
Copy the key
2. Find Your Channel ID
Go to your YouTube channel
The URL will be:
https://www.youtube.com/channel/UCxxxxxxxxxxxxxxxxThe part after
/channel/is your Channel IDOr: Go to https://www.youtube.com/account_advanced to find it directly
3. Configure the Server
# In the youtube-mcp folder:
cp .env.example .envEdit .env and fill in:
YOUTUBE_API_KEY=AIzaSy...your key here...
YOUTUBE_CHANNEL_ID=UCxxxxxxxxxxxxxxxx4. Build the Server
npm install
npm run buildConnect to Claude.ai
Open Claude.ai → click your profile icon → Settings
Go to Integrations (or MCP Servers)
Click Add MCP Server
Fill in:
Name:
YouTube ChannelType:
stdioCommand:
nodeArgs:
/full/path/to/youtube-mcp/dist/index.jsEnv: Add
YOUTUBE_API_KEYandYOUTUBE_CHANNEL_IDfrom your.env
Alternative: claude_desktop_config.json
If you're using the Claude Desktop app, add this to your config file:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"youtube": {
"command": "node",
"args": ["/full/path/to/youtube-mcp/dist/index.js"],
"env": {
"YOUTUBE_API_KEY": "your_api_key_here",
"YOUTUBE_CHANNEL_ID": "your_channel_id_here"
}
}
}
}Restart Claude after saving.
Usage Examples
Once connected, just ask Claude naturally:
"Show me my channel stats"
"List my last 20 videos sorted by views"
"Analyze my channel performance and suggest what niches are working"
"Get the top comments from video ID dQw4w9WgXcQ"
"Search my channel for videos about cooking"
Free Tier Limits
The YouTube Data API v3 gives you 10,000 units/day for free.
Approximate costs:
list_videos(20 videos) ≈ 102 unitsget_video_details≈ 3 unitsanalyze_channel_performance≈ 102 unitsget_top_comments≈ 3 units
You can easily do dozens of analyses per day within the free quota.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SulavKharel/Youtube-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server