YouTube Data MCP Server

by diasm3

234 downloads Not rated yet
GitHub

About

# YouTube Data MCP Server A Model Context Protocol (MCP) server for extracting YouTube video transcripts and comments. This server provides tools to get transcripts and comments from YouTube videos for analysis and summarization. ## Features - `getTranscript`: Extract subtitles/transcripts from YouTube videos -…

Explore

- getTranscript: Extract subtitles/transcripts from YouTube videos
- getVideoInfo: Get basic information about a YouTube video
- getReplies: Fetch comments for YouTube videos (using SerpAPI)
- getCommentReplies: Get replies to specific YouTube comments

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name YouTube Data MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Node.js 16+
- TypeScript
- SerpAPI API key (for comments functionality)


npm install

getTranscript

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

getVideoInfo

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

getComments

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

getCommentReplies

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

searchYoutube

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

- getTranscript: Extract transcript/subtitles from a YouTube video. Returns full text with video metadata. Supports multiple languages and optional timestamps.
- getVideoInfo: Get YouTube video metadata: title, views, publish date, channel, comment count, and pagination tokens for comments.
- getComments: Fetch YouTube video comments with pagination. Supports sorting by relevance or time. Use nextPageToken for pagination.
- getCommentReplies: Fetch replies to a specific YouTube comment. Use repliesToken from getComments response.
- searchYoutube: Search YouTube for videos, channels, and playlists. Returns results with thumbnails, views, and channel info.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "youtube data mcp server": {
            "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"
        }
    }
}

A Model Context Protocol (MCP) server for extracting YouTube video transcripts and comments. This server provides tools to get transcripts and comments from YouTube videos for analysis and summarization.

Features

- getTranscript: Extract subtitles/transcripts from YouTube videos
- getVideoInfo: Get basic information about a YouTube video
- getReplies: Fetch comments for YouTube videos (using SerpAPI)
- getCommentReplies: Get replies to specific YouTube comments

Requirements

- Node.js 16+
- TypeScript
- SerpAPI API key (for comments functionality)

Installation(for Developer)

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.