YT to Text — YouTube Transcript MCP

Hosted stateless Remote MCP server for extracting clean & timestamped YouTube transcripts, paginating long videos, and listing playlist videos in Claude Code and Cursor.

Hosted MCP Server

npx add-mcp 'https://yttotext.com/api/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

YouTube Transcript MCP Server

  • Stateless Streamable HTTP JSON-RPC 2.0 at POST https://yttotext.com/api/mcp
  • Works out of the box with Claude Code, Claude Desktop, Cursor, and custom MCP clients
  • Three agent-ready tools: get_transcript, get_transcript_status, list_playlist_videos
  • Free signed-in accounts include 2 transcripts/day to test MCP immediately

Hosted MCP built for real AI agent sessions

Instead of installing fragile local stdio scrapers that break on cloud or VPN IPs, point your MCP client at our managed endpoint and reuse the exact same API key and transcript allowance as the REST API.

  • JSON-RPC 2.0 Stateless Streamable HTTP transport
  • 3 tools Transcript fetch, status polling & playlist listing
  • 2 / day free Signed-in test allowance (scale on Plus / Pro)

Connect in under 60 seconds

Generate a ytt_live_ token in your Developers console, then paste the matching config into Cursor, Claude Desktop, or Claude Code.

Cursor / Claude Desktop (mcpServers JSON)

{
  "mcpServers": {
    "yt-to-text": {
      "url": "https://yttotext.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ytt_live_YOUR_API_KEY"
      }
    }
  }
}

Claude Code CLI

claude mcp add --transport http yt-to-text https://yttotext.com/api/mcp \
  --header "Authorization: Bearer $YTTOTEXT_API_KEY"

Direct JSON-RPC 2.0 verification (cURL)

curl -X POST https://yttotext.com/api/mcp \
  -H "Authorization: Bearer $YTTOTEXT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_transcript","arguments":{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}}}'

Available tools on POST /api/mcp

Every tool call is authenticated via Authorization: Bearer ytt_live_<token> (Basic auth is also accepted) and returns structured text and JSON metadata ready for LLM context windows.

Tool nameParametersWhat it returns
get_transcript{ url: string, language?: string }Submits or fetches the transcript for a public YouTube video URL or 11-character ID, returning full text, language, and timestamped segments (or a requestId when queued asynchronously).
get_transcript_status{ requestId: string }Polls an asynchronous transcript request returned by get_transcript until completed, returning the structured transcript payload and status.
list_playlist_videos{ url: string, limit?: number }Resolves a public YouTube playlist or channel URL into ordered video titles, IDs, and URLs so your AI agent can inspect the list before requesting specific transcripts.

What works smoothly over MCP

  • Zero-install hosted HTTPS endpoint—works on laptops, cloud devcontainers, and CI agents
  • Clean timestamped transcript retrieval for public videos with manual or auto-generated captions
  • Playlist and channel video discovery before spending transcript allowance
  • Failed or caption-less requests never deduct from your daily or monthly quota

Honest boundaries

  • MCP retrieves available YouTube captions only; direct-link audio transcription for caption-less videos runs on the web workspace for paid plans
  • Free signed-in accounts are capped at 2 successful transcripts/day shared across web, REST API, and MCP
  • Private, members-only, or region-restricted YouTube videos cannot be accessed
  • Large multi-hundred-video bulk exports are better handled via POST /api/v1/transcripts (up to 50 IDs/call) or the web Playlist Batch workspace (up to 1,000 videos)

YouTube Transcript MCP questions

Answers on transport protocol, authentication, free testing, and client compatibility.

Does the YT to Text MCP server require running anything locally?

No. POST https://yttotext.com/api/mcp is a stateless Remote MCP server over Streamable HTTP (JSON-RPC 2.0). You only paste the URL and your Bearer token into Claude Desktop, Claude Code, or Cursor.

Can I test the MCP server without paying first?

Yes. Any signed-in account can generate a ytt_live_ API key in /developers and run up to 2 successful transcripts per day for free across the web tool, REST API, and MCP server.

What is the difference between MCP (/api/mcp) and the REST API (/api/v1/*)?

Use /api/mcp when you want an AI assistant (Claude, Cursor) to decide which YouTube videos or playlists to fetch during a chat. Use /api/v1/transcripts and /api/v1/channels when your own backend, Python script, or n8n workflow needs batch extraction (up to 50 video IDs per call) and deterministic pagination.

Which paid plans work with MCP?

Plus ($9.99/mo, 1,000 transcripts/mo), Pro ($24.99/mo, 3,000 transcripts/mo), and Elite ($99.99/mo, unlimited subject to 500/day fair use) all share their full monthly transcript allowance with both REST API and Remote MCP.

Wire YouTube transcripts into Claude and Cursor in one minute

Generate your ytt_live_ key in /developers and test Remote MCP with your free daily allowance today.