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

youtube-live-mcp

v1.0.1

Published

MCP server for controlling YouTube Live Streaming via the YouTube Data API v3

Readme

YouTube Live MCP

MCP server for controlling YouTube Live Streaming from Claude Code, Claude Desktop, or any MCP client.

Create broadcasts, go live, manage chat, and monitor stream health — all through the Model Context Protocol.

What it does

This server wraps the YouTube Live Streaming API v3 and exposes it as MCP tools. Combined with obs-mcp, you get fully automated live streaming from your AI assistant.

Tools

Broadcasts (8 tools)

  • yt-create-broadcast — Create a new live broadcast
  • yt-list-broadcasts — List broadcasts (filter by status)
  • yt-get-broadcast — Get broadcast details
  • yt-update-broadcast — Update title, description, privacy
  • yt-delete-broadcast — Delete a broadcast
  • yt-bind-stream — Bind a video stream to a broadcast
  • yt-transition-broadcast — Go live, end broadcast (testing/live/complete)
  • yt-insert-cuepoint — Insert ad break during live

Streams (4 tools)

  • yt-create-stream — Create stream, get RTMP URL + key
  • yt-list-streams — List your streams
  • yt-get-stream — Get stream details + health
  • yt-delete-stream — Delete a stream

Chat (6 tools)

  • yt-list-chat-messages — Read live chat
  • yt-send-chat-message — Post to live chat
  • yt-delete-chat-message — Remove a message
  • yt-list-moderators — List chat moderators
  • yt-add-moderator — Add a moderator
  • yt-remove-moderator — Remove a moderator

Status (2 tools)

  • yt-get-broadcast-status — Broadcast lifecycle state
  • yt-get-stream-health — Real-time stream health

Prerequisites

  1. Node.js 18+
  2. Google Cloud project with the YouTube Data API v3 enabled
  3. OAuth2 credentials (Desktop application type)

Setting up Google Cloud

  1. Go to Google Cloud Console
  2. Create a project (or use an existing one)
  3. Enable the YouTube Data API v3 at API Library
  4. Go to CredentialsCreate CredentialsOAuth 2.0 Client ID
  5. Application type: Desktop app
  6. Note your Client ID and Client Secret

Installation

Claude Desktop / Claude Code

Add to your claude_desktop_config.json or .claude/settings.json:

{
  "mcpServers": {
    "youtube-live": {
      "command": "npx",
      "args": ["-y", "youtube-live-mcp@latest"],
      "env": {
        "YOUTUBE_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
        "YOUTUBE_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Manual

npm install -g youtube-live-mcp
YOUTUBE_CLIENT_ID="..." YOUTUBE_CLIENT_SECRET="..." youtube-live-mcp

Authentication

On first run, the server opens your browser for Google OAuth consent. After authorizing, tokens are stored in ~/.youtube-live-mcp/tokens.json and refreshed automatically.

Required scope: https://www.googleapis.com/auth/youtube

Usage: Go Live in 7 Steps

With both youtube-live-mcp and obs-mcp installed:

1. yt-create-broadcast    → Create the YouTube event
2. yt-create-stream       → Get RTMP URL + stream key
3. obs-set-stream-settings → Configure OBS with RTMP details
4. yt-bind-stream         → Connect stream to broadcast
5. obs-start-stream       → Start sending video from OBS
6. yt-transition-broadcast → testing → validate feed
7. yt-transition-broadcast → live → YOU'RE LIVE

To end: yt-transition-broadcast complete + obs-stop-stream

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | YOUTUBE_CLIENT_ID | Yes | OAuth2 client ID | | YOUTUBE_CLIENT_SECRET | Yes | OAuth2 client secret |

API Quota

YouTube API has a daily quota of 10,000 units. Read operations cost ~1 unit, write operations cost ~50 units. Normal streaming use stays well within limits.

License

MIT

Built by

Runway Services — a humanistic sales and marketing agency.