Video to Context

v0.5.3
io.github.wani-ham/video-to-context Checked 4 days ago Published 13 days ago

Turn short videos into timestamped text for LLMs: speech, on-screen text, and visual context.

Values you need

VariableWhat it is
ANTHROPIC_API_KEYoptional secret Optional Claude API key for visual analysis.
VISION_BASE_URLoptional Optional OpenAI-compatible vision endpoint, such as Ollama or Gemini.
VISION_API_KEYoptional secret Optional API key for the OpenAI-compatible endpoint.
VISION_MODELoptional Vision model name. Required with VISION_BASE_URL.
VIDEO_TEXT_ALLOWED_DIRSoptional Optional folders the server may read local videos from.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add video-to-context -- uvx video-to-context==0.5.3 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "video-to-context": {
      "args": [
        "video-to-context==0.5.3",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "video-to-context": {
      "args": [
        "video-to-context==0.5.3",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "video-to-context": {
      "args": [
        "video-to-context==0.5.3",
        "mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.video-to-context]
command = "uvx"
args = ["video-to-context==0.5.3", "mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: start_video_analysis, get_analysis_status, get_video_text, list_analyzed_videos, check_setup.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json