io.github.KitDevUA/video-vision-mcp

السجل الرسمي أدوات المطورين

Analyze any video (local file or URL) into frames + transcript for Claude Code

ماذا يمكنك أن تفعل مع io.github.KitDevUA/video-vision-mcp؟

  • analyze_video — frames + transcript + metadata (the main tool). frame_interval
  • get_video_transcript_only — transcript text only.
  • extract_frames_at — frames at specific timestamps ("00:42", "1:05", 12.5).
  • list_recent_analyses — cached analyses + backend used.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package video-vision-mcp
Claude Code
claude mcp add video-vision-mcp -e 'VIDEO_MCP_ENV=<VIDEO_MCP_ENV>' -e 'GEMINI_API_KEY=<your gemini_api_key>' -e 'OPENAI_API_KEY=<your openai_api_key>' -e 'GROQ_API_KEY=<your groq_api_key>' -- uvx video-vision-mcp==0.5.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "video-vision-mcp": {
            "command": "uvx",
            "args": [
                "video-vision-mcp==0.5.1"
            ],
            "env": {
                "VIDEO_MCP_ENV": "<VIDEO_MCP_ENV>",
                "GEMINI_API_KEY": "<your gemini_api_key>",
                "OPENAI_API_KEY": "<your openai_api_key>",
                "GROQ_API_KEY": "<your groq_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • VIDEO_MCP_ENV Optional path to a .env file with config (API keys, tuning).
  • GEMINI_API_KEY سري Enables tier-3 native Gemini video analysis (default when set).
  • OPENAI_API_KEY سري Enables tier-2 OpenAI Whisper transcription.
  • GROQ_API_KEY سري Enables tier-2 Groq whisper-large-v3 transcription.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. video-vision-mcp
  2. Three backend tiers (auto-selected)
  3. Tools
  4. Install
  5. Configure
  6. Register in Claude Code
  7. Cache
  8. Using it with an integration (e.g. Jira, Slack)

video-vision-mcp

An MCP server that gives Claude Code the ability to analyze any video — a local file or a URL — through one set of tools.

Claude can't watch video natively (only text + the first frame of an image). This server converts a video into sampled frame images + an audio transcript, or — when a Gemini key is present — a native Gemini analysis of the whole video.

It is standalone: give it a ready video (a local path or a direct URL) and it does the rest. It does not connect to Jira/Slack/etc. If a video lives behind an integration, fetch it with that integration first (download to a file or get a direct URL), then hand the file_path or url to this server.

Scenario: a Jira bug ticket has only a screen-recording, no text. Your Jira MCP downloads the attachment to a temp file → analyze_video file_path=/tmp/bug.mp4 → you see the frames + transcript (or Gemini's analysis) and can reason about the bug.

Three backend tiers (auto-selected)

TierNeedsWhat it does
1 — local (default)nothingffmpeg frames + whisper.cpp transcript. Free, fully local, always works.
2 — cloud ASROPENAI_API_KEY or GROQ_API_KEYLocal frames, but transcription via OpenAI Whisper / Groq for higher quality.
3 — native GeminiGEMINI_API_KEYGemini ingests the whole video (visual + audio) in one call, with MM:SS timestamps. Default when the key is set.

Precedence: Gemini > OpenAI > Groq > local. Set VIDEO_MCP_DISABLE_GEMINI=true to force tiers 1/2 even with a Gemini key. The backend used is named in every result.

Privacy: tier 1 never uploads anything. Tiers 2/3 print a one-time notice in the session the first time video content is sent to a third party.

Tools

  • analyze_video — frames + transcript + metadata (the main tool). frame_interval sets seconds between frames (default 1.0; e.g. 0.5/0.25/0.1 denser, 2/5 sparser).
  • get_video_transcript_only — transcript text only.
  • extract_frames_at — frames at specific timestamps ("00:42", "1:05", 12.5).
  • list_recent_analyses — cached analyses + backend used.

Install

Requires Python ≥ 3.10. A single install pulls everything — backends, plus the ffmpeg and whisper.cpp dependencies. Nothing is ever installed globally on your machine (no brew/apt/winget, no sudo).

With uv you don't install it explicitly — uvx runs the published package on demand (see Register in Claude Code). To install into an environment instead:

uv pip install video-vision-mcp     # or: pip install video-vision-mcp
From source (development)
git clone https://github.com/KitDevUA/video-vision-mcp.git
cd video-vision-mcp
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"          # all backends bundled
Dependencies — fully self-contained
  • ffmpeg / ffprobe: if they are already on your PATH, those system binaries are used. Otherwise the bundled static-ffmpeg package supplies them (fetched once into its own local cache — never a system-wide install).
  • whisper.cpp (tier 1 transcription): shipped as the bundled pywhispercpp binding (prebuilt wheels; builds from source only if no wheel exists for your platform/Python). A whisper-cli already on PATH is used if present.
  • whisper model: the ggml model (base by default) downloads from Hugging Face into the cache on first transcription. Override with VIDEO_MCP_WHISPER_MODEL (tiny/base/small/medium/large-v3) or VIDEO_MCP_WHISPER_MODEL_PATH.
  • cloud-only: set OPENAI_API_KEY / GROQ_API_KEY (tier 2) or GEMINI_API_KEY (tier 3); whisper.cpp is then never invoked.

Configure

cp env.example .env
# edit .env — nothing is required for tier 1

See env.example for every variable — all optional (API keys and tuning). Tier 1 needs none.

Register in Claude Code

Add to your project .mcp.json (or global config) — see .mcp.json.example:

{
  "mcpServers": {
    "video-vision": {
      "command": "uvx",
      "args": ["video-vision-mcp"],
      "env": { "VIDEO_MCP_ENV": "/abs/path/to/.env" }
    }
  }
}

uvx downloads and runs the published package automatically — no manual install step. VIDEO_MCP_ENV is optional (tier 1 needs no keys); point it at your .env if you use the cloud backends. For local development against a checkout, use "args": ["--from", "/abs/path/to/video-vision-mcp", "video-vision-mcp"] instead. Restart Claude Code; the video-vision tools then appear.

Cache

Results are cached at ~/.cache/video-vision-mcp/ keyed by (file hash, backend, frame interval) — re-analyzing the same video is instant, and switching backends or intervals keeps each result separately. Downloaded URLs and whisper models live under the same dir. Override with VIDEO_MCP_CACHE_DIR.

Cached analyses and downloaded videos older than VIDEO_MCP_CACHE_TTL_HOURS (default 24) are pruned on startup and skipped on read; set 0 to keep them forever. Whisper models are never pruned (expensive to re-download).

Using it with an integration (e.g. Jira, Slack)

This server is deliberately standalone — it never talks to Jira, Slack, or any other service. When a video lives behind an integration, let that integration's MCP fetch it, then pass the result here:

  1. The integration MCP downloads the attachment to a local file (or gives a direct, publicly reachable URL — an authenticated API URL won't work with url).
  2. Call analyze_video file_path=<downloaded file> (or url=<direct link>).

This keeps auth and service-specific logic where it belongs, and lets one video tool serve every source.

الأسئلة الشائعة

ما هو io.github.KitDevUA/video-vision-mcp؟

Analyze any video (local file or URL) into frames + transcript for Claude Code

كيف أثبّت io.github.KitDevUA/video-vision-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add video-vision-mcp -e 'VIDEO_MCP_ENV=<VIDEO_MCP_ENV>' -e 'GEMINI_API_KEY=<your gemini_api_key>' -e 'OPENAI_API_KEY=<your openai_api_key>' -e 'GROQ_API_KEY=<your groq_api_key>' -- uvx video-vision-mcp==0.5.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.KitDevUA/video-vision-mcp إلى مفتاح API؟

نعم. يتطلب GEMINI_API_KEY, OPENAI_API_KEY, GROQ_API_KEY، وتضبطها في إعداداته.

هل io.github.KitDevUA/video-vision-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.KitDevUA/video-vision-mcp؟

ينشره KitDevUA. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.