Add your description here
Project description
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
Installation
Using uvx (recommended)
When using uvx, no specific installation is needed.
Add the following configuration to your MCP settings file (e.g., cline_mcp_settings.json for Claude Desktop):
{
"mcpServers": {
"youtubeinsights": {
"command": "uvx",
"args": ["youtubeinsights-mcp-server"],
"env": {
"YOUTUBE_API_KEY": "your-api-key",
}
}
}
}
Development Installation
- Clone this repository
- Install dependencies:
uv venv - 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file youtubeinsights_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: youtubeinsights_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4b6c7edef8acee8c1c92960b6b64f2201f8411ad86c87510efe8a4e2b139011
|
|
| MD5 |
525ae16ce4ec470a37f892d282b2fabc
|
|
| BLAKE2b-256 |
eb36bba048f2d4b5eed88a46527ab2d535b23a4f1cc1c3ace24c1150e4c73a42
|
File details
Details for the file youtubeinsights_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: youtubeinsights_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6deccc0bef5669ae2d03defc7f1be05f9a3cc7e5a4e91a4f2eb7c22d82159d91
|
|
| MD5 |
f795a2d4ff7c7d6d9f469f7ee3110410
|
|
| BLAKE2b-256 |
9e009ce494be55520b24369e1db4ac6c74e7e6094f6690bc0509c14e9168bc9b
|