YouTube Transcript

Design and mediaSocial media

This is an MCP server that allows you to directly download transcripts of YouTube videos.

Your AI app calls the YouTube Transcript MCP server, which does the work through tools like get_transcript and analyze_video and sends the result back to the chat.

About YouTube Transcript

YouTube Transcript is a community MCP server from kimtaeyoon83, filed in our directory under design and media and social media. This is an MCP server that allows you to directly download transcripts of YouTube videos.

YouTube Transcript runs on your own machine: your AI app starts it with the command npx -y @smithery/cli and talks to it over standard input and output.

The README for YouTube Transcript lists tools such as get_transcript and analyze_video, which your AI app can call once the server is connected.

At a glance

Publisher
kimtaeyoon83 (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @smithery/cli
Written in
TypeScript
License
MIT
GitHub stars
610

Tools YouTube Transcript gives your AI app

  • get_transcript
  • analyze_video(optional, requires a TwelveLabs API key).

Tool names as the YouTube Transcript README lists them. Your AI app shows the live list once YouTube Transcript is connected.

How to set up YouTube Transcript

  1. Install Node.js on the machine that runs your AI app, because YouTube Transcript starts with npx and downloads its package on first run.
  2. Check the YouTube Transcript README for keys or settings; the registry lists none that YouTube Transcript requires.
  3. Add YouTube Transcript to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the YouTube Transcript tools to confirm the connection.
  5. Run one read-only task with YouTube Transcript first, such as a call to get_transcript, before you allow anything that writes or sends.

YouTube Transcript compared with similar servers

  • Jarvis Assistant Vocal by sosoj92 has fewer GitHub stars than YouTube Transcript (582 against 610); both are community servers, and both run locally.
  • Mingyu by Brhiza has more GitHub stars than YouTube Transcript (615 against 610); both are community servers, and Mingyu runs as a remote server and YouTube Transcript runs on your own machine.
  • agentring by mutonby has fewer GitHub stars than YouTube Transcript (564 against 610); both are community servers, and agentring runs as a remote server and YouTube Transcript runs on your own machine.

Before you connect YouTube Transcript

  • Give YouTube Transcript its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each YouTube Transcript tool call until you trust what it does with them.
  • Treat text that YouTube Transcript fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for YouTube Transcript on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for YouTube Transcript

How marketing and sales teams put YouTube Transcript to work, by company size. Pick the size closest to yours and start YouTube Transcript on one use case.

Small business

  • A small business can use YouTube Transcript to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask YouTube Transcript to pull brand assets and make quick ad and social variations that still look on brand.
  • A solo marketer can use YouTube Transcript to draft a week of posts from one idea and check what performed last month before planning the next.
  • YouTube Transcript runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect YouTube Transcript so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use YouTube Transcript to hand off designs to web and ads with specs attached, cutting review rounds.
  • Social teams can connect YouTube Transcript to pull engagement across accounts into one weekly summary their leads actually read.
  • Start with get_transcript and analyze_video, the tools YouTube Transcript lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can use YouTube Transcript with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use YouTube Transcript to localize and version assets for many markets with review built in.
  • Enterprise brands can route YouTube Transcript drafts through legal and brand review, with publishing kept to approved people and every post logged.
  • YouTube Transcript is a community server, so have security review the code and pin a version before YouTube Transcript touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

YouTube Transcript README

From kimtaeyoon83/mcp-server-youtube-transcript on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

YouTube Transcript Server

A Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video captions and subtitles through a simple interface.

Installing via Smithery

To install YouTube Transcript Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kimtaeyoon83/mcp-server-youtube-transcript --client claude

Components

Tools
  • get_transcript

    • Extract transcripts from YouTube videos
    • Inputs:
      • url (string, required): YouTube video URL, Shorts URL, or video ID
      • lang (string, optional, default: "en"): Language code for transcript (e.g., 'ko', 'en'). Automatically falls back to available languages if requested language is not found.
      • include_timestamps (boolean, optional, default: false): Include timestamps in output (e.g., '[0:05] text')
      • strip_ads (boolean, optional, default: true): Filter out sponsorships, ads, and promotional content from transcript based on chapter markers
  • analyze_video (optional, requires a TwelveLabs API key)

    • Analyze a video with TwelveLabs Pegasus, a video-understanding model. Unlike get_transcript, this reasons over what is shown on screen, so it produces useful summaries and answers even for videos with little or no speech (demos, gameplay, b-roll, music videos).
    • Inputs:
      • url (string, required): A publicly reachable direct video URL (e.g. an .mp4/.mov/.webm link or a pre-signed URL). TwelveLabs fetches the file server-side, so a YouTube watch page URL will not work, it serves HTML, not a raw video stream.
      • prompt (string, optional): Instruction or question for the model (e.g. "Summarize this video in 3 sentences" or "What products are shown?"). Defaults to a general summary.
      • model (string, optional, default: "pegasus1.2"): Pegasus model to use ("pegasus1.2" or "pegasus1.5").
      • max_tokens (number, optional, default: 2048): Maximum response length in tokens.
    • Requires the TWELVELABS_API_KEY environment variable. The transcript tool works without it; analysis is fully opt-in. Grab a free key at twelvelabs.io, there's a generous free tier.

Key Features

  • Support for multiple video URL formats (including YouTube Shorts)
  • Language-specific transcript retrieval with automatic fallback
  • Optional timestamps for referencing specific moments
  • Built-in ad/sponsorship filtering (enabled by default)
  • Zero external dependencies for transcript fetching
  • Detailed metadata in responses

Configuration

To use with Claude Desktop, add this server configuration:

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "npx",
      "args": ["-y", "@kimtaeyoon83/mcp-server-youtube-transcript"]
    }
  }
}

