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).
Docker
This is a stdio server, so the container must keep stdin open (-i):
docker build -t youtube-mcp .
docker run -i --rm -e YOUTUBE_API_KEY="sua_chave" youtube-mcpA HEALTHCHECK validates the MCP handshake on startup.
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.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables interaction with YouTube through the YouTube Data API, allowing users to search for videos, playlists, and channels, generate video titles using AI, and manage YouTube content through natural language commands.Last updated22
- FlicenseBqualityDmaintenanceEnables interaction with YouTube through search and transcript extraction functionality. Allows searching for videos and retrieving full transcripts with timestamps for content analysis.Last updated25
- AlicenseAqualityDmaintenanceEnables YouTube content browsing, video searching, and metadata retrieval via the YouTube Data API v3. It also facilitates fetching video transcripts for summarization and analysis within MCP-compatible AI clients.Last updated7311MIT
- Flicense-qualityDmaintenanceProvides YouTube video search, comment analysis, AI-powered text tools, and content generation via MCP protocol and REST API.Last updated317
Related MCP Connectors
YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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