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 languagesget_video_metadataGet video title, views, likes, durationget_chaptersGet video chapter list with timestampsget_commentsFetch top comments for a videoget_channel_infoGet channel metadata and statslist_channel_videosList videos from a channelsearch_videosSearch YouTube by queryExample 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?”