YouTube Summarizer MCP Server
Provides tools for fetching and searching YouTube video transcripts, including full text, timestamped segments, and stats. Allows AI agents to summarize videos via a prompt template.
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 Summarizer MCP Serversummarize 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.
YouTube Summarizer MCP Server
An MCP (Model Context Protocol) server that fetches YouTube video transcripts and exposes them to AI agents as tools, resources, and prompts.
Works with any MCP client — OpenWork, Claude Desktop, or any custom MCP host.
Features
Tools (callable by agents)
Tool | Description |
| Full plain-text transcript |
| Case-insensitive search, returns matching lines with timestamps |
| Every line prefixed with |
Resources (readable by agents)
URI | Description |
| Full plain text |
| Timestamped segments |
| Word count, duration, estimated reading time |
Prompt
summarize_video(video_url, format_style)— generates a prompt template that asks the LLM to summarize a video. The LLM can read the transcript resource and return a summary in the requested format (default: bullet points).
Related MCP server: ytmcp
Usage
Run directly
uv run --directory /path/to/yt-summarizer python3 summarizer.pyOr with the fastmcp CLI:
uv run --directory /path/to/yt-summarizer fastmcp run summarizer.pyConnect from Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"yt-summarizer": {
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/yt-summarizer",
"python3",
"summarizer.py"
]
}
}
}Connect from OpenWork
Add to opencode.jsonc:
{
"mcp": {
"youtube-summarizer": {
"type": "local",
"command": ["uv", "run", "--directory", "/path/to/yt-summarizer", "python3", "summarizer.py"],
"enabled": true
}
}
}Example
An agent can fetch and summarize a video in one interaction:
Agent reads
youtube://transcript/dQw4w9WgXcQ/stats— sees "1250 words, 5 min duration"Agent calls
get_youtube_transcript("https://youtube.com/watch?v=dQw4w9WgXcQ")— gets the full textAgent calls
search_transcript("https://youtube.com/watch?v=dQw4w9WgXcQ", "important topic")— finds relevant parts with timestampsAgent uses the
summarize_videoprompt template to format the final summary
Supported URL formats
https://youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://youtube.com/shorts/VIDEO_IDhttps://youtube.com/embed/VIDEO_IDhttps://youtube.com/v/VIDEO_ID
Requirements
Python 3.10+
fastmcp— MCP server frameworkyoutube-transcript-api— fetches YouTube transcripts
Project structure
yt-summarizer/
├── summarizer.py # Main MCP server
├── yt-summarizer.py # Original minimal version
├── yt-summarizer1.py # Older version with logging
├── pyproject.toml # Dependencies
├── plan.txt # Dev notes
└── README.mdMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/Vinaykumarreddy467/yt-summarizer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server