Enables extraction of video transcripts in multiple languages, keyword-based video search with metadata retrieval (views, likes, thumbnails), and channel information discovery including subscriber counts and recent uploads.
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:
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):
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
License
This project is licensed under the MIT License. See the LICENSE file for details.