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

@akp-tools/yt-dlp-mcp

v0.0.4

Published

MCP server for retrieving video transcripts via yt-dlp

Readme

yt-dlp-mcp

An MCP server that gives AI assistants the ability to retrieve transcripts, comments, and metadata from online videos. Works with any site supported by yt-dlp — YouTube, Vimeo, Twitch, and thousands more.

Features

  • Transcripts — Download subtitles in plain text or structured JSON, with optional timestamps and time-range filtering for long videos
  • Comments — Fetch top comments sorted by popularity, including author info, likes, and pinned status
  • Subtitle tracks — List all available subtitle languages and formats for a video
  • Video metadata — Title, channel, duration, view count, and more, included with every response
  • Video insights workflow — Built-in MCP resource with a step-by-step guide for extracting key insights from videos

Prerequisites

Install yt-dlp:

# pip
pip install yt-dlp

# brew
brew install yt-dlp

# or download from https://github.com/yt-dlp/yt-dlp/releases

Installation

Claude Desktop / Claude Code

Add to your MCP server configuration:

{
  "mcpServers": {
    "yt-dlp": {
      "command": "npx",
      "args": ["-y", "@akp-tools/yt-dlp-mcp"]
    }
  }
}

Global install

npm install -g @akp-tools/yt-dlp-mcp

Then run directly:

yt-dlp-mcp

Tools

list_subtitles

Lists available subtitle tracks for a video. Returns video metadata and all available subtitle languages/formats.

url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

get_transcript

Downloads and returns the transcript of a video.

| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | url | Yes | — | Video URL | | language | No | en | Subtitle language code | | include_timestamps | No | false | Add [HH:MM:SS] timestamps | | output_format | No | text | text or json | | start_time | No | — | Start of time range (HH:MM:SS or MM:SS) | | end_time | No | — | End of time range (HH:MM:SS or MM:SS) |

For long videos, use start_time and end_time to fetch specific segments instead of the full transcript.

get_comments

Fetches top comments sorted by popularity.

| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | url | Yes | — | Video URL | | max_comments | No | 20 | Number of comments to fetch (1–500) |

get_resource

Retrieves built-in workflow guides. Useful as a fallback for MCP clients that don't support the resources protocol.

| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | resource | No | — | Resource name (omit to list all available) |

Resources

| URI | Description | |-----|-------------| | yt-dlp://instructions/video-insights | Step-by-step workflow for extracting key insights from a video using transcripts and comments |

Development

# Install dependencies
pnpm install

# Build
pnpm build

# Watch mode
pnpm dev

# Run tests
pnpm test

License

MIT