youtube-mcp
Provides tools for extracting video transcripts, metadata, comments, and channel statistics from YouTube.
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-mcpsummarize transcript of dQw4w9WgXcQ"
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 Model Context Protocol (MCP) server for extracting and processing YouTube video content. This server provides tools for LLMs to directly read video transcripts, analyze metadata, search within videos, fetch top comments, and get channel statistics.
Features
Transcript Extraction: Fetch video subtitles/transcripts with timestamps (No API Key Required).
Video Summarization: Intelligent transcript chunking for LLM summarization.
Transcript Search: Search for specific words or phrases and get exact YouTube timestamp links.
Video Metadata: Fetch views, likes, descriptions, duration, and tags (Requires API Key).
Top Comments: Fetch the most relevant comments of a video.
Channel Info: Get subscriber count, total video count, and channel creation date.
Related MCP server: YouTube Insights MCP Server
Prerequisites
Node.js 18 or higher (v22+ recommended)
A YouTube Data API v3 Key (Only required for metadata, comments, and channel info)
Installation
# 1. Clone or download the repository
# 2. Install dependencies
npm install
# 3. Build the project
npm run buildConfiguration
For tools requiring an API key (video info, comments, channel info), you need to get a free API key from Google Cloud Console.
Copy the example env file:
cp .env.example .envAdd your YouTube Data API v3 key to the
.envfile:YOUTUBE_API_KEY=YOUR_API_KEY_HERE
Development
# Run in development mode (auto-reload on save)
npm run devAdding to Cursor / Claude Desktop
Add the following to your mcp_config.json file:
{
"mcpServers": {
"youtube-mcp": {
"command": "node",
"args": ["/absolute/path/to/youtube-mcp/dist/index.js"],
"env": {
"YOUTUBE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Tools List
Tool Name | Description | Requires API Key |
| Fetches the full transcript with timestamps | ❌ No |
| Splits transcript into smaller timestamped chunks | ❌ No |
| Searches the video text and returns timestamp links | ❌ No |
| Fetches views, likes, duration, and description | ✅ Yes |
| Fetches top comments | ✅ Yes |
| Fetches subscriber count and channel statistics | ✅ Yes |
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
- AlicenseBqualityCmaintenanceExtracts YouTube video metadata and transcripts without requiring API keys, enabling users to retrieve video information, captions, and timestamps through web scraping with built-in caching and error handling.Last updated1311MIT
- AlicenseBqualityCmaintenanceEnables extraction of transcripts, keyword-based video search with metadata retrieval, and channel information discovery from YouTube videos through natural language interaction.Last updated34MIT
- AlicenseCqualityBmaintenanceEnables AI assistants to research YouTube videos by collecting captions, comments, and channel information for analysis and comparison.Last updated109MIT
- Alicense-qualityDmaintenanceEnables LLMs to extract YouTube video transcripts with timestamps, metadata, and file export.Last updated17MIT
Related MCP Connectors
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
YouTube transcripts, subtitles, and video metadata as structured JSON via an Apify Actor.
Turn a TikTok/Instagram/YouTube link into text for your AI: metadata, transcript and image OCR.
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/OzgunTurkmen/youtube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server