Skip to main content
Glama
YouTube Transcript MCP Server

YouTube Transcript MCP Server

by laptimehq

YouTube Transcript MCP Server

Get transcripts of YouTube, TikTok, Instagram, Facebook, X and Douyin videos in Claude, ChatGPT, Cursor, VS Code, any MCP client or your own code. Works on videos without captions.

Remote MCP server MCP Registry Validate License: MIT

Install in Cursor Install in VS Code Install in VS Code Insiders Claude Code plugin

Quick start · Agent setup · Tools · Client setup · Use from code · Pricing · FAQ

YouTube Transcript MCP gives your AI assistant the text of any public video. Paste a YouTube video, a Short, a channel or a playlist, a TikTok, a reel or a Douyin link: your assistant gets the full transcript with timestamps and chapters, and speech-to-text fills in when a video has no captions. It can then summarise, quote, translate or search the text.

Set up with your AI agent

Paste this repository's URL into Claude Code, Codex, Cursor or another agent and ask it to set up YouTube Transcript MCP. The steps below are written so your agent can follow them.

For AI agents installing this server:

  1. This is a hosted remote MCP server (streamable HTTP). There is nothing to download or build. It needs a free Apify account and an Apify sign-in (OAuth) in the user's browser; do not ask for an API token unless the sign-in fails.

  2. Server name transcripts, server URL:

    https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/youtube-transcript-scraper,laptime/video-transcript-scraper,laptime/tiktok-transcript-scraper,laptime/instagram-reels-transcript-scraper,laptime/douyin-transcript-scraper
  3. Add it with the client's own command:

    • Claude Code: claude plugin marketplace add laptimehq/youtube-transcript-mcp, then claude plugin install transcripts@youtube-transcript-mcp (adds the server and the YouTube Transcript MCP skill).

    • Codex: codex mcp add transcripts --url "<server URL>", then codex mcp login transcripts.

    • VS Code: code --add-mcp '{"name":"transcripts","type":"http","url":"<server URL>"}'.

    • Cursor and other clients: add {"mcpServers": {"transcripts": {"url": "<server URL>"}}} to the client's MCP config file (Cursor: ~/.cursor/mcp.json).

  4. Ask the user to complete the sign-in. In Claude Code they run /mcp, select transcripts and choose Authenticate; other clients open the Apify sign-in page themselves. A client restart may be needed before the tools appear.

  5. Check it works with a small call, for example laptime--youtube-transcript-scraper with {"method": "GET", "path": "/", "query": {"url": "https://www.youtube.com/watch?v=1jI7WcVQmwM", "format": "text"}}. Every returned row is billed to the user's Apify account, so keep test runs small.

  6. Before real requests, read the YouTube Transcript MCP skill: it explains the run flow and which inputs return good results.

Related MCP server: yt-repurpose

Why YouTube Transcript MCP

  • Works without captions. When a video has no subtitles, speech-to-text writes the transcript.

  • Every platform in one server. YouTube, TikTok, Instagram, Facebook, X and Douyin.

  • Fast. A YouTube video in about 2 seconds; 2 reels in 3.2 s, the fastest of the Instagram transcript Actors Laptime ran on the same reels (18 Nov 2026).

  • Whole channels. Channels, playlists and keyword searches, not just single videos.

  • Nothing to install. A hosted remote MCP server: add one URL and sign in with Apify. Works in claude.ai and ChatGPT, not only in desktop apps.

  • Made for assistants. A bundled skill teaches your assistant the inputs that work, and tool descriptions carry every option.

  • Pay per result. Billed to your own Apify account, no subscription, no start fee. Apify's free plan includes $5 of usage a month.

YouTube Transcript MCP

Typical transcript scripts

Videos without captions

Speech-to-text included

Usually fail

Blocked cloud IPs

Handled on Apify's servers

YouTube often blocks them

TikTok, reels, Douyin

Included

YouTube only

Web assistants (claude.ai, ChatGPT)

Supported

Usually desktop only

Tools

Tool

What you get

Store page

YouTube transcripts

Videos, Shorts, channels, playlists or keywords: text, timestamps, chapters, SRT and VTT, language, views.

youtube-transcript-scraper

Any video link

YouTube, TikTok, Instagram, Facebook and X in one tool: whatever links you have.

video-transcript-scraper

TikTok transcripts

TikTok videos and profiles: captions or speech-to-text, SRT.

tiktok-transcript-scraper

Reel transcripts

Instagram reels or a whole profile to text, with the spoken hook.

instagram-reels-transcript-scraper

Douyin transcripts

Douyin (抖音) videos to Chinese text, with optional English translation.

douyin-transcript-scraper

All tools are read-only. They never post, message, follow or buy anything.

Quick start

  1. Create a free Apify account if you do not have one.

  2. Add the server to your assistant. Click a button above, or follow the steps for your client below.

  3. Sign in with Apify when your assistant asks, then ask a question such as "Summarise this video in five bullet points with timestamps: https://www.youtube.com/watch?v=..."

About the Apify sign-in page. Apify notes that your assistant was registered dynamically and asks for API access; every assistant that signs in this way sees that notice. It lets your assistant start runs on your account, and you can remove the access at any time on your Apify Console integrations page.

Server URL, for any client that accepts a remote MCP server:

https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/youtube-transcript-scraper,laptime/video-transcript-scraper,laptime/tiktok-transcript-scraper,laptime/instagram-reels-transcript-scraper,laptime/douyin-transcript-scraper

Client setup

  1. Open Settings > Connectors and select Add custom connector.

  2. Name it YouTube Transcript MCP and paste the server URL above.

  3. Select Connect and sign in with Apify.

  4. In a chat, enable the YouTube Transcript MCP connector from the tools menu.

For better results, also add the YouTube Transcript MCP skill: zip the skills/transcripts folder and upload it under Skills in Claude's settings.

Plugin (server plus the YouTube Transcript MCP skill, recommended):

/plugin marketplace add laptimehq/youtube-transcript-mcp
/plugin install transcripts@youtube-transcript-mcp

Server only:

claude mcp add --transport http transcripts "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/youtube-transcript-scraper,laptime/video-transcript-scraper,laptime/tiktok-transcript-scraper,laptime/instagram-reels-transcript-scraper,laptime/douyin-transcript-scraper"

Then sign in: run /mcp, select the transcripts server and choose Authenticate.

Click Install in Cursor above, or add examples/cursor-mcp.json to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). Cursor asks you to sign in with Apify on first use.

Click Install in VS Code above, or add examples/vscode-mcp.json to .vscode/mcp.json. Start the server from the MCP view and sign in with Apify when prompted. Use the tools in Copilot Chat agent mode.

  1. In ChatGPT, add a custom MCP server (connector) and name it YouTube Transcript MCP.

  2. Paste the server URL above and choose OAuth authentication.

  3. Sign in with Apify, then select YouTube Transcript MCP in a new chat.

Business, Enterprise and Edu workspaces may need an admin to enable custom servers. See OpenAI's custom MCP server guide.

codex mcp add transcripts --url "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/youtube-transcript-scraper,laptime/video-transcript-scraper,laptime/tiktok-transcript-scraper,laptime/instagram-reels-transcript-scraper,laptime/douyin-transcript-scraper"
codex mcp login transcripts

Or copy examples/codex-config.toml into ~/.codex/config.toml.

Most clients that support remote MCP servers accept:

{
  "mcpServers": {
    "transcripts": {
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/youtube-transcript-scraper,laptime/video-transcript-scraper,laptime/tiktok-transcript-scraper,laptime/instagram-reels-transcript-scraper,laptime/douyin-transcript-scraper"
    }
  }
}

If your client cannot complete the Apify sign-in, send your Apify token as a header instead, see examples/bearer-token-mcp.json. Copy the token from your Apify Console integrations page and keep it out of shared files. Clients that only run local servers can bridge with mcp-remote, see examples/claude-desktop-config.json.

Use it from code

Each tool is also an Apify Actor with a REST API, so you can call it from your own code, a pipeline or an automation, without an assistant. Copy your API token from the Apify Console integrations page. The input fields are the same ones the assistant uses; each Store page has an API tab with the full input reference.

pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("laptime/youtube-transcript-scraper").call(run_input={"startUrls": ["https://www.youtube.com/watch?v=1jI7WcVQmwM"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('laptime/youtube-transcript-scraper').call({"startUrls": ["https://www.youtube.com/watch?v=1jI7WcVQmwM"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

youtube-transcript-scraper, tiktok-transcript-scraper, instagram-reels-transcript-scraper also answer a plain GET request, with the answer in the response. No run to start or poll:

curl -H "Authorization: Bearer $APIFY_TOKEN" "https://laptime--youtube-transcript-scraper.apify.actor/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1jI7WcVQmwM&format=text"
curl -H "Authorization: Bearer $APIFY_TOKEN" "https://laptime--tiktok-transcript-scraper.apify.actor/?url=https%3A%2F%2Fwww.tiktok.com%2F%40apifytech%2Fvideo%2F7398101551744552225&format=text"
curl -H "Authorization: Bearer $APIFY_TOKEN" "https://laptime--instagram-reels-transcript-scraper.apify.actor/?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDehZj9wggt0%2F&format=text"

The query parameters are the ones in the skill. The first request can take a few seconds longer while the server starts.

Start a run and get its results in one request:

curl -X POST "https://api.apify.com/v2/acts/laptime~youtube-transcript-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.youtube.com/watch?v=1jI7WcVQmwM"]}'

This waits up to 300 seconds. For bigger runs, start the run asynchronously and read its dataset when it finishes, see the Apify API reference.

Use Apify's official integration for n8n, Make or Zapier, choose the Actor (for example laptime/youtube-transcript-scraper) and pass the same JSON input. Ready-made n8n workflows: laptimehq/n8n-templates.

Other tools: replace the Actor ID with laptime/video-transcript-scraper, laptime/tiktok-transcript-scraper, laptime/instagram-reels-transcript-scraper, laptime/douyin-transcript-scraper.

Example prompts

  • Get the transcript of this video and list every tool the speaker mentions: https://www.youtube.com/watch?v=...

  • Transcribe the last 10 videos of @mkbhd and tell me which topics come up most.

  • Turn this TikTok into a blog post outline: https://www.tiktok.com/@.../video/...

  • What is the hook in the first 5 seconds of each of these reels?

  • Transcribe this Douyin video and translate it to English.

  • Search YouTube for 'n8n tutorial' and summarise the top 5 videos.

Use cases

  • Summaries and notes. Long videos to bullet points, chapters and quotes.

  • Content repurposing. Videos to blog posts, threads and newsletters.

  • Research. What a channel or a niche talks about, across dozens of videos.

  • AI and RAG data. Clean text with timestamps for search and question answering.

  • Hooks and scripts. How the best short videos in your niche open.

Example output

One row from a real run of youtube-transcript-scraper on Apify (2 December 2026), abridged. Your assistant reads rows like this and answers in plain language.

{
  "status": "ok",
  "title": "Getting Started with Apify 3/4 - Schedule your Actor",
  "author": "Apify",
  "platform": "youtube",
  "language": "en",
  "transcriptSource": "captions",
  "durationSeconds": 53,
  "wordCount": 185,
  "text": "Say you always want to get the most recent ratings for the restaurants you’re interested in to stay on top of any sudden quality changes....",
  "url": "https://www.youtube.com/watch?v=1jI7WcVQmwM"
}

Each tool's Store page lists every field.

How long requests take

Most Laptime runs finish in seconds, inside the first tool call. Bigger requests keep running on Apify after the call returns, and your assistant checks back until the results are ready, then reads them in pages. The YouTube Transcript MCP skill teaches assistants this flow, along with input recipes for each tool. Claude Code gets it with the plugin.

Pricing

Pay per result, billed to your Apify account, no start fee. There is no subscription to this repository. Prices on 2 December 2026 (Apify free-plan list prices; paid plans pay less, and each pricing page has the details):

Your assistant controls cost through result caps such as maxItems. Ask for a small number first, then scale up. Runs that return nothing are not charged.

Troubleshooting

  • /mcp says the server is not authenticated, or its tools could not be fetched. Select the server and choose Authenticate. Other clients show a Connect or Sign in button.

  • A video says no speech. Music-only videos and silent clips have no speech to transcribe; those rows are free.

  • Your assistant says a run is still going. That is normal for bigger requests. Ask it to keep checking the same run; a new run for the same question is billed again.

  • Your client cannot complete the sign-in. Use an Apify token header instead, see Other clients.

FAQ

Is there a YouTube transcript API? Yes. Every tool can be called over a REST API or with Apify's Python and JavaScript clients, see Use it from code.

What if a video has no captions? Speech-to-text writes the transcript; it is billed per minute of audio, see each tool's pricing page.

Do I need a YouTube API key? No. You only need an Apify account.

Which AI assistants work with it? Any client that supports remote MCP servers, including Claude (claude.ai, Claude Desktop, Claude Code), ChatGPT, Codex, Cursor, VS Code with GitHub Copilot and many more.

Is it free? Apify's free plan includes $5 of usage a month, enough to try every tool. After that you pay per result; see Pricing.

Is this an official video product? No. YouTube Transcript MCP is an independent product by Laptime and is not affiliated with the platforms it reads.

Privacy

Requests go to Apify's hosted MCP server and run on your Apify account. Apify's privacy policy applies. This repository contains configuration and instructions only; it collects nothing.

More from Laptime

YouTube Transcript MCP is built on Laptime's Apify Actors: fast, timed scrapers with pay-per-result pricing. You can also run each tool directly on Apify, from its API, or on a schedule.

License

MIT. Platform names are trademarks of their respective owners.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers