DeepSRT MCP Server provides a powerful way to extract and summarize YouTube video content through the Model Context Protocol. It connects Claude AI assistants to YouTube content by extracting transcripts and generating summaries directly from videos.
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"deepsrt": {
"type": "stdio",
"command": "bunx",
"args": [
"@deepsrt/deepsrt-mcp@latest",
"--server"
]
}
}
}
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Add this to your cline_mcp_settings.json
:
{
"mcpServers": {
"deepsrt": {
"type": "stdio",
"command": "bunx",
"args": [
"@deepsrt/deepsrt-mcp@latest",
"--server"
]
}
}
}
You can use the server directly with bunx:
# Start MCP server
bunx @deepsrt/deepsrt-mcp
# or explicitly
bunx @deepsrt/deepsrt-mcp --server
# Direct CLI commands
bunx @deepsrt/deepsrt-mcp get-transcript https://www.youtube.com/watch?v=dQw4w9WgXcQ
bunx @deepsrt/deepsrt-mcp get-summary dQw4w9WgXcQ --lang=zh-tw --mode=bullet
For frequent use, install globally:
npm install -g @deepsrt/deepsrt-mcp
# Then use directly
deepsrt-mcp get-transcript https://youtu.be/dQw4w9WgXcQ
deepsrt-mcp get-summary dQw4w9WgXcQ --lang=zh-tw --mode=narrative
The server provides two main tools accessible via the MCP protocol:
// Get video summary
const summaryResult = await mcp.use_tool("deepsrt", "get_summary", {
videoId: "dQw4w9WgXcQ",
lang: "zh-tw", // Optional, defaults to zh-tw
mode: "narrative" // Optional, "narrative" or "bullet"
});
// Get video transcript
const transcriptResult = await mcp.use_tool("deepsrt", "get_transcript", {
videoId: "dQw4w9WgXcQ", // Can also be a full YouTube URL
lang: "en" // Optional, defaults to en
});
The CLI provides the same functionality through direct commands:
bunx @deepsrt/deepsrt-mcp get-transcript <video-url> [options]
Options:
--lang=<language> Preferred language code for captions (default: en)
Examples:
bunx @deepsrt/deepsrt-mcp get-transcript https://www.youtube.com/watch?v=dQw4w9WgXcQ
bunx @deepsrt/deepsrt-mcp get-transcript dQw4w9WgXcQ --lang=zh-tw
bunx @deepsrt/deepsrt-mcp get-summary <video-url> [options]
Options:
--lang=<language> Target language for summary (default: zh-tw)
--mode=<mode> Summary format: "narrative" or "bullet" (default: narrative)
Examples:
bunx @deepsrt/deepsrt-mcp get-summary https://youtu.be/dQw4w9WgXcQ
bunx @deepsrt/deepsrt-mcp get-summary dQw4w9WgXcQ --lang=en --mode=bullet
The tool accepts multiple YouTube URL formats:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
https://youtu.be/dQw4w9WgXcQ
https://www.youtube.com/embed/dQw4w9WgXcQ
dQw4w9WgXcQ (direct video ID)
# Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)
**Author:** Rick Astley
**Duration:** 3:33
**Captions:** English (manual)
## Transcript
[00:18] ♪ We're no strangers to love ♪
[00:22] ♪ You know the rules and so do I ♪
[00:27] ♪ A full commitment's what I'm thinking of ♪
...
# Rick Astley - Never Gonna Give You Up
**Author:** Rick Astley
**Duration:** 3:33
**Language:** zh-tw
**Mode:** narrative
## Summary
這是一首經典的流行歌曲,表達了對愛情的承諾和忠誠...
# How Robots Are Helping Amazon Deliver on Prime Day
**Author:** Bloomberg Television
**Duration:** 5:45
**Language:** zh-tw
**Mode:** bullet
## Summary
# 機器人技術在亞馬遜倉儲的應用與效益
- 亞馬遜已部署了第一百萬個機器人,並在Prime Day等高峰期用於滿足訂單需求 [00:00:00]
- 機器人旨在為員工提供安全且高生產力的工作環境 [00:00:30]
- 移動機器人可以搬運超過一千磅的貨物,並移動貨架以減少員工的行走距離 [00:00:54]
...
If you encounter a 404 error, it may be because the video summary is not cached in the CDN. You can verify the cache status using:
curl -s 'https://worker.deepsrt.com/transcript' \
-i --data '{"arg":"v=VIDEO_ID","action":"summarize","lang":"zh-tw","mode":"narrative"}' | grep -i "^cache-status"
If you see cache-status: HIT
, the content is cached and should work through the MCP server.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "deepsrt-mcp" '{"command":"node","args":["/path/to/deepsrt-mcp/build/index.js"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"deepsrt-mcp": {
"command": "node",
"args": [
"/path/to/deepsrt-mcp/build/index.js"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"deepsrt-mcp": {
"command": "node",
"args": [
"/path/to/deepsrt-mcp/build/index.js"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect