MCP.so
登录

YouTube Data MCP Server

@diasm3

基本信息

分类

媒体与设计

传输方式

stdio

作者

diasm3

关于 YouTube Data MCP Server

暂无概览

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

YouTube Data MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "youtube-data": {
      "command": "npx",
      "args": [
        "-y",
        "youtube-data-mcp"
      ],
      "env": {
        "SERPAPI_KEY": "your_serpapi_key_here"
      }
    }
  }
}

YouTube Data MCP Server 工具

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.

概览

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.

常见问题

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.

评论

媒体与设计 分类下的更多 MCP 服务器