YouTube MCP Server
Allows interaction with YouTube API to search videos, obtain transcripts, explore trends, retrieve channel and video metadata, and discover AI communities.
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 Serversearch for Python tutorials"
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
MCP (Model Context Protocol) server to interact with YouTube: search videos, get transcripts, find trending content, and explore AI communities.
Features
Search videos by keyword
Get trending videos by region and category
Fetch video transcripts/subtitles (no API key needed for transcripts)
Get detailed video metadata
Look up channel info and latest uploads
Read video comments
Discover and rank AI-focused communities by subscribers
Related MCP server: YouTube MCP Server
Prerequisites
YouTube Data API v3 key — get one at https://console.cloud.google.com/apis/credentials
Enable the YouTube Data API v3 in your Google Cloud project
Quick Start
cp .env.example .env
# Edit .env with your YOUTUBE_API_KEY
pip install -r requirements.txt
python server.pyTools
Tool | Description | Arguments |
| Search videos by keyword |
|
| Trending in a region |
|
| Full video metadata |
|
| Video transcript/subtitles |
|
| Channel profile and stats |
|
| Latest videos from channel |
|
| Comments sorted by relevance |
|
| Find AI communities, sorted by subscribers |
|
Register with opencode
{
"mcpServers": {
"youtube": {
"command": "python3",
"args": ["/caminho/para/youtube-mcp/server.py"],
"env": {
"YOUTUBE_API_KEY": "sua_chave"
}
}
}
}How it works
Uses the YouTube Data API v3 for metadata, search, and comments, and youtube-transcript-api for subtitles (no extra auth needed).
Tests
python -m pytest . -vThis 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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/n8nfelipe/youtube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server