@kazuph/mcp-youtube
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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 <>". 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"]
    }
  }
}

Package Sidebar

Install

npm i @kazuph/mcp-youtube

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

22 kB

Total Files

12

Last publish

Collaborators

  • kazuph