MCP Server

Connect FetchTranscript to AI assistants like Claude, Cursor, and Claude Code via the Model Context Protocol.

What is MCP?

The Model Context Protocol (MCP) lets AI assistants call external tools. With the FetchTranscript MCP server, your AI can fetch YouTube transcripts, search videos, and access channel data directly.

Setup

Choose your AI assistant and runtime:

// claude_desktop_config.json
{
  "mcpServers": {
    "fetchtranscript": {
      "command": "uvx",
      "args": ["fetchtranscript-mcp"],
      "env": {
        "FETCHTRANSCRIPT_API_KEY": "yt_your_api_key"
      }
    }
  }
}

Available Tools

Once connected, your AI assistant can use these 8 tools:

get_transcriptFetch video transcript (text, JSON, or SRT)
list_languagesList available transcript languages
get_video_metadataGet video title, views, likes, duration
get_chaptersGet video chapter list with timestamps
get_commentsFetch top comments for a video
get_channel_infoGet channel metadata and stats
list_channel_videosList videos from a channel
search_videosSearch YouTube by query

Example Prompts

Once the MCP server is connected, try asking your AI:

Get the transcript of YouTube video dQw4w9WgXcQ

Summarize this YouTube video: https://youtube.com/watch?v=...

Search YouTube for "machine learning explained" and summarize the top result

List all videos from @mkbhd and get the transcript of the latest one

What languages are available for this video?

Next Steps