YT to Text
Provides tools for retrieving YouTube video, Shorts, and playlist transcripts with metadata, timestamp options, pagination, playlist video listing, and AI fallback transcription when captions are unavailable.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
YT to Text — Remote MCP Server, REST API & n8n Workflows
Official integration repository for YT to Text — a hosted remote Model Context Protocol (MCP) server, batch REST API, and signed webhook channel monitor for YouTube transcripts.
Connect Claude Code, Claude Desktop, Cursor, Windsurf, and n8n directly to YouTube video, Shorts, and playlist transcripts without installing local Python/Node packages, maintaining yt-dlp binaries, or managing residential proxies.
Remote MCP Endpoint:
POST https://yttotext.com/api/mcp(Stateless Streamable HTTP, JSON-RPC 2.0, MCP protocol2025-03-26)MCP Setup Guide: https://yttotext.com/youtube-transcript-mcp
REST API Reference: https://yttotext.com/youtube-transcript-api
Channel Monitoring & Webhooks: https://yttotext.com/youtube-channel-monitor
No-Captions AI Transcription: https://yttotext.com/youtube-transcript-without-captions
Playlist Markdown Export (NotebookLM / Claude): https://yttotext.com/youtube-to-notebooklm
Public Changelog: https://yttotext.com/changelog
Why Use a Hosted Remote MCP Endpoint?
Zero local runtime: No Python environment, no local stdio process, no headless browser, and no IP/datacenter blocks from YouTube.
Works even without native captions: When a public YouTube video has no human or auto-generated subtitles, YT to Text falls back to AI speech-to-text transcription automatically.
Built-in pagination for long videos:
get_transcriptandget_transcript_statussupportoffsetandmaxChars(24,000default, up to60,000) so multi-hour podcasts never overflow an LLM context window.Standard Streamable HTTP discovery: Unauthenticated
initialize,ping, andtools/listhandshakes return200 OKper the MCP2025-03-26specification; alltools/callexecutions strictly require a valid Bearer API token (401 INVALID_API_TOKENotherwise).
Related MCP server: YouTube Transcript Remote MCP Server
Quick Start: Remote MCP
1. Create an API Token
Sign in at yttotext.com/developers and generate a revocable
ytt_live_...API key.Signed-in free accounts share the daily 2-transcript test allowance so you can test MCP and REST integrations immediately without a credit card. Paid Plus/Pro plans and one-time credit packs unlock higher monthly/project quotas (see yttotext.com/pricing).
2. Connect Your MCP Client
Claude Code CLI
claude mcp add --transport http yt-to-text https://yttotext.com/api/mcp \
--header "Authorization: Bearer $YTTOTEXT_API_KEY"Cursor / Claude Desktop (mcp.json)
{
"mcpServers": {
"yt-to-text": {
"url": "https://yttotext.com/api/mcp",
"headers": {
"Authorization": "Bearer ytt_live_YOUR_API_KEY"
}
}
}
}See also .mcp.json and examples/cursor-claude-desktop-mcp.json.
Live Protocol Verification (cURL)
Protocol Discovery (No Token Required)
# 1. MCP Initialize handshake
curl -sS -X POST https://yttotext.com/api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl-check","version":"1.0.0"}}}'
# 2. List available tools
curl -sS -X POST https://yttotext.com/api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'Execute a Tool (Bearer Token Required)
curl -sS -X POST https://yttotext.com/api/mcp \
-H "Authorization: Bearer $YTTOTEXT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "get_transcript",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"language": "en",
"includeTimestamps": true,
"maxChars": 24000
}
}
}'Available MCP Tools
Tool | Required Arguments | Optional Arguments | Behavior & Output |
|
|
| Extracts clean or |
|
|
| Polls an in-progress async transcription job or fetches subsequent paginated chunks of a long transcript without re-billing. |
|
|
| Returns playlist title, playlist ID, and ordered video items ( |
Authentication, Security & Operations
Transport & Encryption: HTTPS/TLS 1.3 only at
https://yttotext.com/api/mcp(Cloudflare Workers edge + Google Cloud Run extraction backend).Authentication:
Authorization: Bearer ytt_live_...header required for everytools/callrequest. Unauthenticatedtools/callreturnsHTTP 401(INVALID_API_TOKEN). Tokens can be rotated or revoked instantly from yttotext.com/developers.Webhook Integrity: Channel Watchlist webhooks include
X-YTToText-Event-Id,X-YTToText-Timestamp, andX-YTToText-Signature: v1=<hmac-sha256>computed over${timestamp}.${rawBody}with a recommended 300-second replay window.Support & Maintenance: Actively maintained by the YT to Text team. Support:
support@yttotext.com· Changelog: yttotext.com/changelog.
Ready-to-Import n8n Workflows
Import either JSON template directly into your n8n canvas:
n8n/youtube-channel-monitor-ai-brief-slack-sheets.json— Complete 10-node automated channel research pipeline: receives signedtranscript.readywebhooks from YT to Text Watchlists, verifies the HMAC-SHA256 signature and 5-minute replay window (returning401on invalid signatures), cleans and truncates the transcript, generates a structured JSON summary with OpenAI, posts a formatted digest to Slack, archives a row to Google Sheets, and acknowledges200 OK.n8n/youtube-transcript-api-batch-poll.json— Submits up to 50 video IDs with anIdempotency-Keyheader toPOST /api/v1/transcripts, polls until completed, and splits per-video transcript items for downstream LLM or RAG nodes.
REST API & Webhook Verification Examples
examples/rest-api-batch.py— Python batch submit, poll, and cursor paginationexamples/rest-api-batch.mjs— Node.js / ESM batch submit, poll, and paginationexamples/verify-webhook.mjs— Node.js HMAC-SHA256 signature verification (X-YTToText-Timestamp,X-YTToText-Signature)examples/verify-webhook.py— Python HMAC-SHA256 signature verificationserver.json— Official MCP Registry manifest
Sample Outputs (Public, No Signup Required)
Inspect real production output formats directly before integrating:
Plain text: https://yttotext.com/samples/sample-transcript.txt
SubRip (
.srt): https://yttotext.com/samples/sample-subtitles.srtWebVTT (
.vtt): https://yttotext.com/samples/sample-subtitles.vttCombined NotebookLM Markdown (
.md): https://yttotext.com/samples/sample-notebooklm-playlist.mdREST API JSON: https://yttotext.com/samples/sample-api-response.json
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Fetch public YouTube transcripts as text, Markdown, SRT, WebVTT or JSON via OAuth or API key.
Transcripts, translations, summaries, subtitles, and search for public YouTube videos.
Transcripts of YouTube videos, playlists and channels with timestamps; SRT or WebVTT too.
YouTube transcript API: batch video captions, timestamps, metadata and SRT/VTT subtitles.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables users to extract, search, and analyze YouTube video transcripts directly within MCP-compatible clients. It supports advanced features like time-chunked summaries, keyword searching with surrounding context, and batch processing for multiple videos.4MIT
- AlicenseNot gradedqualityCmaintenanceFetches YouTube video subtitles (transcripts) over MCP, enabling clients like Claude to retrieve and summarize video content.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants and MCP clients to fetch YouTube video captions with timestamps, title, channel, and available languages, and to export transcripts as text, SRT, or WebVTT. It works with watch, Shorts, youtu.be, embed links, or bare video IDs without an API key.MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to list available caption languages, fetch publicly available YouTube caption tracks with timestamps, and request client-assisted summaries without transcribing audio.23269 npmMIT