claude-popcorn

v0.5.2
io.github.haithamelmengad/claude-popcorn Checked 4 days ago Published 13 days ago

Watch local videos from any MCP agent: scene-change key frames and a local Whisper transcript.

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

popcorn_suggest

Probe a video file and get suggested analysis settings. Returns video metadata, suggested video type, and recommended presets. Use this FIRST to understand the video and choose appropriate settings before running popcorn_analyze.

ParameterTypeDescription
path *stringPath to the video file to analyze.

popcorn_presets

List all available video type presets and objectives. Use this to understand what options are available for popcorn_analyze.

popcorn_analyze

Analyze a video file. Extracts keyframes and transcripts. RECOMMENDED: First use popcorn_suggest to get optimal settings, or specify videoType and objective to use smart presets.

ParameterTypeDescription
path *stringPath to the video file.
backendstringTranscription backend. 'auto' picks the best available. Options: whisper (OpenAI, most compatible), whisper-cpp (fast C++), mlx-whisper (Apple Silicon optimized), faster-whisper (GPU accelerated).
frameModestringOverride: 'scene' detects visual changes, 'interval' uses fixed timing.
framesPerMinnumberOverride: frames per minute (interval mode).
inlineFramesnumberOverride: frames to return as base64 in response.
languagestringTranscription language code (e.g., 'en').
maxChunkCharsnumberOverride: transcript chunk size.
maxFramesnumberOverride: maximum frames to extract.
maxTranscriptCharsnumberOverride: transcript excerpt length.
minSceneIntervalnumberOverride: minimum seconds between scene frames.
modelstringWhisper model: tiny, base, small, medium, large. For whisper-cpp: path to a ggml model file.
objectivestringWhat you want to accomplish. Options: summary (quick overview), detailed (thorough analysis), find_moment (searching for something specific), transcribe (focus on audio), visual_only (no transcription…
outDirstringOutput directory for analysis bundle.
sceneThresholdnumberOverride: scene sensitivity 0-1 (lower = more frames).
transcribebooleanOverride: whether to transcribe audio.
videoTypestringType of video content. This auto-configures optimal settings. Options: screencast (UI recordings, tutorials), presentation (slides, lectures), movie (films, TV), interview (podcasts, talking heads), s…

popcorn_read

Read a .json or .txt file from an analysis bundle with optional line slicing or transcript time filtering.

ParameterTypeDescription
path *stringPath to the file to read.
endLinenumber1-based line to stop reading.
endSecnumberEnd time in seconds (transcript JSON filtering).
maxCharsnumberMaximum characters to return.
startLinenumber1-based line to start reading.
startSecnumberStart time in seconds (transcript JSON filtering).

popcorn_backends

List available transcription backends on this system. Shows which backends are installed and ready to use. Use this to help users choose the best transcription option.