Subtext

YouTube transcript MCP server and agent skill

Connect AI coding agents and chat apps to public YouTube captions over a remote Streamable HTTP MCP server at https://youtubevideototranscript.com/mcp. No local Python environment, yt-dlp install, or proxy setup is required.

By Subtext

MCP technical reference Get an API key Use free in browser

Endpoint and tools

The server is listed in the official MCP Registry as com.youtubevideototranscript/youtube-transcript and verified on Glama Connectors. It accepts OAuth 2.1 sign-in with dynamic client registration (RFC 7591) or a standard Authorization: Bearer stx_... API key.

Tool What it returns Cost
get_transcript Public YouTube captions as text, json, md, srt, or vtt, with optional timestamps and language selection. 1 credit per returned transcript (0 credits on errors)
list_languages Available manual and auto-generated caption tracks, translation targets, and basic video metadata (title, author, default language). Free

Connect in Claude Code

Run one command in your project directory, then open /mcp inside Claude Code and sign in with OAuth:

claude mcp add --transport http subtext https://youtubevideototranscript.com/mcp

For a walkthrough with a sample prompt and project-level skill file, read how to get a YouTube transcript in Claude Code.

Connect in Cursor or VS Code

Add the remote endpoint to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). Clients that support MCP OAuth open a browser window on first tool use; headless clients can pass a Bearer key from your account page.

{
  "mcpServers": {
    "subtext": {
      "url": "https://youtubevideototranscript.com/mcp"
    }
  }
}

Ready-to-use config files and one-click Cursor and VS Code install links are also in the public vsaranyuk/youtube-transcript-mcp repository.

Install the agent skill (Claude Code, Codex, OpenClaw, Hermes)

If your agent uses the Agent Skills standard (or runs in an environment where you prefer shell commands over MCP), install the youtube-transcript skill from skills.sh:

npx skills add vsaranyuk/youtube-transcript-mcp --skill youtube-transcript

The skill teaches the agent when to call get_transcript directly, when to call list_languages first, how to treat caption text as untrusted data, and how to fall back to the REST API or agent email sign-up when no browser is available.

Limits and pricing

Every successful get_transcript call costs 1 credit, including a repeat request for the same video, language, or format, so save fetched transcripts in your workspace instead of re-fetching. Failed calls and list_languages cost 0 credits. New accounts start with free starter credits (100 via browser sign-up, 25 via agent sign-up); see Pricing for details.

Only public YouTube videos with captions work. Private, age-restricted, and captionless videos return a tool error without spending credits. For manual reading or downloading without an agent, paste any video link into the free browser tool or check the download guide.