Basic information
About YouTube Data MCP Server
# YouTube Data MCP Server
YouTube Data MCP Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by diasm3. It exposes 5 tools, including getTranscript, getVideoInfo, getComments, getCommentReplies and more. Supported transport: stdio. Runtime: node. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: youtube-comments, youtube-data, youtube-transcripts.
Setup
{
"mcpServers": {
"youtube-data": {
"command": "npx",
"args": [
"-y",
"youtube-data-mcp"
],
"env": {
"SERPAPI_KEY": "your_serpapi_key_here"
}
}
}
}
{
"mcpServers": {
"youtube-data": {
"command": "npx",
"args": [
"-y",
"youtube-data-mcp"
],
"env": {
"SERPAPI_KEY": "your_serpapi_key_here"
}
}
}
}
{
"servers": {
"youtube-data": {
"command": "npx",
"args": [
"-y",
"youtube-data-mcp"
],
"env": {
"SERPAPI_KEY": "your_serpapi_key_here"
}
}
}
}
YouTube Data MCP Server — by diasm3 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"youtube-data": {
"command": "npx",
"args": [
"-y",
"youtube-data-mcp"
],
"env": {
"SERPAPI_KEY": "your_serpapi_key_here"
}
}
}
}
YouTube Data MCP Server — by diasm3 tools
-
getTranscript
— Extract transcript/subtitles from a YouTube video. Returns full text with video metadata. Supports multiple languages and optional timestamps.
url:string*, lang:string, includeTimestamps:boolean -
getVideoInfo
— Get YouTube video metadata: title, views, publish date, channel, comment count, and pagination tokens for comments.
url:string* -
getComments
— Fetch YouTube video comments with pagination. Supports sorting by relevance or time. Use nextPageToken for pagination.
url:string, limit:number, sort:string, pageToken:string -
getCommentReplies
— Fetch replies to a specific YouTube comment. Use repliesToken from getComments response.
pageToken:string* -
searchYoutube
— Search YouTube for videos, channels, and playlists. Returns results with thumbnails, views, and channel info.
query:string*, limit:number, gl:string, hl:string, sp:string, pageToken:string
Overview
What is YouTube Data MCP Server?
A Model Context Protocol (MCP) server for extracting YouTube video transcripts and comments. It provides tools to get transcripts, video info, and comments from YouTube videos for analysis and summarization.
How to use YouTube Data MCP Server?
Install dependencies, build, and run the server. Configure a SerpAPI key in a .env file. Then add the server to your Claude configuration file (e.g., claude_desktop_config.json) and restart Claude to use the tools.
Key features of YouTube Data MCP Server
- Search YouTube for videos, channels, and playlists.
- Extract subtitles/transcripts from YouTube videos.
- Fetch basic video information (title, views, publish date).
- Retrieve comments using SerpAPI with pagination support.
- Get replies to specific YouTube comments.
Use cases of YouTube Data MCP Server
- Analyze video content by extracting transcripts for summarization.
- Gather public comments for sentiment analysis or research.
- Collect channel metadata (view count, publish date) for video cataloging.
Frequently asked questions
1 Does YouTube Data MCP Server require an API key?
Yes, a SerpAPI key is required for comment and reply functionality. You can obtain one at SerpAPI.
2 What runtime does YouTube Data MCP Server need?
Node.js 16+ and TypeScript.
3 How are comments paginated?
The getReplies tool accepts an optional pageToken parameter from a previous response to fetch the next page of comments.
4 Does YouTube Data MCP Server use the official YouTube API?
No, it uses SerpAPI’s YouTube Search and Video APIs to scrape data without the official YouTube API.
5 What transports does YouTube Data MCP Server support?
The server communicates via stdin/stdout, standard for MCP servers.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In