Video URL Analyzer

v1.5.1
io.github.u2n4/video-url-analyzer-mcp Checked 4 days ago Published 6 months ago

Analyze YouTube/TikTok/Instagram videos: transcripts, AI insights, tutorial extraction

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_video Analyze Video

Analyze a video or photo/slideshow post from YouTube, TikTok, or Instagram. Provides comprehensive audio + visual analysis using Gemini AI. Works with videos AND photo/slideshow posts on TikTok, Instagram, and YouTube community posts. YouTube videos are analyzed directly and return the result immediately. TikTok and Instagram videos are processed in the background — the tool returns a job_id. Use check_analysis_job(job_id) to poll for the result.

ParameterTypeDescription
url *stringThe video URL (YouTube, TikTok, Instagram, or other).
modelstringGemini model to use. Defaults to gemini-2.5-flash.
promptstringCustom analysis prompt. Defaults to comprehensive analysis.

get_transcript Get Transcript

Extract speech transcript from a video or slideshow audio track. YouTube returns the result immediately. TikTok/Instagram return a job_id — use check_analysis_job(job_id) to poll for the result. Slideshows without audio return a structured slideshow_no_audio response.

ParameterTypeDescription
url *stringThe video URL (YouTube, TikTok, Instagram, or other).
langstringLanguage hint (e.g., 'en', 'ar', 'auto'). Defaults to auto-detect.
modelstringGemini model to use. Defaults to gemini-2.5-flash.

ask_about_video Ask About Video

Ask a specific question about a video or photo/slideshow post. Works with videos AND photo/slideshow posts on TikTok, Instagram, and YouTube community posts. YouTube returns the answer immediately. TikTok/Instagram return a job_id — use check_analysis_job(job_id) to poll for the result.

ParameterTypeDescription
question *stringYour question about the video.
url *stringThe video URL (YouTube, TikTok, Instagram, or other).
modelstringGemini model to use. Defaults to gemini-2.5-flash.

find_video_moments Find Video Moments

Find moments in a video matching a semantic query. Gemini performs the video/audio/visual reasoning. detail controls model + max_output_tokens + thinking/media config. compact is default and returns concise structured JSON.

ParameterTypeDescription
query *string
url *string
context_secondsinteger
detailstring
max_resultsinteger
model
return_full_textboolean

analyze_video_segment Analyze Video Segment

Analyze only a selected video segment. Uses Gemini video_metadata clipping when available. Gemini performs video/audio/visual reasoning. detail controls model + max_output_tokens + thinking/media config.

ParameterTypeDescription
end *string
start *string
url *string
detailstring
model
promptstring
return_full_textboolean

prepare_video_context Prepare Video Context

Analyze a whole video once and save a local structured context.

ParameterTypeDescription
url *string
chunk_secondsinteger
detailstring
force_refreshboolean
model

ask_video_context Ask Video Context

Answer a question from saved video context without Gemini by default.

ParameterTypeDescription
question *string
video_id_or_url *string
detailstring
reanalyze_if_neededboolean
use_geminiboolean

list_video_contexts List Video Contexts

List saved local video context files.

ParameterTypeDescription
filter_text
limitinteger

delete_video_context Delete Video Context

Delete one saved local video context file.

ParameterTypeDescription
video_id_or_url *string

get_video_frame Get Video Frame

Extract a local still frame and return compact asset metadata.

ParameterTypeDescription
timestamp *string
video_id_or_url *string
force_refreshboolean
output_formatstring
reason

get_video_clip Get Video Clip

Extract a local video clip under 30 seconds and return metadata.

ParameterTypeDescription
end *string
start *string
video_id_or_url *string
force_refreshboolean
max_duration_secondsinteger
output_formatstring
reason

get_video_evidence_asset Get Video Evidence Asset

Find saved visual evidence and return a local frame/clip reference.

ParameterTypeDescription
request *string
video_id_or_url *string
asset_typestring
max_duration_secondsinteger
preferred_end
preferred_start
preferred_timestamp

list_video_sources List Video Sources

List cached video sources, contexts, and assets. Never calls Gemini.

ParameterTypeDescription
filter_text
limitinteger

cleanup_video_cache Cleanup Video Cache

Inspect or clean managed video cache files. Safe dry-run by default.

ParameterTypeDescription
dry_runboolean
scopestring
video_id

watch_and_analyze Watch And Analyze

Watch a video tutorial and extract all technical steps, commands, and code. Downloads the video, analyzes it with Gemini AI, and returns structured JSON with every command, code snippet, file path, and tool mentioned. YouTube returns the result immediately. TikTok/Instagram return a job_id — use check_analysis_job(job_id) to poll for the result. This tool ONLY analyzes — it does NOT execute anything. Use execute_tutorial_steps to run the extracted steps after review.

ParameterTypeDescription
url *stringVideo URL (YouTube, TikTok, Instagram).
langstringLanguage hint (e.g., 'en', 'ar', 'auto'). Defaults to auto-detect.
modelstringGemini model to use. Defaults to gemini-2.5-flash.

check_analysis_job Check Analysis Job

Check the status of a background video analysis job. When analyze_video, get_transcript, ask_about_video, or watch_and_analyze returns a job_id (for TikTok/Instagram videos), use this tool to poll for the result. Keep calling until status is "completed" or "failed".

ParameterTypeDescription
job_id *stringThe job ID returned by the analysis tool.

execute_tutorial_steps Execute Tutorial Steps

Review or execute tutorial steps extracted by watch_and_analyze. SAFETY: By default (confirm=false), this only shows a summary of what WOULD be executed. Set confirm=true ONLY after reviewing the steps.

ParameterTypeDescription
steps_json *stringThe JSON output from watch_and_analyze (copy the full analysis field).
confirmbooleanIf false (default), shows a review summary. If true, executes the steps.