YouTube MCP Server
Allows interaction with YouTube API to search videos, obtain transcripts, explore trends, retrieve channel and video metadata, and discover AI communities.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 . -vTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Search YouTube videos, read transcripts and get public video information in your AI assistant.
YouTube for AI agents: transcripts, comments, video stats, channel monitor, Shorts captions.
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.22ISC
- FlicenseBqualityDmaintenanceEnables interaction with YouTube through search and transcript extraction functionality. Allows searching for videos and retrieving full transcripts with timestamps for content analysis.28-
- 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.71MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI models to interact with YouTube content through 18 MCP tools for videos, transcripts, channels, and playlists.-