# Youtube [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/pipeworx-io/mcp-youtube  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1033  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/youtube-3

## Description
YouTube MCP — wraps the YouTube Data API v3 (BYO API key)

## Tools
Capabilities this server exposes over MCP:

- **yt_search** — Search YouTube for videos, channels, or playlists. Returns snippet info including title, description, channel, thumbnails, and publish date.
- **yt_video_details** — Get detailed information about one or more YouTube videos including title, description, channel, duration, view/like/comment counts, and tags.
- **yt_channel_details** — Get YouTube channel information and statistics including subscriber count, video count, view count, description, and custom URL.
- **yt_channel_videos** — List recent videos from a YouTube channel, ordered by date. Returns video ID, title, description, and publish date.
- **yt_video_comments** — Get top-level comment threads on a YouTube video. Returns author, text, like count, and publish date.
- **yt_video_transcript** — Get the transcript (captions) of a YouTube video: timestamped segments plus the joined text, the caption language, and whether the track is auto-generated. No API key needed. Use it to summarize, quote or search what is said in a video. Long videos are paged: pass the returned next_start_seconds as start_seconds to continue. A video with no captions returns a captions_unavailable error, never an empty transcript.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "youtube": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-youtube"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": "",
      "NODE_USE_ENV_PROXY": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS`, `NODE_USE_ENV_PROXY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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:

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

To use the local bridge, configure:

```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.

_Full upstream README: https://allmcps.com/mcp/youtube-3/readme_

