mcp-youtube-search
Searches YouTube videos via SerpAPI, returning title, link, channel, views, duration, and published date.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-youtube-searchsearch for python tutorials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP YouTube Search
A Python package for searching YouTube videos via SerpAPI, with an MCP server implementation.
Installation
Install from PyPI:
pip install mcp-youtube-searchRelated MCP server: YouTube MCP Server
Requirements
Python 3.11+
SerpAPI API key (get one at serpapi.com)
Usage
Set your API key
You can set your SerpAPI API key in one of two ways:
Set it as an environment variable:
export SERP_API_KEY="your_api_key_here"Or create a
.envfile with the following content:SERP_API_KEY=your_api_key_here
As a Python library
from mcp_youtube_search.search import YouTubeSearch
# Initialize with API key
search = YouTubeSearch(api_key="your_api_key_here") # or omit to use env var
# Search for videos
results = search.search("python tutorial", max_results=5)
# Process results
for video in results["results"]:
print(f"Title: {video['title']}")
print(f"Link: {video['link']}")
print(f"Channel: {video['channel']}")
print(f"Views: {video['views']}")
print(f"Duration: {video['duration']}")
print(f"Published: {video['published_date']}")
print("---")As a command-line tool
Search for videos:
mcp-youtube-search search "python tutorial" --max-results 5Run as an MCP server:
mcp-youtube-search serverMCP Server Integration
The package can be used as an MCP server for integration with AI assistants:
from mcp_youtube_search.mcp_server import run_server
# Run the server with an optional API key (or use env var)
run_server(api_key="your_api_key_here")License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to search YouTube for videos, channels, and playlists while retrieving detailed analytics and metrics through the YouTube Data API v3. Supports advanced filtering options and provides comprehensive statistics for content discovery and analysis.Last updated1MIT
- Flicense-qualityDmaintenanceEnables interaction with YouTube through the YouTube Data API, allowing users to search for videos, playlists, and channels, generate video titles using AI, and manage YouTube content through natural language commands.Last updated22

SerpApi MCP Serverofficial
Alicense-qualityAmaintenanceEnables searches across multiple search engines (Google, Bing, YouTube, etc.) and retrieval of parsed search results through SerpApi, allowing natural language queries to access live search engine data.Last updated162MIT- FlicenseBqualityDmaintenanceEnables interaction with YouTube through search and transcript extraction functionality. Allows searching for videos and retrieving full transcripts with timestamps for content analysis.Last updated25
Related MCP Connectors
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
YouTube transcripts, subtitles, and video metadata as structured JSON via an Apify Actor.
AI-agent search API: Google, YouTube, Amazon, Reddit, TikTok, TikTok Shop, Instagram, X, LinkedIn
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arjunprabhulal/mcp-youtube-search'
If you have feedback or need assistance with the MCP directory API, please join our Discord server