YouTube Transcript MCP Server
Overview
The YouTube Transcript MCP Server is a tool that enables Claude to fetch and analyze transcripts from YouTube videos, making it easier to access and utilize video content.
To use the server, follow these steps:
- Install the necessary packages with
npm installand build the project usingnpm run build. - Configure the Claude Desktop by editing the
claude_desktop_config.jsonfile to include the server command. - Restart Claude Desktop and request transcripts by asking for a specific YouTube URL.
- Fetches transcripts from YouTube videos. - Integrates seamlessly with Claude Desktop. - Easy setup and configuration process.
- Extracting transcripts for educational videos.
- Analyzing content from YouTube for research purposes.
- Creating summaries or notes from video content.
Add to your AI client
Use these steps to connect YouTube Transcript MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ytrnscrpt-mcp-server-index01d": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ytrnscrpt-mcp-server-index01d"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ytrnscrpt-mcp-server-index01d": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ytrnscrpt-mcp-server-index01d"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ytrnscrpt-mcp-server-index01d": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ytrnscrpt-mcp-server-index01d"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ytrnscrpt-mcp-server-index01d": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ytrnscrpt-mcp-server-index01d"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ytrnscrpt-mcp-server-index01d": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ytrnscrpt-mcp-server-index01d"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ytrnscrpt-mcp-server-index01d": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ytrnscrpt-mcp-server-index01d"
]
}
}
}FAQ
Can I use this server for any YouTube video?
Yes, as long as the video has a transcript available.
Is there a cost associated with using this server?
No, it is free to use under the MIT license.
What programming language is this server built with?
The server is built using TypeScript.