Install
$ agentstack add mcp-ipythonist-mcp-video ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
mcp-video
Video intelligence MCP server for AI-powered video analysis. Extract keyframes, transcripts, and visual content from any video URL — right inside Claude Code or any MCP client.
What it does
Point it at any video (YouTube, Vimeo, Twitter/X, Instagram, and 1000+ sites) and get:
- Keyframe extraction — scene-change detection picks the most meaningful frames
- Transcript extraction — auto-captions or manual subtitles with timestamps
- Full analysis — frames + transcript together for comprehensive video understanding
- Timestamp snapshots — grab a frame at any specific moment
- Video-to-strategy — extract trading strategies from YouTube/Instagram tutorials and generate runnable Python code (backtrader, zipline, pandas-ta, freqtrade)
Works with Claude's vision capabilities to understand what's actually shown in the video, not just what's said.
Trading Strategy Extraction
Point it at any trading tutorial video and get a complete, runnable strategy:
Convert this trading strategy to code: https://youtube.com/watch?v=...
Extract the RSI strategy from this video and generate backtrader code: https://youtube.com/watch?v=...
It extracts chart patterns, indicators, entry/exit rules from the video frames and transcript, then generates code for your preferred framework.
Install
# Requires Python 3.10+ and ffmpeg
pip install mcp-video
# Or with uv
uv pip install mcp-video
System dependencies
# macOS
brew install ffmpeg yt-dlp
# Ubuntu/Debian
sudo apt install ffmpeg
pip install yt-dlp
# Windows
choco install ffmpeg yt-dlp
Usage with Claude Code
Add to your Claude Code MCP config (~/.claude/claude_code_config.json):
{
"mcpServers": {
"video": {
"command": "mcp-video",
"args": []
}
}
}
Then in Claude Code, just ask:
Analyze this video: https://youtube.com/watch?v=...
What code is shown in this tutorial? https://youtube.com/watch?v=...
Summarize the key points from this talk: https://youtube.com/watch?v=...
Usage with any MCP client
# Run as stdio server (default)
mcp-video
# Run as HTTP server
python -m mcp_video.server --transport streamable-http
Tools
analyze_video
Full video analysis — extracts keyframes and transcript, returns images + text.
| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | url | string | required | Video URL | | max_frames | int | 8 | Max keyframes to extract | | include_transcript | bool | true | Include captions |
extract_video_frames
Extract frames only, with keyframe detection or uniform spacing.
| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | url | string | required | Video URL | | max_frames | int | 10 | Number of frames | | mode | string | "keyframe" | "keyframe" or "uniform" |
get_video_transcript
Get timestamped transcript/captions.
| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | url | string | required | Video URL |
get_frame_at_time
Extract a single frame at a specific timestamp.
| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | url | string | required | Video URL | | timestamp | float | required | Time in seconds |
video_to_strategy
Extract trading strategies from tutorial videos and generate runnable code.
| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | url | string | required | Video URL with trading strategy | | framework | string | "backtrader" | Target: backtrader, zipline, pandas-ta, freqtrade | | max_frames | int | 15 | More frames = more chart detail captured |
How it works
- Download — Uses
yt-dlpto download video (capped at 720p to save bandwidth) - Keyframe detection — OpenCV histogram comparison detects scene changes
- Frame encoding — Frames resized to 512px width, encoded as JPEG base64
- Transcript — Extracts YouTube auto-captions or manual subtitles
- MCP response — Returns
ImageContent+TextContentfor the LLM to analyze
All processing happens locally. No data sent to third-party services.
Development
git clone https://github.com/ipythonist/mcp-video.git
cd mcp-video
uv venv && uv pip install -e ".[dev]"
# Run tests
pytest
# Lint
ruff check src/
License
MIT
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ipythonist
- Source: ipythonist/mcp-video
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.