YouTube MCP Server
Servidor MCP para interactuar con la API de YouTube desde Claude y otros asistentes de IA
Overview
The YouTube MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with the YouTube API, enabling functionalities such as video search, channel details retrieval, and more.
To use the YouTube MCP Server, clone the repository, install the dependencies, set up your YouTube API key in a .env file, and start the server using Node.js.
- Search for videos on YouTube based on queries. - Retrieve detailed information about specific videos. - Get details about YouTube channels. - Search for channels based on queries.
- Finding programming tutorials on YouTube.
- Fetching details of a specific video by its ID.
- Searching for cooking channels on YouTube.
- Accessing popular videos currently trending on YouTube.
Add to your AI client
Use these steps to connect YouTube 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": {
"youtube-mcp-server-nocodeboy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-nocodeboy"
]
}
}
}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-nocodeboy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-nocodeboy"
]
}
}
}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-nocodeboy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-nocodeboy"
]
}
}
}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-nocodeboy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-nocodeboy"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"youtube-mcp-server-nocodeboy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-nocodeboy"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"youtube-mcp-server-nocodeboy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-youtube-mcp-server-nocodeboy"
]
}
}
}FAQ
How do I obtain a YouTube API key?
You can get a YouTube API key by creating a project in the Google Developer Console and enabling the YouTube Data API v3.
What are the requirements to run this server?
You need Node.js v16 or higher and a valid YouTube API key.
Can I contribute to this project?
Yes! Contributions are welcome, including bug reports, feature suggestions, and pull requests.