Youtube Data MCP Server

YouTube MCP Server Implementation

Local serverstdio

What is the Youtube Data MCP server?

YouTube MCP Server Implementation. That is what the youtube data mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

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.

The tools it exposes

The server publishes 9 tools. What each one is for:

  • getVideoDetails — Get detailed information about multiple YouTube videos including metadata, statistics, and content details
  • searchVideos — Search for videos based on a query string
  • getTranscripts — Retrieve transcripts for multiple videos
  • getRelatedVideos — Get videos related to a specific video based on YouTube's recommendation algorithm
  • getChannelStatistics — Retrieve detailed metrics for multiple channels including subscriber count, view count, and video count
  • getChannelTopVideos — Get the most viewed videos from a specific channel
  • getVideoEngagementRatio — Calculate engagement metrics for multiple videos (views, likes, comments, and engagement ratio)
  • getTrendingVideos — Get currently popular videos by region and category
  • compareVideos — Compare statistics across multiple videos

Getting it running

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: YOUTUBE_API_KEY, YOUTUBE_TRANSCRIPT_LANG. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Youtube Data's toolset — getVideoDetails, searchVideos, getTranscripts and 6 more — is a fair guide to whether it matches your workflow. It is maintained by icraft2170; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Youtube Data's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Youtube Data.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

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

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
YOUTUBE_API_KEYCredential the server authenticates with.Yes
YOUTUBE_TRANSCRIPT_LANGConfiguration value read at startup.Optional

Example prompts to try

  • Use Youtube Data to getVideoDetails.
  • Use Youtube Data to searchVideos.
  • Use Youtube Data to getTranscripts.

Frequently asked questions

It connects Youtube Data to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (getVideoDetails, searchVideos, getTranscripts, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Youtube Data directly.