MCP.so
Sign In

YouTube Data MCP Server

@diasm3

Basic information

Category

Media & Design

Transports

stdio

Author

diasm3

About YouTube Data MCP Server

No overview available yet

#youtube-data#youtube-transcripts#youtube-comments

YouTube Data MCP Server 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 tools

5

Extract transcript/subtitles from a YouTube video. Returns full text with video metadata. Supports multiple languages and optional timestamps.

Get YouTube video metadata: title, views, publish date, channel, comment count, and pagination tokens for comments.

Fetch YouTube video comments with pagination. Supports sorting by relevance or time. Use nextPageToken for pagination.

Fetch replies to a specific YouTube comment. Use repliesToken from getComments response.

Search YouTube for videos, channels, and playlists. Returns results with thumbnails, views, and channel info.

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

More Media & Design MCP servers