To enable the optional analyze_video tool, add your TwelveLabs API key:

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "npx",
      "args": ["-y", "@kimtaeyoon83/mcp-server-youtube-transcript"],
      "env": {
        "TWELVELABS_API_KEY": "your-twelvelabs-api-key"
      }
    }
  }
}

If YouTube blocks your network (HTTP 429, or empty transcripts from a cloud server, VPN or office IP), you can set an Apify token. A transcript fetch that fails is then retried once through the YouTube Transcripts Actor on Apify, billed to your Apify account (about $0.003 per transcript; failures are not charged). Without the token nothing changes.

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "npx",
      "args": ["-y", "@kimtaeyoon83/mcp-server-youtube-transcript"],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Install via tool

mcp-get A command-line tool for installing and managing Model Context Protocol (MCP) servers.

npx @michaellatman/mcp-get@latest install @kimtaeyoon83/mcp-server-youtube-transcript

Awesome-mcp-servers

awesome-mcp-servers A curated list of awesome Model Context Protocol (MCP) servers.

Development

Prerequisites
  • Node.js 18 or higher
  • npm or yarn
Setup

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch
Testing
npm test
Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector for development:

npm run inspector

Running evals

The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be found mcpevals.io/docs.

OPENAI_API_KEY=your-key  npx mcp-eval src/evals/evals.ts src/index.ts

Error Handling

The server implements robust error handling for common scenarios:

  • Invalid video URLs or IDs
  • Unavailable transcripts
  • Language availability issues
  • Network errors

Usage Examples

  1. Get transcript by video URL:
await server.callTool("get_transcript", {
  url: "https://www.youtube.com/watch?v=VIDEO_ID",
  lang: "en"
});
  1. Get transcript by video ID:
await server.callTool("get_transcript", {
  url: "VIDEO_ID",
  lang: "ko"
});
  1. Get transcript from YouTube Shorts:
await server.callTool("get_transcript", {
  url: "https://www.youtube.com/shorts/VIDEO_ID"
});
  1. Get transcript with timestamps:
await server.callTool("get_transcript", {
  url: "VIDEO_ID",
  include_timestamps: true
});
  1. Get raw transcript without ad filtering:
await server.callTool("get_transcript", {
  url: "VIDEO_ID",
  strip_ads: false
});
  1. How to Extract YouTube Subtitles in Claude Desktop App
chat: https://youtu.be/ODaHJzOyVCQ?si=aXkJgso96Deri0aB Extract subtitles

Security Considerations

The server:

  • Validates all input parameters
  • Handles YouTube API errors gracefully
  • Implements timeouts for transcript retrieval
  • Provides detailed error messages for troubleshooting

License

This MCP server is licensed under the MIT License. See the LICENSE file for details.

Questions about YouTube Transcript

What is the YouTube Transcript MCP server?

This is an MCP server that allows you to directly download transcripts of YouTube videos. YouTube Transcript is maintained by kimtaeyoon83 on GitHub at kimtaeyoon83/mcp-server-youtube-transcript, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the YouTube Transcript MCP server?

Add YouTube Transcript to your AI app's MCP config with the command npx -y @smithery/cli. In Claude Code, run claude mcp add --transport stdio youtube-transcript -- npx -y @smithery/cli. To run YouTube Transcript this way you need Node.js installed.

Does YouTube Transcript need an API key?

The registry lists no required keys for YouTube Transcript. Check the YouTube Transcript README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is YouTube Transcript an official MCP server?

No. YouTube Transcript is a community server maintained by kimtaeyoon83. Community servers can be excellent; read the code and the open issues before you give YouTube Transcript access to company data.

What license is YouTube Transcript under?

YouTube Transcript is released under the MIT license, according to its GitHub repository. The license covers the code of YouTube Transcript; the service it connects to has its own terms.