local-video-scenes-mcp
Extracts timestamped screenshots from local videos, enabling Claude to produce visual walkthroughs without audio analysis or cloud processing.
README
Local Video Scenes MCP
Local Video Scenes MCP extracts timestamped screenshots from local videos so Claude can produce a visual walkthrough. It does not use Whisper, audio transcription, or any hosted video-processing service.
What Stays Local
- The original video stays on your machine.
ffmpegandffproberun locally.- The MCP returns local screenshot paths and metadata.
- Claude analyzes only the screenshots you provide through the MCP result.
- Audio is not extracted or analyzed in V1.
Requirements
- Node.js 18.18+
ffmpegandffprobe
The server includes video.check_ffmpeg, which reports whether ffmpeg/ffprobe are available and gives platform-specific install guidance. It also includes video.install_ffmpeg, which dry-runs by default and only runs package-manager commands when called with execute: true.
When a package manager is detected, it suggests commands such as:
brew install ffmpeg
winget install --id Gyan.FFmpeg -e
choco install ffmpeg -y
sudo apt-get install -y ffmpeg
MCP Configuration
After installing or building the package, configure your MCP client to run:
{
"mcpServers": {
"local-video-scenes": {
"command": "npx",
"args": ["local-video-scenes-mcp"]
}
}
}
For local development from this repository:
{
"mcpServers": {
"local-video-scenes": {
"command": "node",
"args": ["/absolute/path/to/local-video-scenes-mcp/dist/server.js"]
}
}
}
Tools
video.extract_scenes
Input:
{
"path": "/path/to/bug-demo.mp4",
"sensitivity": 0.3,
"minGapSeconds": 1.5,
"mode": "auto"
}
Optional fields:
sensitivity: scene-change threshold between0and1; default0.3.maxFrames: maximum returned frames; defaultmin(80, max(12, ceil(durationSeconds / 3))).minGapSeconds: minimum gap between returned frames; default1.5.outputDir: output folder; default is a temp folder.mode:auto,scene, orsample; defaultauto.
Output includes:
durationsourcePathoutputDirextractionModemaxFramesperformanceEstimatewarningsframes[]withtimestamp,path,index, and optionalsceneScore
video.cleanup
Removes the generated frame directory:
{
"outputDir": "/tmp/video-context/abc123"
}
video.check_ffmpeg
Checks local ffmpeg/ffprobe availability and returns install guidance if either is missing.
video.install_ffmpeg
Returns the detected install commands by default:
{
"execute": false
}
To run the detected package-manager command, call it explicitly with:
{
"execute": true
}
Performance Defaults
The default frame budget is tuned for 1-minute screen recordings:
maxFrames = min(80, max(12, ceil(durationSeconds / 3)))
For a 60-second video, this returns about 20 frames by default. On an M2 with 16GB RAM, expected V1 behavior is:
- ffmpeg extraction: usually 1-5 seconds
- Claude visual walkthrough over 12-25 screenshots: roughly 10-30 seconds
- target end-to-end time for a 1-minute video: under about 30 seconds in normal cases
Claude Usage Guidance
When a user provides a video path:
- Call
video.extract_scenes. - Inspect the returned image paths as visual context.
- Produce a timestamped walkthrough of visible UI states, actions, errors, code, logs, and important text.
- Mention that audio was not analyzed.
- Use
video.cleanupwhen the generated screenshots are no longer needed.
Example:
The video shows the user opening the dashboard, navigating to Export, clicking the export action, and reaching a visible HTTP 500 error around 00:01:42. Audio was not analyzed.
Development
npm install
npm test
npm run typecheck
npm run build
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。