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

runnable-youtube-mcp-server

v0.1.2

Published

A FastMCP server for YouTube: unified video/channel/playlist info, download, and management tools for memo agents and automation.

Readme

Runnable YouTube MCP Server

A FastMCP server for YouTube: unified video/channel/playlist info, download, and management tools for memo agents and automation.


Why this project?

Most YouTube MCP servers available are either unmaintainable, fail to compile, or are implemented only in Python and provide only basic video download features.
When building my own memo agent, I found it difficult to automatically retrieve YouTube video information for summarization and automation.
This project was created to solve that problem and provide a robust, extensible, and developer-friendly YouTube MCP server.


✨ Features

  • Unified access to YouTube video, channel, and playlist information
  • Download video/audio streams in various formats and qualities
  • Extract and process video thumbnails
  • Manage playlist content (add, remove, reorder)
  • Manage video privacy status (public/private/unlisted)
  • List available subtitle languages
  • Designed for integration with memo agents and automation workflows
  • Extensible, maintainable, and fully open source

🛠️ Available Tools

| Tool Name | Description | Status | |----------------------|-----------------------------------------------------|-------------| | describeVideo | Get video information (selectable sections) | ✅ | | getDownloadOptions | Get available download formats/qualities | ❌ | | downloadVideo | Download video/audio stream | ❌ | | extractThumbnail | Extract and process video thumbnail | ❌ | | listSubtitleLanguages| Get available subtitle languages for a video | ❌ | | manageVideoStatus | Manage video privacy status | ❌ | | describeChannel | Get public channel information | ✅ | | describePlaylist | Get public playlist information | ❌ | | managePlaylistItems | Playlist content management (add/remove/reorder) | ❌ |

Only describeVideo is currently tested and working. Others are implemented but not fully tested.


🚀 Installation

Prerequisites

  • Node.js 18+
  • YouTube Data API v3 key

Install

npm install youtube-mcp-server

Environment Variables

Create a .env file or set these variables in your environment:

YOUTUBE_API_KEY=YOUR_YOUTUBE_API_KEY
DOWNLOAD_BASE_DIR=./downloads

Run in Development

npm run dev

Run in Production

npm run build
npm start

🧩 MCP Integration Example

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": [
        "tsx",
        "/PATH/TO/YOUR_PROJECT/src/server.ts"
      ],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY"
      }
    }
  }
}

🤝 Contributing

Contributions, issues and feature requests are welcome!
Visit the issues page.


📄 License

MIT License - Copyright (c) 2025 Stephen J. Li


中文版 README