npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opc-youtube-dl-mcp

v1.0.0

Published

MCP server wrapping yt-dlp — download videos, get formats, and extract media info for AI agents

Readme

🎬 opc-youtube-dl-mcp

MCP Server wrapping yt-dlp (180K+ stars) — video/audio download and metadata extraction for AI agents

Overview

opc-youtube-dl-mcp wraps the powerful yt-dlp CLI tool as an MCP server, enabling AI agents to fetch video metadata, list formats, and download media.

Tools

| Tool | Description | |------|-------------| | get_info | Extract video/playlist metadata (title, duration, uploader, views, etc.) | | get_formats | List all available download formats with resolutions, codecs, and sizes | | download_video | Download video or audio with format selection |

Prerequisites

# macOS
brew install yt-dlp

# Linux
pip install yt-dlp

# Or download the standalone binary
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
chmod +x /usr/local/bin/yt-dlp

Installation

npm install opc-youtube-dl-mcp

Usage

As an MCP server

{
  "mcpServers": {
    "youtube-dl": {
      "command": "npx",
      "args": ["opc-youtube-dl-mcp"]
    }
  }
}

Example: get_info

Input:  { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }
Output: { title, duration, uploader, view_count, thumbnail, description }

Example: get_formats

Input:  { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "filter": "video" }
Output: Table of format IDs, resolutions, codecs, and file sizes

Example: download_video

Input:  { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "format": "best", "audio_only": false }
Output: Downloaded: ./downloads/Rick Astley - Never Gonna Give You Up.mp4

Features

  • Metadata extraction — Title, duration, upload date, view count, description
  • Format listing — All available video/audio formats with codec details
  • Video download — Download with format selection (best, 720p, audio-only, etc.)
  • Playlist support — Works with YouTube playlists, channels, and other platforms
  • Multi-platform — Supports YouTube, Bilibili, Vimeo, and 1000+ other sites

License

MIT