mcp-youtube
Provides tools for retrieving YouTube video transcripts and metadata, such as title, channel, duration, publish date, view count, and available transcript languages.
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-youtubesummarize the transcript of this YouTube video: https://youtu.be/dQw4w9WgXcQ"
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
An MCP server that turns a YouTube link into something a model can read: the video's transcript, or its metadata. A link is not its contents — an agent handed a YouTube URL cannot summarise the video until the words are in hand. This closes that gap, and only that gap.
Keyless by default: it asks YouTube's own innertube player endpoint — the
JSON the app itself boots from — and the caption endpoint it names. With a
YOUTUBE_API_KEY set, get_video_info moves onto the official Data API v3
instead, which datacenter egress IPs are not bot-gated out of; transcripts
cannot make that move (caption download needs OAuth and video ownership), so
get_transcript always rides innertube.
Tools
Tool | What it returns |
| The captions as |
| Title, channel, duration, publish date, view count, description (capped), and which transcript languages exist. |
Both accept a url that is any usual link shape — watch?v=, youtu.be/,
shorts/, embed/, live/ — or a bare 11-character video id.
Both wrap their output in an untrusted content header: transcripts and descriptions are third-party text from an address the model chose, and the provenance is stated at the point of use.
Outbound boundary
The server never fetches the caller's URL. It parses a video id out of it and
talks only to youtube.com (and googleapis.com when a Data API key is set);
even the caption URL — which arrives inside YouTube's own page — is refused if
it points anywhere else.
Related MCP server: YouTube Transcript MCP Server
Protocol
MCP over plain HTTP (POST /mcp, JSON-RPC 2.0): initialize, tools/list,
tools/call, ping. Stateless — DELETE (session teardown) is a 204, and
notifications are accepted and dropped. Implemented directly rather than
through an SDK, the same choice mcp-url-fetch made: the surface is four
methods, and an SDK whose schema generation shifts underneath is the only
dependency that has actually broken a server like this.
GET /health answers 200 {"status":"ok"} for probes.
Configuration
Variable | Default | Meaning |
|
| Listen port. |
| unset | When set, every call must present it as a bearer token. Unset answers any caller — safe only while nothing routes to the server from outside the cluster, and the startup log says loudly which mode is active. |
| unset | A YouTube Data API v3 key. When set, |
Develop
npm install
npm run dev # tsx src/server.ts on :3000
npm test # node --test via tsx
npm run typecheckTry it:
curl -s localhost:3000/mcp -H 'content-type: application/json' -d '{
"jsonrpc": "2.0", "id": 1, "method": "tools/call",
"params": { "name": "get_transcript",
"arguments": { "url": "https://youtu.be/dQw4w9WgXcQ" } }
}'Deploy
The image is what ships (see Dockerfile). CI builds it on every pull request
and push to main; a v* tag publishes it to ECR + GHCR and then dispatches
the released version to the GitOps repository (opspresso/argocd-env-demo),
which rolls out the deploy. The intended deployment is a Deployment behind a
ClusterIP in the agent-mcps namespace, beside its siblings mcp-url-fetch
and mcp-memory.
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
- AlicenseAqualityDmaintenanceEnables YouTube content browsing, video searching, and metadata retrieval via the YouTube Data API v3. It also facilitates fetching video transcripts for summarization and analysis within MCP-compatible AI clients.Last updated7311MIT
- Alicense-qualityBmaintenanceFetches YouTube video transcripts with timestamps and provides them to LLM agents via MCP, enabling natural language access to video content.Last updated634MIT
- AlicenseAqualityDmaintenanceEnables AI tools to access YouTube content, including transcript extraction, video/channel info, and search.Last updated424MIT
- Flicense-qualityDmaintenanceEnables LLMs to interact with YouTube videos by fetching transcripts, summarizing content, and answering questions based on video context.Last updated
Related MCP Connectors
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.
YouTube transcripts, subtitles, and video metadata as structured JSON via an Apify Actor.
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/opspresso/mcp-youtube'
If you have feedback or need assistance with the MCP directory API, please join our Discord server