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

@ctxforge-dev/mcp-youtube

v1.0.0

Published

MCP server for YouTube video content extraction and AI summarization. Transcripts, metadata, search, playlists, and multi-provider summarization.

Downloads

132

Readme

@ctxforge-dev/mcp-youtube

YouTube MCP Server by CTX Forge

npm version License: FSL-1.1-MIT MCP Compatible Node.js 18+

Extract transcripts, search videos, and summarize YouTube content from any MCP client.

Notice: This MCP leverages commonly available APIs and/or widely known and publicly used alternate approaches to deliver the required functionality. Use of this MCP and its designed approach is at the discretion of the user.


Overview

YouTube MCP Server gives AI assistants direct access to YouTube data through the Model Context Protocol. Extract full transcripts with timestamps, search for videos, pull channel and playlist metadata, and generate AI-powered summaries -- all through natural language prompts in your preferred client. No YouTube API key required for core functionality.

Features

  • youtube_transcript -- Extract full transcripts with timestamps from any YouTube video
  • youtube_video_info -- Get video metadata including title, description, duration, views, and channel details
  • youtube_search -- Search YouTube and return structured results with video metadata
  • youtube_channel_info -- Get channel metadata, statistics, and recent uploads
  • youtube_playlist -- Retrieve all videos in a playlist with metadata
  • youtube_summarize -- AI-powered video summarization with multi-provider support (Gemini CLI, Claude CLI, Ollama)
  • extract_text -- Process text through AI using the multi-provider fallback chain

Quick Start

npx (recommended)

npx @ctxforge-dev/mcp-youtube

Docker

docker run -p 3017:3017 ctxforgedev/mcp-youtube

Manual

git clone https://github.com/ctxforge-dev/mcp-youtube.git
cd mcp-youtube
npm install
npm start

Setup Wizard

npx @ctxforge-dev/mcp-youtube setup

Claude Desktop Configuration

Add the following to your Claude Desktop config file (claude_desktop_config.json):

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["@ctxforge-dev/mcp-youtube"]
    }
  }
}

For Claude Code, add via the CLI:

claude mcp add youtube -- npx @ctxforge-dev/mcp-youtube

Configuration

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | MCP_YOUTUBE_PORT | No | 3017 | Server port | | OLLAMA_HOST | No | http://localhost:11434 | Ollama URL for AI summarization | | OLLAMA_MODEL | No | qwen2.5:7b | Ollama model for summarization | | GEMINI_CLI_PATH | No | gemini | Path to Gemini CLI binary | | CLAUDE_CLI_PATH | No | claude | Path to Claude CLI binary | | SUMMARIZER_TIMEOUT_MS | No | 120000 | Summarization timeout (ms) |

No API keys are required for transcript extraction, search, or metadata retrieval. AI summarization (optional) uses the Gemini CLI, Claude CLI, or local Ollama -- no API keys are sent to this server.

Example Usage

Once connected, try these prompts in Claude or any MCP client:

Extract a transcript:

Get the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ

Summarize a video:

Summarize this video: https://www.youtube.com/watch?v=VIDEO_ID

Search and summarize:

Search YouTube for "MCP server tutorial" and summarize the top result

List playlist contents:

Get all videos from this playlist: https://www.youtube.com/playlist?list=PLAYLIST_ID

Docker Deployment

# Build and start
docker compose up -d

# Check health
curl http://localhost:3017/healthz

# View logs
docker compose logs -f

# Stop
docker compose down

API / Health Check

| Endpoint | Method | Description | |----------|--------|-------------| | /healthz | GET | Returns server status and version | | /health | GET | Alias for /healthz | | /sse | GET | MCP SSE transport endpoint | | /tools | GET | List available MCP tools |

Verify the server is running:

curl http://localhost:3017/healthz

License

This project is licensed under FSL-1.1-MIT (Functional Source License, Version 1.1, MIT Future License).

You are free to use, modify, and deploy this software for any purpose that does not compete with CTX Forge's commercial offerings. After two years from each release date, that version converts to the MIT license automatically. See the LICENSE file for full terms.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before submitting a pull request.

Links

Other CTX Forge Products

Disclaimer

This package is not affiliated with, endorsed by, or sponsored by YouTube or Google LLC. YouTube is a trademark of Google LLC. All YouTube trademarks and brand features are the property of Google LLC.