SubDownload

Public MCP wrapper for SubDownload.Fetch YouTube transcripts, search videos, browse channels and playlists — instant YouTube data for your AI workflow.

SubDownload MCP Server

SubDownload exposes YouTube as an MCP-native data source. Connect once via OAuth and your AI agent gets tools to summarize videos, fetch full transcripts (including videos without captions, via AI ASR), search channels and playlists, and save everything into a per-user knowledge base for cross-session recall.

The recommended setup is to point your MCP client directly at the hosted endpoint above and authenticate via OAuth — see "Quick connect" below. This repo also ships a thin stdio proxy (Node + Docker) for environments that prefer a local subprocess.

Auth

OAuth 2.1 with Dynamic Client Registration (RFC 7591). No pre-shared client_id or client_secret — your MCP client registers itself on first connect.

Discovery (RFC 9728):

  1. POST to /mcp without a token returns 401 plus a WWW-Authenticate header pointing to /.well-known/oauth-protected-resource
  2. That document points to the authorization server (https://api.subdownload.com)
  3. The MCP client follows the standard authorize → callback → token flow with PKCE

API-key alternative: every account at https://subdownload.com/account exposes a Bearer token for clients that don't support OAuth.

Tools

ToolWhat it does
search_youtubeKeyword search across YouTube
fetch_video_infoVideo metadata (title, channel, duration, view count)
fetch_transcriptFull transcript with timestamps
transcribe_videoGenerate a transcript with AI ASR for videos that have no captions
get_asr_taskPoll an in-progress AI transcription job
resolve_channelLook up a channel by handle, URL, or ID
list_channel_videosList videos on a channel
get_channel_latest_videosLatest videos for a channel
search_channel_videosSearch within a single channel
list_playlist_videosList the contents of a playlist
save_to_librarySave a video summary or transcript to your personal knowledge base
list_libraryBrowse your saved knowledge base
get_library_itemFetch a single saved item

Quick connect

Claude Desktop / Cursor / Windsurf / any OAuth-capable MCP client

{
  "mcpServers": {
    "subdownload": {
      "url": "https://api.subdownload.com/mcp"
    }
  }
}

The first time you use it, the client triggers OAuth and you sign in with Google or LINUX DO. Free credits on signup — no card required.

Bearer-token clients

{
  "mcpServers": {
    "subdownload": {
      "url": "https://api.subdownload.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Grab your API key from your account page.

Local stdio proxy (Docker / npm)

For clients that prefer a subprocess transport, this repo ships a thin Node proxy that forwards tools/call to the hosted endpoint with your API key.

# Docker
docker build -t subdownload-mcp .
docker run --rm -i -e SUBDOWNLOAD_API_KEY=YOUR_API_KEY subdownload-mcp

# Or via Node directly
npm install
SUBDOWNLOAD_API_KEY=YOUR_API_KEY npm start

Client config example:

{
  "mcpServers": {
    "subdownload": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "-e", "SUBDOWNLOAD_API_KEY", "subdownload-mcp"],
      "env": { "SUBDOWNLOAD_API_KEY": "YOUR_API_KEY" }
    }
  }
}

Tool schemas are declared inline so introspection (initialize, tools/list) works without credentials; tools/call requires SUBDOWNLOAD_API_KEY.

Pricing

Free credits on signup. Pro: 5,000 credits per month. See https://subdownload.com/pricing.

Support

License

MIT (applies to this documentation repository; the SubDownload service itself is hosted SaaS — see https://subdownload.com/terms).

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension