YouTube MCP Server
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., "@YouTube MCP ServerSearch for Python tutorial videos"
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.
YouTube MCP Server
A Model Context Protocol (MCP) server that provides tools for searching YouTube videos, retrieving transcripts, and performing semantic search over video content.
Support Us
If you find this project helpful and would like to support future projects, consider buying us a coffee! Your support helps us continue building innovative AI solutions.
Your contributions go a long way in fueling our passion for creating intelligent and user-friendly applications.
Related MCP server: YouTube MCP Server
Table of Contents
Features
Search YouTube videos without using the official API
Retrieve video transcripts
Store video information and transcripts in a vector database
Perform semantic search over stored video transcripts
Prerequisites
Python 3.8+
Google API key for embeddings
uv package manager
Installation
Clone this repository
Create and activate a virtual environment using uv:
uv venv
# On Windows:
.venv\Scripts\activate
# On Unix/MacOS:
source .venv/bin/activateInstall dependencies using uv:
uv pip install -r requirements.txtCreate a
.envfile with your Google API key:
GOOGLE_API_KEY=your_api_key_hereRunning the Server
There are two ways to run the MCP server:
1. Direct Method
To start the MCP server directly:
uv run python server.py2. Configure for Claude.app
Add to your Claude settings without using any package manager this works for windows:
"mcpServers": {
"youtube": {
"command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
"args": ["C:\\Path\\To\\Your\\Project\\server.py"],
"env": {
"GOOGLE_API_KEY": "your_api_key_here"
}
}
}Using Uv package manager this works for windows:
"mcpServers": {
"youtube": {
"command": "uv",
"args": ["--directory", "C:\\Path\\To\\Your\\Project", "run", "server.py"],
"env": {
"GOOGLE_API_KEY": "your_api_key_here"
}
}
}Available Tools
The server provides the following tools:
search-youtube: Search for YouTube videos based on a queryParameters:
query: Search query string
max_results: Maximum number of results to return (default: 5)
get-transcript: Get the transcript of a YouTube videoParameters:
video_url: URL of the YouTube video
store-video-info: Store video information and transcript in the vector databaseParameters:
video_url: URL of the YouTube video
metadata: Optional metadata about the video
search-transcripts: Search stored video transcripts using semantic searchParameters:
query: Search query
limit: Maximum number of results to return (default: 3)
Using with MCP Clients
This server can be used with any MCP-compatible client, such as Claude Desktop App. The tools will be automatically discovered and made available to the client.
Example Usage
Start the server using one of the methods described above
Open Claude Desktop App
Look for the hammer icon to verify that the YouTube tools are available
You can now use commands like:
"Search for Python tutorial videos"
"Get the transcript of this video: [video_url]"
"Search through stored video transcripts about machine learning"
Debugging
If you encounter any issues:
Make sure your Google API key is correctly set in the
.envfileCheck that all dependencies are installed correctly
Verify that the server is running and listening for connections
Look for any error messages in the server output
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
- AlicenseAqualityCmaintenanceEnables AI models to interact with YouTube content including video details, transcripts, channel information, playlists, and search functionality through the YouTube Data API.73510MIT
- FlicenseBqualityDmaintenanceEnables interaction with YouTube through search and transcript extraction functionality. Allows searching for videos and retrieving full transcripts with timestamps for content analysis.25
- AlicenseBqualityCmaintenanceEnables extraction of transcripts, keyword-based video search with metadata retrieval, and channel information discovery from YouTube videos through natural language interaction.34MIT
- Flicense-qualityCmaintenanceEnables AI assistants to search videos, channels, and playlists, retrieve video metadata, transcripts, and comments via the YouTube Data API v3.73
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.
Fetch transcripts, subtitles, chapters, metadata and frames from YouTube and 10+ video platforms
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/sddt97343-afk/YouTube-Copyright-remover-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server