
Video URL Analyzer
io.github.u2n4Published by GitHub account u2n4v1.5.1Updated Oct 24, 2026
Analyze YouTube/TikTok/Instagram videos: transcripts, AI insights, tutorial extraction
Overview
Local MCP server that lets an assistant analyze YouTube, TikTok and Instagram videos with Google Gemini: transcripts, Q&A, frames, clips and tutorial steps.
- What you can do
- Analyze videos and segments with custom prompts, or ask questions about their content using Gemini multimodal understanding, including photo and carousel posts on TikTok and Instagram. Extract timestamped, speaker-labeled transcripts in over 100 languages. Save a reusable local context per video, then answer follow-up questions from it, list or delete saved contexts, and inspect cache metadata. Extract still frames and short clips as local evidence assets, and clean up cached files with a dry-run default. Pull tutorial steps, shell commands, code snippets and file paths from technical videos, review them, and execute only with confirmation. Poll background job status for longer TikTok and 8s
- When to use it
- Useful when you want an assistant to summarize, question or mine a specific YouTube, TikTok or Instagram video without downloading it first, or to turn a technical tutorial video into reviewable steps. Best for research, content review and learning from video, not for bulk crawling.
- Requirements
- Runs locally over stdio, installed from PyPI with uvx or pip (Python 3.10+). Requires a Google Gemini API key in the GEMINI_API_KEY environment variable. ffmpeg and yt-dlp are used for frame and clip extraction; curl_cffi helps with TikTok and Instagram downloads. Network access to the video platforms and Google is needed.
Installation
In SourceWeft
- Open Video URL Analyzer in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Video Analyzer MCP Server
Analyze any video with AI — YouTube, TikTok & Instagram
Powered by Google Gemini 3.5 Flash · FastMCP · yt-dlp
[Gemini 3.5 Flash] [Python 3.10+] [MCP stdio] [Security Hardened] [MIT License]
Features · Architecture · Quick Start · Integration · Security · العربية
Features
[Features — Analyze, Transcript, Ask]
v1.5.4 exposes 18 MCP tools:
Supported Platforms
Photo / Slideshow Posts
YouTube videos are analyzed directly through Gemini's native video understanding — zero download, zero upload, maximum speed. For YouTube evidence assets,
source.mp4is not always required: saved contexts keep the original URL, so frame/clip tools can use the local stream fast path later.
Architecture
Operating Modes
These are behavior modes, not tool names:
Quick Start
The packaged runtime lives at src/video_url_analyzer_mcp/server.py; the
console entry point is video_url_analyzer_mcp:main. Pick whichever
install path matches your workflow.
Option A — one-line Windows installer (recommended for new users)
The installer follows the current MCP client pattern: it installs/runs from
PyPI with uvx, uses an existing GEMINI_API_KEY environment variable when
one is already set, otherwise asks for the key only through a hidden prompt,
and lets the user choose where to register the server:
- Claude Code
- Claude Desktop
- Codex CLI
- Cursor
- Windsurf
- VS Code / GitHub Copilot
- Google Antigravity
- Cline
Do not append your API key to the PowerShell command. If you skip the key,
the installer still registers the server and you can set GEMINI_API_KEY
later. If GEMINI_API_KEY is already set in your User environment, the
installer will use it directly and print only a masked form like
AIza...abcd.
Option B — uvx (no install)
Works on Windows / macOS / Linux as long as uv is on PATH.
Option C — Windows wizard from a checkout
The wizard:
- Verifies Python 3.10+ and (optionally)
uv. - Installs the package as an editable checkout or via
uv tool install. - Lets you save
GEMINI_API_KEYto a User environment variable or to a gitignored.env.keys.local. Keys are masked in logs (AIza...abcd), never printed in full. - Lets you pick a default model via
VIDEO_ANALYZER_MODEL. - Runs an offline import smoke test.
- Hands off to
scripts/configure_mcp_clients.ps1for client setup.
Option D — Manual install (any OS)
Get a free key at Google AI Studio,
then set it once in your shell environment (setx GEMINI_API_KEY ... on
Windows, or your ~/.zshrc / ~/.bashrc on macOS/Linux). For local dev
only, you can also drop it in a gitignored .env.keys.local next to the
repo.
Windows launcher
start.bat loads .env.keys.local (if present), sets safe defaults
(VIDEO_ANALYZER_MODE=auto), and runs python -m video_url_analyzer_mcp.
Use it as a command value in any MCP client that prefers a single
executable.
Integration
Run scripts/configure_mcp_clients.ps1 for an interactive menu, or copy
the snippets below from docs/mcp-config-examples.md. The wizard backs up
existing client config, validates JSON/TOML, and never overwrites unrelated
MCP servers.
Client configs use video-analyzer as the local MCP server entry name. The
published package remains video-url-analyzer-mcp, and the registry name
remains io.github.u2n4/video-url-analyzer-mcp.
Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json)
The wizard prefers leaving the API key in your OS environment. If you must
embed it, add "env": { "GEMINI_API_KEY": "YOUR_KEY_HERE" }.
Claude Code (CLI)
Or, after pip install -e . in the repo:
Codex CLI (~/.codex/config.toml)
VS Code / GitHub Copilot MCP
Workspace registration writes .vscode/mcp.json:
For all clients, restart the application after editing config so the new
MCP server is picked up. Full snippets — including Cursor, Windsurf,
Antigravity (%USERPROFILE%\.gemini\antigravity\mcp_config.json), and
Cline — live in docs/mcp-config-examples.md.
Usage Examples
Security
This server has been hardened against a comprehensive threat model audit:
Environment Variables
Default fast model:
gemini-3.5-flash. Default deep model (used whendetail="full"):gemini-3.1-pro-preview. SetVIDEO_ANALYZER_MODELto override both at once. Model availability can vary by Google account, region, and API tier — fall back togemini-flash-latestif the latest ids are not yet enabled for your key. |VIDEO_ANALYZER_MODE| Behavior preset (auto/api/client/local); read bystart.bat|auto|
Troubleshooting
Tech Stack
License
MIT
العربية
خادم تحليل الفيديو بالذكاء الاصطناعي
خادم MCP لتحليل الفيديو باستخدام Google Gemini 3.5 Flash — احدث نموذج Gemini Flash متعدد الوسائط من جوجل.
المميزات
المنصات المدعومة
التثبيت السريع (ويندوز)
استنسخ الريبو ثم شغل المعالج التفاعلي:
البديل بدون تثبيت: uvx video-url-analyzer-mcp.
الامان
الخادم محمي ضد:
- SSRF — قائمة بيضاء للنطاقات المسموحة فقط
- حقن الاوامر — حظر الاوامر الخطيرة + تنفيذ بدون shell
- اختراق المسارات — حظر 25+ مسار حساس
- حماية من الحمل الزائد — حد اقصى 10 مهام متزامنة
الحصول على مفتاح API
- اذهب الى Google AI Studio
- انشئ مفتاح API مجاني
- ضعه في ملف
.env:
Source: README.md at commit c33d3f6
Tools
0Version history
1- v1.5.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts