YouTube Insights MCP Server
Extract insights from YouTube videos, including subtitles, video discovery, and channel information.
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
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.example
to.env
and 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.
Related Servers
HDW MCP Server
Access and manage LinkedIn data and user accounts using the HorizonDataWave API.
MCP-Puppeteer-Linux
Automate web browsers on Linux using Puppeteer. Enables LLMs to interact with web pages, take screenshots, and execute JavaScript.
Web Fetch
Fetches and transforms web content, including JavaScript-rendered pages and media files, into various formats.
Read Website Fast
Fast, token-efficient web content extraction that converts websites to clean Markdown. Features Mozilla Readability, smart caching, polite crawling with robots.txt support, and concurrent fetching with minimal dependencies.
Scrapeless
Integrate real-time Scrapeless Google SERP(Google Search, Google Flight, Google Map, Google Jobs....) results into your LLM applications. This server enables dynamic context retrieval for AI workflows, chatbots, and research tools.
MCP FetchPage
Intelligent web page fetching with automatic cookie support and CSS selector extraction.
Crawl4AI MCP Server
An MCP server for advanced web crawling, content extraction, and AI-powered analysis using the crawl4ai library.
ElToque MCP Server
Fetches USD and EUR prices from the Cuban parallel market via eltoque.com.
SABIS MCP Server
Access academic grades from the Sakarya University SABIS system via automated web scraping.
AgentQL
Enable AI agents to get structured data from unstructured web with AgentQL.