1. Conduid
  2. Content
  3. youtube-hybrid
MCP server · Content

youtube-hybrid

A Model Context Protocol server providing YouTube video analysis tools using YouTube Data API and yt-dlp. Features video metadata retrieval, comment extraction, and subtitle processing for AI-powered video content analysis.

Unclaimed content
39Low

Scored 11 days ago · breakdown

About youtube-hybrid

youtube-hybrid is an MCP server published by git+jackc1111 in the Content category: a Model Context Protocol server providing YouTube video analysis tools using YouTube Data API and yt-dlp. Features video metadata retrieval, comment extraction, and subtitle processing for AI-powered video content analysis.

The repository has 1 stars and 0 forks.

Install

Install
npx youtube-hybrid-mcp
Claude Code
claude mcp add youtube-hybrid-mcp -- npx -y youtube-hybrid-mcp
npx
npx -y youtube-hybrid-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about youtube-hybrid

Powered by Claude · Grounded in docs

I know everything about youtube-hybrid. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

YouTube Hybrid MCP Server

A Model Context Protocol (MCP) server that provides YouTube video tools using both the YouTube Data API and yt-dlp.

Features

  • Get video metadata (title, description, views, likes, channelId, etc.)
  • Retrieve video comments
  • Extract video subtitles/transcripts (with auto-generated captions support)
  • Robust thumbnail extraction
  • Search videos and retrieve related channel content

Prerequisites

Installation

Via npx (after publishing)

npx youtube-hybrid-mcp

Local development

git clone <repository-url>
cd youtube-hybrid-mcp
npm install
npm run build

Getting YouTube API Key

To use this MCP server, you need a YouTube Data API v3 key. Follow these steps:

1. Create Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project or select an existing one

2. Enable YouTube Data API v3

  1. In the Cloud Console, go to "APIs & Services" > "Library"
  2. Search for "YouTube Data API v3"
  3. Click on it and enable the API

3. Create API Credentials

  1. Go to "APIs & Services" > "Credentials"
  2. Click "Create Credentials" > "API key"
  3. Copy the generated API key

4. Restrict the API Key (Recommended)

  1. Click on the created API key
  2. Under "Application restrictions":
    • Select "HTTP referrers"
    • Add your domain or leave unrestricted for development
  3. Under "API restrictions":
    • Select "Restrict key"
    • Choose "YouTube Data API v3"
  4. Save the changes

5. Set Environment Variable

export YOUTUBE_API_KEY=your_api_key_here

Note: Keep your API key secure and never commit it to version control.

Installing yt-dlp

yt-dlp is required only for the get_subtitles tool. If you don't need subtitles functionality, you can skip this step.

Windows

pip install yt-dlp

macOS

pip install yt-dlp
# or using Homebrew
brew install yt-dlp

Linux

Recommended (Latest Build):

sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp

Using package manager (may be outdated):

# Ubuntu/Debian/Mint
sudo apt install yt-dlp
# Fedora
sudo dnf install yt-dlp
# Arch Linux
sudo pacman -S yt-dlp

Verify Installation

After installation, verify yt-dlp is in your PATH:

yt-dlp --version

If yt-dlp is not found, you may need to add Python Scripts to your PATH:

  • Windows: Add %USERPROFILE%\AppData\Roaming\Python\Python3X\Scripts to PATH
  • macOS/Linux: Add ~/.local/bin to PATH

Configuration

Environment Setup

Set your YouTube API key as an environment variable:

export YOUTUBE_API_KEY=your_api_key_here

Editor/IDE Configuration

VSCode (with KiloCode extension)

Add to your MCP settings (usually in settings.json or MCP configuration):

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "youtube-hybrid-mcp"],
      "env": {
        "YOUTUBE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cursor

Add to your .cursorrules or MCP configuration:

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "youtube-hybrid-mcp"],
      "env": {
        "YOUTUBE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "youtube-hybrid-mcp"],
      "env": {
        "YOUTUBE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Other MCP-compatible editors

For any MCP-compatible editor, use this configuration:

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "youtube-hybrid-mcp"],
      "env": {
        "YOUTUBE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Usage

Run the server directly:

npm start

Or via npx:

npx youtube-hybrid-mcp

Tools

get_video_meta

Retrieves metadata for a YouTube video.

Parameters:

  • videoId (string): YouTube video ID

Returns: title, description, publishedAt, channelId, channelTitle, viewCount, likeCount, commentCount.

get_comments

Retrieves comments for a YouTube video.

Parameters:

  • videoId (string): YouTube video ID
  • maxResults (number, optional): Maximum number of comments (default: 10)

get_subtitles

Extracts subtitles/transcript from a YouTube video.

Parameters:

  • videoId (string): YouTube video ID
  • language (string, optional): Language code (default: "en")

get_related_videos

Gets videos related to a specific video (shows other videos from the same channel).

Parameters:

  • videoId (string): YouTube video ID
  • maxResults (number, optional): Maximum number of related videos (default: 10)

get_channel_info

Gets information about a YouTube channel.

Parameters:

  • channelId (string): YouTube channel ID

search_videos

Searches for videos on YouTube.

Parameters:

  • query (string): Search query
  • maxResults (number, optional): Maximum number of results (default: 10)

get_video_thumbnails

Gets thumbnail information for a video.

Parameters:

  • videoId (string): YouTube video ID

MCP Integration

This server implements the Model Context Protocol and can be used with MCP-compatible clients.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About youtube-hybrid

How do I install youtube-hybrid?

Run npx youtube-hybrid-mcp, then add the server to your MCP client's configuration.

Is youtube-hybrid safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is youtube-hybrid still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.