youtube-data-mcp-server MCP Server

A Model Context Protocol (MCP) server implementation utilizing the YouTube Data API. It allows AI language models to interact with YouTube content through a standardized interface.

Local serverstdioMIT

What is the youtube-data-mcp-server MCP Server?

youtube-data-mcp-server source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server implementation utilizing the YouTube Data API. It allows AI language models to interact with YouTube content through a standardized interface.”

Installation

The documented npm package is youtube-data-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares YOUTUBE_API_KEY, YOUTUBE_TRANSCRIPT_LANG. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
getVideoDetailsGet detailed information about multiple YouTube videos including metadata, statistics, and content details
searchVideosSearch for videos based on a query string
getTranscriptsRetrieve transcripts for multiple videos
getRelatedVideosGet videos related to a specific video based on YouTube's recommendation algorithm
getChannelStatisticsRetrieve detailed metrics for multiple channels including subscriber count, view count, and video count
getChannelTopVideosGet the most viewed videos from a specific channel
getVideoEngagementRatioCalculate engagement metrics for multiple videos (views, likes, comments, and engagement ratio)
getTrendingVideosGet currently popular videos by region and category
compareVideosCompare statistics across multiple videos

How to install the youtube-data-mcp-server MCP Server

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": [
        "-y",
        "youtube-data-mcp-server"
      ],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY",
        "YOUTUBE_TRANSCRIPT_LANG": "ko"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
YOUTUBE_API_KEYDeclared in the maintainer’s client configuration.Yes
YOUTUBE_TRANSCRIPT_LANGDeclared in the maintainer’s client configuration.Optional