YouTube MCP Server

Enables AI assistants to interact with the YouTube API through the Model Context Protocol (MCP).

Local serverstdioPython★ 1

What is the YouTube MCP Server?

Enables AI assistants to interact with the YouTube API through the Model Context Protocol (MCP).

What the server does

This is an MCP (Model Context Protocol) server that allows Claude and other AI assistants to interact with the YouTube API. The server provides tools to search for videos, get details about specific videos, search for channels, and obtain detailed information about channels.

Model Context Protocol (MCP) is an open standard developed by Anthropic (creators of Claude) to connect AI assistants with external data sources and tools. It allows models like Claude to access up-to-date information and perform actions in external systems in a standardized way.

Credentials and setup notes

  • Node.js v16 or higher - A YouTube API key (obtained from the Google Developer Console)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

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
querystring, required): Search terms
maxResultsnumber, optional): Maximum number of results (between 1 and 50)
pageTokenstring, optional): Token to get the next page of results
videoIdstring, required): YouTube video ID
channelIdstring, required): YouTube channel ID

How to install the YouTube MCP Server

{
  "mcpServers": {
    "youtube": {
      "command": "node",
      "args": [
        "path/to/youtube-mcp-server/index.js"
      ],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY"
      }
    }
  }
}

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

Configuration

  • Node.js v16 or higher - A YouTube API key (obtained from the Google Developer Console)
VariableDescriptionRequired
YOUTUBE_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

It's a server that allows AI assistants, like Claude, to interact with the YouTube API using the Model Context Protocol (MCP). It provides tools to search for videos and channels, and get details about them.