Youtube MCP Server
A Flask-based YouTube music search server that implements song search and video link retrieval functions through the YouTube Data API.
rating : 2 points
downloads : 11
What is the YouTube MCP Server?
This is a Flask-based server application that interacts with the YouTube Data API to help users search for songs and obtain relevant video titles and links.How to use the YouTube MCP Server?
Simply send a request containing the song name to the server to get information about relevant videos on YouTube. No YouTube Premium subscription is required.Use cases
Suitable for application development that requires quickly obtaining YouTube song links, such as music players and playlist management scenarios.Main features
Song searchSearch for a specified song name through the YouTube Data API
Video information retrievalReturn the titles and URL links of matching videos
Free to useCan be used without a YouTube Premium subscription
Advantages and limitations
Advantages
Simple and easy-to-use API interface
Free to use without subscription
Quickly obtain YouTube video information
Limitations
Requires a valid YouTube API key
Subject to YouTube API quota limits
Only supports music video search
How to use
Clone the repository
Clone the project code to your local machine
Set up a virtual environment
Create and activate a Python virtual environment
Install dependencies
Install the necessary Python packages
Configure the API key
Set the YouTube API key in the.env file
Start the server
Run the Flask application
Usage examples
Search for a popular songGet information about the video of Ed Sheeran's 'Shape of You'
Search for a Chinese songGet information about the video of Jay Chou's 'Qilixiang'
Frequently Asked Questions
How to obtain a YouTube API key?
What if the server fails to start?
Why is there no search result?
Related resources
Python official website
Download Python 3.x
Google Cloud Console
Obtain a YouTube API key
Flask documentation
Official documentation of the Flask framework
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
95
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
148
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
835
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
572
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
286
4.5 points