my-youtubeinsights-mcp-server
A practice project based on dabidstudio's YouTube Insights MCP Server.
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
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 more information.
Original Author
This project is based on the work of dabidstudio. See the original-author field in pyproject.toml for more information.
Metadata
Release files for youtube-insight 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| youtube_insight-0.1.0.tar.gz | 37.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| youtube_insight-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.8 kB
Release files / youtube_insight-0.1.0.tar.gz
| Download URL | youtube_insight-0.1.0.tar.gz |
|---|---|
| Size | 37.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9976febf920258531032dc4b26b0536a5d25c5a76e34c2804e6dddd53c4e390
|
|
BLAKE2b-256 checksum How to use checksums |
fb4a962aed900348b8ec46488ab61fcba78e1d3ee2bd20016a0db685647003f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / youtube_insight-0.1.0-py3-none-any.whl
| Download URL | youtube_insight-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b1767602771be678594c69838aedacfffa1f5b1e8ed0771b89692dcf5ffb984
|
|
BLAKE2b-256 checksum How to use checksums |
786890a773577cd84450b7a19be3ed231a4457fb98a21f167eacd12a221b0de2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Security for youtube-insight 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.