YouTube Subtitles

by kazuph

4 stars
1.9k downloads
Not rated
GitHub

About

Integrates YouTube subtitle retrieval for natural language queries about video content.

Details

Author
kazuph
Repository
kazuph/mcp-youtube
GitHub stars
4
Downloads
1,932
License
MIT License
Categories
AI, Design, Developer Tools, Media, Infrastructure, Project Management
Tags
#integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name YouTube Subtitles
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @kazuph/mcp-youtube

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "youtube subtitles": {
            "env": {},
            "args": [
                "-y",
                "@kazuph/mcp-youtube"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@kazuph/mcp-youtube"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@kazuph/mcp-youtube"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@kazuph/mcp-youtube"
    ],
    "command": "cmd"
}

YouTube MCP Server

Uses yt-dlp to download subtitles from YouTube and connects it to claude.ai via Model Context Protocol. Try it by asking Claude, "Summarize the YouTube video <<URL>>". Requires yt-dlp to be installed locally e.g. via Homebrew.

How do I get this working?

Install yt-dlp (Homebrew and WinGet both work great here)

# macOS
brew install yt-dlp

Windows

winget install yt-dlp

Parameters

- url: YouTube video URL (required)
- language: Subtitle language code (optional, default: 'ja')
- Uses ISO 639-1 language codes
- Common language codes:
- ja: Japanese
- en: English
- ko: Korean
- zh: Chinese
- fr: French
- Note: An error will occur if subtitles in the specified language do not exist

Example

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "@kazuph/mcp-youtube"]
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.