YouTube MCP(Model Context Protcol) Server
MCP server to fetch and extract transcripts from YouTube videos. Enable AI/LLMs to have access to transcripts for further actions like summarize, write blog..
Overview
The YouTube MCP (Model Context Protocol) Server is a tool designed to fetch and extract transcripts from YouTube videos, enabling AI language models (LLMs) to access and utilize these transcripts for various applications such as summarization and content creation.
To use the YouTube MCP Server, follow these steps:
- Install the required Python package manager (uv) based on your operating system.
- Clone the repository from GitHub.
- Create a virtual environment and install the necessary dependencies.
- Add the MCP server to Claude Desktop and run it to start using the tool.
- Fetches complete text transcripts from YouTube video URLs. - Allows processing and analysis of video content through transcripts. - Facilitates referencing and discussing video information in conversations.
- Summarizing YouTube video content.
- Writing blogs based on video transcripts.
- Analyzing video information for research purposes.
Add to your AI client
Use these steps to connect YouTube MCP(Model Context Protcol) 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": {
"youtube-mcp-server-prajwalprashanth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-prajwalprashanth"
]
}
}
}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": {
"youtube-mcp-server-prajwalprashanth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-prajwalprashanth"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"youtube-mcp-server-prajwalprashanth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-prajwalprashanth"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"youtube-mcp-server-prajwalprashanth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-prajwalprashanth"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"youtube-mcp-server-prajwalprashanth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-prajwalprashanth"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"youtube-mcp-server-prajwalprashanth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-prajwalprashanth"
]
}
}
}FAQ
Can I use this server for any YouTube video?
Yes, as long as the video has transcripts available, you can fetch them using this server.
Is there a cost associated with using the YouTube MCP Server?
No, the server is free to use.
What programming language is used for this project?
The YouTube MCP Server is developed in Python.