YouTube Insights MCP Server
A Model Context Protocol (MCP) server that enables insight extraction from YouTube videos, including subtitle parsing, keyword-based video discovery, and channel info retrieval.
Features
- Extract transcripts from YouTube videos (multi-language)
- Search videos by keyword and fetch metadata (views, likes, thumbnails, etc.)
- Retrieve channel info and latest videos from any YouTube video URL
- FastMCP-based server integration for easy deployment
- MCP Tools for seamless agent workflows
Example usecases
Finding Trending Videos and Summarizing
Analyzing a Channel's Recent Performance
Installation
Installing via Smithery
To install youtubeinsights-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @dabidstudio/youtubeinsights-mcp-server --client claude
Using uvx (recommended)
When using uvx, no specific installation is needed.
Add the following configuration to your MCP settings file (e.g., claude_desktop_config.json for Claude Desktop):
{
"mcpServers": {
"youtubeinsights": {
"command": "uvx",
"args": ["youtubeinsights-mcp-server"],
"env": {
"YOUTUBE_API_KEY": "your-api-key",
}
}
}
}
Development Installation
-
Clone this repository
-
Copy
.env.exampleto.envand fill in your youtube data api credentials{ "mcpServers": { "youtubeinsights": { "command": "uv", "args": [ "--directory", "path/to/youtubeinsights-mcp-server", "run", "youtubeinsights-mcp-server" ], "env": { "YOUTUBE_API_KEY": "your-api-key", } } } }
Available MCP Tools
get_youtube_transcript: Extract full transcript (subtitles) from a YouTube video URL (supportsko,en)search_youtube_videos: Search for videos on YouTube by keyword and retrieve key metadataget_channel_info: Get channel metadata and recent uploads based on any YouTube video URL
Sample MCP Tool Descriptions
{
"tool": "get_youtube_transcript",
"description": "Extract subtitles from a given YouTube video URL."
}
{
"tool": "search_youtube_videos",
"description": "Search videos by keyword and return metadata including views, likes, and thumbnails."
}
{
"tool": "get_channel_info",
"description": "Retrieve channel info (title, subscriber count, latest uploads) based on a video URL."
}
License
This project is licensed under the MIT License. See the LICENSE file for details.
Recommend MCP Servers 💡
elevenlabs-mcp
Official ElevenLabs MCP server enabling interaction with Text to Speech and audio processing APIs for MCP clients like Claude Desktop, Cursor, etc.
bilibili-mcp
一个用于获取 B 站热榜的 MCP 工具,基于 FastMCP 和 B 站公开接口。你可以通过注册到 Cursor 或其他 MCP 客户端,实时调用热门视频数据。
misskey-mcp-server
An unofficial MCP server for Misskey, providing basic functionality for posting notes and retrieving user notes.
@opgginc/opgg-mcp
The OP.GG MCP Server is a Model Context Protocol implementation that seamlessly connects OP.GG data with AI agents and platforms. This server enables AI agents to retrieve various OP.GG data via function calling.
jimmcq/Lemonade-Stand-MCP-Server
A simple MCP server implementation that enables playing the classic Lemonade Stand game through Claude Desktop.
instagram_dm_mcp
A Model Context Protocol (MCP) server for sending Instagram Direct Messages and managing related interactions