Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Youtube Watchlater

FreeNot checked

Fetches your YouTube Watch Later playlist using yt-dlp with browser cookies, bypassing YouTube API limitations. Also supports downloading video subtitles.

GitHubEmbed

About

Fetches your YouTube Watch Later playlist using yt-dlp with browser cookies, bypassing YouTube API limitations. Also supports downloading video subtitles.

README

MCP server for fetching your YouTube Watch Later playlist via yt-dlp.

Why This Exists

The YouTube Watch Later playlist is invisible to the YouTube Data API.

Most YouTube MCP servers and integrations use the official YouTube Data API v3 with OAuth authentication. This works well for public playlists, subscriptions, search, and liked videos — but Watch Later is a special private playlist (WL) that Google has explicitly excluded from the API. Even with full OAuth scopes and a valid token, the API returns an empty result or a 403 Forbidden error for this playlist.

This means:

  • OAuth-based MCPs cannot access Watch Later — the endpoint simply does not exist in the API.
  • Scraping the YouTube web UI requires managing session cookies, handling anti-bot measures, and is fragile against layout changes.
  • yt-dlp with browser cookies is the only reliable approach: it reads the authentication cookies that your browser already holds from your active YouTube login, and uses them to fetch the playlist directly — exactly as your browser would.

This server wraps that mechanism as an MCP tool so AI assistants can read your Watch Later queue without you needing API keys, OAuth flows, or exposing credentials.

Requirements

  • Node.js 18+
  • yt-dlp installed and available on $PATH
  • YouTube account logged in to a browser on your machine

Installation

1. Install yt-dlp:

# macOS
brew install yt-dlp

# Linux
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp

# Windows (winget)
winget install yt-dlp

2. Install Node.js dependencies:

npm install

Running

npm start

The server communicates over stdio and is intended to be connected to an MCP host (e.g. Claude Desktop), not run directly in a browser.

Claude Desktop Setup

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "youtube-watchlater": {
      "command": "node",
      "args": ["/path/to/youtube-watchlater-mcp/server.mjs"]
    }
  }
}

Tool: get_watch_later

Returns videos from your Watch Later playlist.

Parameter Type Default Description
browser chrome | brave | edge | firefox chrome Browser to read YouTube cookies from
limit number (1–500) 50 Number of videos to return
profile string Browser profile name, e.g. "Default" or "Profile 1"

Example response:

{
  "items": [
    {
      "videoId": "dQw4w9WgXcQ",
      "title": "Never Gonna Give You Up",
      "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
      "channel": "Rick Astley"
    }
  ]
}

Tool: get_subtitles

Downloads auto-generated subtitles for a YouTube video and returns the VTT content.

Parameter Type Default Description
video string YouTube video URL or bare video ID (e.g. dQw4w9WgXcQ)
lang string "en" Subtitle language code, e.g. "en" or "ru"
browser chrome | brave | edge | firefox chrome Browser to read YouTube cookies from
profile string Browser profile name, e.g. "Default" or "Profile 1"

Example response:

{
  "lang": "en",
  "videoId": "dQw4w9WgXcQ",
  "subtitles": "WEBVTT\n..."
}

How It Works

The server calls yt-dlp --cookies-from-browser <browser> --flat-playlist --dump-json against the WL playlist. Cookies are read directly from the local browser — no tokens or passwords are transmitted anywhere.

from github.com/tulaman/youtube-watchlater-mcp

Installing Youtube Watchlater

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/tulaman/youtube-watchlater-mcp

FAQ

Is Youtube Watchlater MCP free?

Yes, Youtube Watchlater MCP is free — one-click install via Unyly at no cost.

Does Youtube Watchlater need an API key?

No, Youtube Watchlater runs without API keys or environment variables.

Is Youtube Watchlater hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Youtube Watchlater in Claude Desktop, Claude Code or Cursor?

Open Youtube Watchlater on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Playwright

Browser automation, scraping, screenshots

Microsoftby Microsoft

Puppeteer

Browser automation and web scraping.

modelcontextprotocolby modelcontextprotocol

opentabs-dev/opentabs

Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a

opentabs-devby opentabs-dev

robhunter/agentdeals

1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan

robhunterby robhunter

hlydecker/ucsc-genome-mcp

MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.

hlydeckerby hlydecker

34892002/bilibili-mcp-js

A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.

34892002by 34892002

achiya-automation/safari-mcp

Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.

achiya-automationby achiya-automation

agent-infra/mcp-server-browser

Browser automation capabilities using Puppeteer, both support local and remote browser connection.

bytedanceby bytedance

aparajithn/agent-scraper-mcp

Web scraping MCP server for AI agents. 6 tools: clean content extraction, structured scraping with CSS selectors, full-page screenshots via Playwright, link ext

aparajithnby aparajithn

apireno/DOMShell

Browse the web using filesystem commands (ls, cd, grep, click). 38 MCP tools map Chrome's Accessibility Tree to a virtual filesystem via a Chrome Extension.

apirenoby apireno

Compare Youtube Watchlater with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All browse MCPs