vidsum

v0.4.0
io.github.allenwu-blip/vidsum Checked 4 days ago Published 11 days ago

Summarize or transcribe video files and links (YouTube, Bilibili, TikTok...) on Apple Silicon.

Values you need

VariableWhat it is
VIDSUM_PROFILEoptional small (default; measured peak 7.2 GB, 16 GB Macs untested), large (32 GB+) or cloud (experimental: mock-tested only, no OCR outside macOS) Default: small
VIDSUM_COOKIES_FROM_BROWSERoptional For links that need a signed-in session: browser to read cookies from (chrome, firefox, safari, edge, ...), passed to yt-dlp. Set this or VIDSUM_COOKIES, not both
VIDSUM_COOKIESoptional secret For links that need a signed-in session: full path to a Netscape cookies.txt (yt-dlp gets a temporary copy). Set this or VIDSUM_COOKIES_FROM_BROWSER, not both
VIDSUM_API_KEYoptional secret Only for the cloud profile: key for an OpenAI-compatible API
VIDSUM_API_BASEoptional Only for the cloud profile: API base URL Default: https://api.openai.com/v1

PyPI (uvx) discovery passed

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

Run in a terminal
claude mcp add vidsum -- uvx --from vidsum-local==0.4.0 vidsum mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "vidsum": {
      "args": [
        "--from",
        "vidsum-local==0.4.0",
        "vidsum",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "vidsum": {
      "args": [
        "--from",
        "vidsum-local==0.4.0",
        "vidsum",
        "mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "vidsum": {
      "args": [
        "--from",
        "vidsum-local==0.4.0",
        "vidsum",
        "mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.vidsum]
command = "uvx"
args = ["--from", "vidsum-local==0.4.0", "vidsum", "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: summarize_video, transcribe_video.
  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