Youtube logo

Youtube

Searches YouTube and retrieves video, channel, comment, and caption data through MCP.

Install Youtube

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "youtube-3": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-youtube"
      ],
      "env": {
        "PIPEWORX_API_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_META_TOOLS": "YOUR_VALUE_HERE",
        "NODE_USE_ENV_PROXY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Youtube MCP server connects AI clients to YouTube through the YouTube Data API v3 and a caption retrieval path for transcripts. Youtube exposes tools for searching videos, channels, and playlists, inspecting metadata, reading comments, listing channel uploads, and retrieving timestamped captions. Most tools require your own Google Cloud API key, while transcripts are keyless. Reach for it when an agent needs structured YouTube research or searchable video text rather than browser-only access.

Use cases

  • Search YouTube for videos, channels, or playlists
  • Summarize a video from its available captions
  • Inspect channel statistics and recent uploads
  • Analyze top-level video comments
  • Retrieve video metadata and engagement counts

Key features

  • YouTube Data API v3 search and metadata access
  • Video, channel, playlist, and comment queries
  • Timestamped transcript retrieval without a YouTube API key
  • Paged handling for long captions
  • Hosted HTTP and local npm bridge options

Tools6

What Youtube lets your agent do. Expand a tool for its parameters.

Verified live~1.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 84d

What it can do

From the 6 tools this server returned when we ran it; 6 declare their own safety hints.

Handles credentials Ā· 1Makes network requests Ā· 6Read-only tools Ā· 6
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age201 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev Ā· @pipeworx/mcp-youtube (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1kPackage downloads in the last 30 days.
Last commit14d agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Youtube works

What Youtube does

Youtube provides MCP tools for working with YouTube content. It can search for videos, channels, or playlists; return detailed video and channel metadata; list a channel’s recent uploads; retrieve top-level comment threads; and obtain a video’s captions as timestamped segments and combined text.

The metadata and engagement data come from the YouTube Data API v3. Transcript retrieval uses YouTube player and caption endpoints instead, so it can work without a Data API key. The integration is unofficial and is not affiliated with YouTube.

How it works

You can connect an MCP client to the hosted pack endpoint at https://gateway.pipeworx.io/youtube/mcp, or use the full Pipeworx gateway at https://gateway.pipeworx.io/mcp. A scoped pack connection lists the YouTube tools along with shared Pipeworx tools, including routing and discovery capabilities.

A local npm bridge is also available through @pipeworx/mcp-youtube. The client starts it with npx, and the bridge forwards requests to the hosted gateway, so it requires network access and has no offline mode. The gateway can also be queried through its HTTP tool endpoints.

Setup and configuration

For a hosted MCP connection, add the pack endpoint to the client configuration:

config.json
{
  "mcpServers": {
    "youtube": {
      "url": "https://gateway.pipeworx.io/youtube/mcp"
    }
  }
}

To use the local bridge, configure:

config.json
{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-youtube"]
    }
  }
}

The local bridge allows 50 calls per day without a Pipeworx account key. A free Pipeworx account raises that limit to 200 calls per day; provide the key as PIPEWORX_API_KEY. Set PIPEWORX_META_TOOLS=1 if the local connection should also list the gateway-wide meta-tools.

Pass a YouTube Data API v3 key as the _apiKey argument for every tool except yt_video_transcript. The key must come from Google Cloud Console. Pipeworx does not provide a shared YouTube key.

Tools and capabilities

  • yt_search finds videos, channels, or playlists and returns titles, descriptions, channel information, thumbnails, and publication dates.
  • yt_video_details returns a video’s description, duration, tags, channel, and view, like, and comment counts.
  • yt_channel_details accepts a channel ID or username and returns subscriber, upload, and view statistics along with descriptive fields.
  • yt_channel_videos lists recent channel uploads in date order.
  • yt_video_comments returns top-level comment threads with authors, text, like counts, and publication dates.
  • yt_video_transcript accepts a video ID or YouTube URL and returns caption segments, joined text, language, and whether captions are auto-generated.

Long transcripts can be paged with start_seconds, using the returned next_start_seconds value. max_chars can limit the returned text.

Limitations and notes

Transcript access depends on an undocumented YouTube endpoint and may be affected by YouTube changes or automated-request blocking. The tool retries several retrieval paths, but an upstream failure can still occur. It reports captions_unavailable when a video has no usable caption track rather than returning an empty transcript. Private, removed, or region-blocked videos produce a not-found error.

Requested translation is not machine-generated when the video lacks a matching caption track; the call reports unavailable captions instead. YouTube Data API calls require the caller’s quota and key. The npm bridge also depends on network connectivity. When using an HTTPS proxy, Node’s fetch may require NODE_USE_ENV_PROXY=1 on supported Node releases.

The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Youtube

Youtube is an MCP server that connects AI clients to YouTube through the YouTube Data API v3 and caption endpoints. Its main tools search videos, channels, and playlists; retrieve video and channel details; list uploads; read comments; and fetch timestamped video transcripts without requiring an API key for transcript requests.

Install it by adding the hosted MCP URL or running the npm bridge with `npx -y @pipeworx/mcp-youtube`. The hosted configuration uses `https://gateway.pipeworx.io/youtube/mcp`; the local configuration starts the package as a stdio process and forwards requests to the gateway.

Yes, Youtube works with Cursor through the hosted MCP endpoint or the local npm bridge. Add the endpoint URL to Cursor’s MCP configuration, or configure `npx` with `@pipeworx/mcp-youtube` as the command and package argument.

You need your own YouTube Data API v3 key for every tool except `yt_video_transcript`. Pass that key as `_apiKey` when calling the metadata, search, channel, or comment tools. Transcript requests use YouTube caption retrieval and are keyless.

Retrieve it with `yt_video_transcript`, then call the tool again with the response’s `next_start_seconds` value as `start_seconds` when the result is truncated. The tool returns timestamped segments, joined text, caption language, and whether the track is auto-generated.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYoutube AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/youtube-3?style=directory)](https://allmcps.com/mcp/youtube-3)
HTML Embed
<a href="https://allmcps.com/mcp/youtube-3"><img src="https://allmcps.com/api/badge/youtube-3?style=directory" alt="Youtube on AllMCPs" /></a>