YouTube Insights MCP Server
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.
Click on "Deploy 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 Insights MCP Serversearch for videos about AI news from last week"
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 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
Related MCP server: youtube-mcp
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 claudeUsing 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.
Available Tools
3 toolsget_channel_infoA
Get channel information and 10 recent videos from a YouTube video URL
| Name | Required | Description | Default |
|---|---|---|---|
| video_url | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the burden. It discloses a read operation but does not mention any authentication needs, rate limits, or data freshness, which is adequate but not enriched.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of 12 words, front-loaded with the verb, and contains no redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one param, no output schema), the description is mostly adequate but lacks details on what specific channel information is returned, leaving some ambiguity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description only restates the parameter name ('from a YouTube video URL') without adding format constraints, examples, or deeper semantics beyond what 'video_url' implies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies a clear verb (Get), resource (channel information and 10 recent videos), and input (YouTube video URL), effectively distinguishing it from siblings like get_youtube_transcript and search_youtube_videos.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the purpose (use when you have a video URL and want channel info), but no explicit when-to-use or when-not-to-use guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_youtube_transcriptC
Get the transcript of a YouTube video
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. Description does not disclose any behavioral traits beyond the basic action. Misses details like return format, error handling, rate limits, or limitations (e.g., video language).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with no fluff, but overly minimal. Could include more context without being verbose. Acceptable but not ideal.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given simplicity (1 parameter, no output schema), description should cover expected output, error cases, and prerequisites. It only states the basic function, leaving gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has only 'url' with no description, and schema description coverage is 0%. Description does not explain the parameter at all. Adds no value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the action (Get) and resource (transcript of a YouTube video). Distinct from sibling tools (get_channel_info, search_youtube_videos).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives. Does not specify prerequisites (e.g., video must have captions) or when not to use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_youtube_videosC
Search YouTube videos by keyword and retrieve detailed information
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided; description does not disclose result limits, sorting, pagination, or what 'detailed information' includes, leaving behavioral uncertainty.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no waste, but vague and insufficiently informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and single parameter, the description lacks return value details and behavioral context, incomplete for a search tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 0% parameter description coverage; description adds no meaning beyond 'keyword' and does not clarify format or examples.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear verb+resource: 'Search YouTube videos by keyword' distinguishes from sibling tools 'get_channel_info' and 'get_youtube_transcript'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs siblings or when not to use it. Only states what it does.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.2- First observed
get_channel_info - First observed
get_youtube_transcript - First observed
search_youtube_videos
TDQS
Scored across 3 tools
Each tool targets a distinct resource: transcript, video search, and channel info. There is no overlap in their purposes, making it clear which tool to use for a given task.
All tool names follow a consistent verb_noun pattern: get_*, search_*, get_*. The pattern is predictable and clear.
With only 3 tools, the server is minimal but might be slightly thin for a server that aims to provide YouTube insights. However, for its narrow scope (transcript, search, channel info), it is acceptable.
The server covers core YouTube operations (transcript, video search, channel info), but lacks common features like getting video details by ID, comments, or playlist retrieval. The gap is notable but not critical for basic use cases.
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Search YouTube, read video metadata, and fetch transcripts with language preferences
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interaction with YouTube through search and transcript extraction functionality. Allows searching for videos and retrieving full transcripts with timestamps for content analysis.27-
- AlicenseAqualityDmaintenanceEnables AI tools to access YouTube content, including transcript extraction, video/channel info, and search.49 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables YouTube data crawling and AI-powered summarization of videos, including channel metadata retrieval, time-range queries, and automatic transcription with multi-language support.-
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with YouTube videos by fetching transcripts, summarizing content, and answering questions based on video context.-