Skip to main content
Glama
dazamate

transcribe-youtube-mcp

by dazamate

transcribe-youtube-mcp

An MCP server that gives Claude access to YouTube video transcripts, using youtube-transcript-api.

Tools

  • get_transcript(video, languages=["en"], include_timestamps=False, offset=0, max_chars=80000) Returns the transcript as text. video can be any YouTube URL (watch, youtu.be, shorts, embed, live) or a bare 11-character video ID. Long transcripts are paged: the response tells Claude which offset to call with next.

  • list_transcripts(video) lists the available languages and whether each one is manual or auto-generated.

Related MCP server: YouTube MCP Server

Setup

uv sync
claude mcp add --scope user youtube-transcript -- uv --directory "$PWD" run server.py

For Claude Desktop, add this to claude_desktop_config.json:

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/transcribe-youtube-mcp", "run", "server.py"]
    }
  }
}

IP blocks

YouTube blocks transcript requests from most cloud-provider IPs and from IPs that make too many requests. If you hit IpBlocked/RequestBlocked, set WEBSHARE_PROXY_USERNAME and WEBSHARE_PROXY_PASSWORD (Webshare residential proxies) in the server's environment, e.g. claude mcp add ... -e WEBSHARE_PROXY_USERNAME=... -e WEBSHARE_PROXY_PASSWORD=.... Standard HTTPS_PROXY env vars are also respected.

Available Tools

2 tools
get_transcriptA
Read-only

Get the transcript of a YouTube video as text.

Args:
    video: YouTube URL (watch, youtu.be, shorts, embed, live) or 11-character video ID.
    languages: Language codes in priority order, e.g. ["de", "en"]. Defaults to ["en"].
        Manually created transcripts are preferred over auto-generated ones.
    include_timestamps: Prefix each caption line with its [m:ss] start time.
    offset: Character offset to start from, for paging through long transcripts.
    max_chars: Maximum characters to return in this call.
ParametersJSON Schema
NameRequiredDescriptionDefault
videoYes
offsetNo
languagesNo
max_charsNo
include_timestampsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context: manual transcripts are preferred over auto-generated ones, and offset/max_chars enable paging through long output. It does not mention rate limits or failure modes for videos lacking captions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One-sentence purpose statement up front, then a dense parameter list where every line adds information the schema lacks. No filler, boilerplate, or restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Since an output schema exists, return-value explanation is not required, and the input side is thoroughly documented including defaults and formats. The remaining gap is the absent guidance on how this relates to list_transcripts and what to do when a transcript is unavailable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so for all five parameters: accepted video URL/ID forms, language priority order with preference for manual transcripts, the exact '[m:ss]' timestamp prefix format, offset as a character offset for paging, and max_chars as a per-call cap. This is meaningfully richer than the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get the transcript of a YouTube video as text') and even names the accepted URL/ID forms, so the agent knows exactly what comes back. It never mentions the sibling tool list_transcripts, so it misses the differentiation that would make it a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is only implied: 'offset' is described as paging through long transcripts, which suggests when to re-call, but there is no explicit statement of when to use this versus list_transcripts. No exclusions or prerequisites (e.g. videos with transcripts disabled) are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_transcriptsB
Read-only

List the transcript languages available for a YouTube video.

Args:
    video: YouTube URL or 11-character video ID.
ParametersJSON Schema
NameRequiredDescriptionDefault
videoYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing behavioral beyond that — no note on network/rate-limit behavior or what happens when a video has no transcripts. With the lower bar set by annotations, this still adds little.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in a single sentence, followed by a terse Args block. Slight overhead from the Args header but no wasted prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only list tool with an output schema present and annotations covering safety, the description is nearly sufficient. It tells the agent what is returned at a high level and how to supply the identifier; only return-value detail is deferred, which the output schema covers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden and does compensate: it specifies the single 'video' arg accepts either a full YouTube URL or an 11-character video ID, which the schema does not state.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'List the transcript languages available for a YouTube video.' The 'list languages' framing is cleanly separated from the sibling get_transcript, though the description never names that sibling to reinforce the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when/when-not guidance or mention of alternatives. The usage is only implied by the verb 'list' and the availability framing; an agent must infer that this is a discovery step before get_transcript.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 2 tool updatesv0.1.0
    • First observedget_transcript
    • First observedlist_transcripts

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: get_transcript retrieves transcript content, while list_transcripts only enumerates available languages. There is no overlap in function or confusion about when to use each.

Naming Consistency5/5

Both names follow a consistent snake_case verb_noun pattern (get_transcript, list_transcripts). The singular/plural distinction accurately reflects retrieving one transcript versus listing multiple language options.

Tool Count3/5

Two tools is on the thin side, though the server's scope (fetching YouTube transcripts) is narrow enough that a small surface is defensible. It borders on feeling minimal for a standalone server.

Completeness4/5

The core lifecycle is covered: discovering available languages and retrieving transcript text with paging and formatting options. Minor gaps exist (no batch/multi-video retrieval or search), but no essential operation for single-video transcription is missing.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Integrates YouTube with Claude Code, enabling video transcript retrieval, search, metadata extraction, channel info, playlists, comments, trending videos, engagement analytics, chapter extraction, SponsorBlock integration, and most-replayed heatmaps.
    15
    15 npm
    14
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables bringing YouTube into Claude Code for video transcripts, search, metadata, channel info, playlists, comments, trending videos, engagement analytics, chapters, SponsorBlock clean transcripts, and most-replayed heatmaps.
    15 npm
    -
  • F
    license
    A
    quality
    C
    maintenance
    Enables Claude Code to retrieve YouTube transcripts, search videos and channels, fetch metadata, playlists, comments, trending videos, engagement analytics, chapters, SponsorBlock-cleaned transcripts, and most-replayed heatmaps.
    15
    15 npm
    -