YouTube MCP Server
YouTube MCP-Server
Eine Model Context Protocol (MCP)-Serverimplementierung für YouTube, die es KI-Sprachmodellen ermöglicht, über eine standardisierte Schnittstelle mit YouTube-Inhalten zu interagieren.
Merkmale
Videoinformationen
Erhalten Sie Videodetails (Titel, Beschreibung, Dauer usw.)
Kanalvideos auflisten
Erhalten Sie Videostatistiken (Aufrufe, Likes, Kommentare)
Suchen Sie auf YouTube nach Videos
Transkriptverwaltung
Videotranskripte abrufen
Unterstützung für mehrere Sprachen
Erhalten Sie Untertitel mit Zeitstempel
Suche in Transkripten
Kanalverwaltung
Kanaldetails abrufen
Kanal-Wiedergabelisten auflisten
Kanalstatistiken abrufen
Suche innerhalb des Kanalinhalts
Playlist-Verwaltung
Auflisten von Wiedergabelistenelementen
Details zur Wiedergabeliste abrufen
Suche innerhalb von Wiedergabelisten
Holen Sie sich die Transkripte der Playlist-Videos
Related MCP server: mcp-youtube-transcript
Installation
Installation über Smithery
So installieren Sie den YouTube MCP-Server für Claude Desktop automatisch über Smithery :
npx -y @smithery/cli install @ZubeidHendricks/youtube --client claudeManuelle Installation
npm install zubeid-youtube-mcp-serverKonfiguration
Legen Sie die folgenden Umgebungsvariablen fest:
YOUTUBE_API_KEY: Ihr YouTube-Daten-API-SchlüsselYOUTUBE_TRANSCRIPT_LANG: Standardsprache für Transkripte (optional, standardmäßig „en“)
Verwendung mit MCP-Client
Fügen Sie dies zu Ihrer MCP-Clientkonfiguration hinzu (z. B. Claude Desktop):
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "zubeid-youtube-mcp-server"],
"env": {
"YOUTUBE_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Verwendung mit VS Code
Klicken Sie für die Ein-Klick-Installation auf eine der folgenden Installationsschaltflächen:
Manuelle Installation
Wenn Sie die manuelle Installation bevorzugen, aktivieren Sie zunächst die Installationsschaltflächen oben in diesem Abschnitt. Andernfalls gehen Sie folgendermaßen vor:
Fügen Sie den folgenden JSON-Block zu Ihrer Benutzereinstellungsdatei (JSON) in VS Code hinzu. Drücken Sie dazu Ctrl + Shift + P und geben Sie Preferences: Open User Settings (JSON) ein.
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "apiKey",
"description": "YouTube API Key",
"password": true
}
],
"servers": {
"youtube": {
"command": "npx",
"args": ["-y", "zubeid-youtube-mcp-server"],
"env": {
"YOUTUBE_API_KEY": "${input:apiKey}"
}
}
}
}
}Optional können Sie es zu einer Datei namens .vscode/mcp.json in Ihrem Arbeitsbereich hinzufügen:
{
"inputs": [
{
"type": "promptString",
"id": "apiKey",
"description": "YouTube API Key",
"password": true
}
],
"servers": {
"youtube": {
"command": "npx",
"args": ["-y", "zubeid-youtube-mcp-server"],
"env": {
"YOUTUBE_API_KEY": "${input:apiKey}"
}
}
}
}YouTube API-Einrichtung
Gehen Sie zur Google Cloud Console
Erstellen Sie ein neues Projekt oder wählen Sie ein vorhandenes aus
Aktivieren Sie die YouTube Data API v3
API-Anmeldeinformationen (API-Schlüssel) erstellen
Kopieren Sie den API-Schlüssel zur Konfiguration
Beispiele
Verwalten von Videos
// Get video details
const video = await youtube.videos.getVideo({
videoId: "video-id"
});
// Get video transcript
const transcript = await youtube.transcripts.getTranscript({
videoId: "video-id",
language: "en"
});
// Search videos
const searchResults = await youtube.videos.searchVideos({
query: "search term",
maxResults: 10
});Kanäle verwalten
// Get channel details
const channel = await youtube.channels.getChannel({
channelId: "channel-id"
});
// List channel videos
const videos = await youtube.channels.listVideos({
channelId: "channel-id",
maxResults: 50
});Verwalten von Wiedergabelisten
// Get playlist items
const playlistItems = await youtube.playlists.getPlaylistItems({
playlistId: "playlist-id",
maxResults: 50
});
// Get playlist details
const playlist = await youtube.playlists.getPlaylist({
playlistId: "playlist-id"
});Entwicklung
# Install dependencies
npm install
# Run tests
npm test
# Build
npm run build
# Lint
npm run lintBeitragen
Informationen zum Mitwirken an diesem Repository finden Sie unter CONTRIBUTING.md.
Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert – Einzelheiten finden Sie in der Datei LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Connectors
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents. No signup.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.51965MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video transcripts and subtitles through a simple interface, making it ideal for content analysis and processing.146236MIT
- AlicenseBqualityBmaintenanceA server that enables interaction with YouTube data through the Model Context Protocol, allowing users to search videos, retrieve detailed information about videos/channels, and fetch comments.1213515MIT
- AlicenseAqualityDmaintenanceExtracts YouTube video metadata, titles, and descriptions along with transcripts generated from subtitles or OpenAI Whisper speech-to-text. This server enables users to retrieve and analyze detailed video content directly within MCP-compatible environments.113MIT
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/ZubeidHendricks/youtube-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server