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

yt-transcript-mcp

v0.1.3

Published

MCP server that fetches YouTube video transcripts using yt-dlp - supports local (stdio) and remote (HTTP/SSE) deployment

Readme

yt-transcript-mcp

npm version TypeScript License: MIT

MCP server that fetches YouTube video transcripts. Works with Claude Code, Claude Desktop, OpenCode, and any MCP-compatible client.

🚀 Now supports both local and remote deployment!

  • Local mode: stdio transport via npx (for desktop apps)
  • Remote mode: HTTP/SSE transport (for mobile apps, cloud deployment)

Quick Install

Claude Code

claude mcp add yt-transcript -- npx -y yt-transcript-mcp

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "yt-transcript": {
      "command": "npx",
      "args": ["-y", "yt-transcript-mcp"]
    }
  }
}

Restart Claude Desktop after saving.

OpenCode

Edit ~/Library/Application Support/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "yt-transcript": {
      "type": "local",
      "command": ["npx", "-y", "yt-transcript-mcp"],
      "enabled": true
    }
  }
}

Restart OpenCode after saving.

Usage

Once connected, the agent has access to the get_transcript tool.

Examples:

  • "Get the transcript of https://youtu.be/dQw4w9WgXcQ and summarize it"
  • "Fetch the transcript from this video and list the main topics"
  • "Get the Spanish transcript (lang: es) for this YouTube link"

Tool Parameters:

| Parameter | Required | Default | Description | | --------- | -------- | ------- | ---------------------------------------------------- | | url | Yes | - | YouTube video URL | | lang | No | en | Subtitle language code (e.g. es, fr, de, ja) |

The tool returns the video title and full transcript as plain text.

Remote Deployment

Deploy this MCP server to the cloud for remote access (e.g., from Claude mobile app).

Deploy to Render (Free Tier)

  1. Fork this repository on GitHub
  2. Sign up for Render
  3. Click "New +" → "Web Service"
  4. Connect your GitHub repository
  5. Render will automatically detect the render.yaml configuration
  6. Click "Create Web Service"
  7. Wait for deployment to complete
  8. Copy your service URL (e.g., https://yt-transcript-mcp.onrender.com)

Configure in Claude Desktop for remote access:

{
  "mcpServers": {
    "yt-transcript": {
      "url": "https://your-service.onrender.com/mcp",
      "transport": "sse"
    }
  }
}

Note: Render free tier has 750 hours/month limit and services may spin down after inactivity (cold starts).

Deploy to Hetzner (or any Docker host)

  1. SSH into your server
  2. Clone the repository:
    git clone https://github.com/alialfredji/yt-transcript-mcp.git
    cd yt-transcript-mcp
  3. Deploy with Docker Compose:
    docker-compose up -d
  4. The server will be available at http://your-server-ip:3000/mcp
  5. Set up a reverse proxy (nginx/caddy) with HTTPS for production use

Configure in Claude Desktop:

{
  "mcpServers": {
    "yt-transcript": {
      "url": "https://your-domain.com/mcp",
      "transport": "sse"
    }
  }
}

Manual Docker Deployment

# Build the image
docker build -t yt-transcript-mcp .

# Run the container
docker run -d \
  --name yt-transcript-mcp \
  -p 3000:3000 \
  -e NODE_ENV=production \
  --restart unless-stopped \
  yt-transcript-mcp

# Check health
curl http://localhost:3000/health

Local Development

git clone https://github.com/alialfredji/yt-transcript-mcp.git
cd yt-transcript-mcp
npm install
npm run build

# Run in stdio mode (default)
npm start

# Or run in HTTP mode for testing
npm run dev:http