API & MCP

Everything a person can do on Video Cutter & Merger, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://videocuttermerger.usefulweb.site/api/v1/calculate – run Video Cutter & Merger
  • GET https://videocuttermerger.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Video Cutter & Merger

Cuts a video to a start and end time, removes a section from the middle, or joins up to 5 clips in order. Copy mode is fast and lossless but cuts on keyframes; exact mode re-encodes (H.264/AAC) for frame-accurate cuts. Clips with identical settings are joined losslessly with the concat demuxer, others are normalised to a common size and frame rate first.

Inputs of Video Cutter & Merger
FieldTypeDefaultDescription
modeselect (cut, remove, merge)"cut"What to do
file (required)file—Video file (clip 1). MP4, MOV, MKV, WebM, AVI, MPEG-TS; max 250 MB and 20 minutes (in total when merging).
file2file—Clip 2 (merge mode)
file3file—Clip 3 (merge mode)
file4file—Clip 4 (merge mode)
file5file—Clip 5 (merge mode)
starttext—Start time. Seconds, mm:ss or hh:mm:ss.mmm.
endtext—End time. Empty = to the end.
accuracyselect (copy, exact)"copy"Cut accuracy
forceReencodebooleanfalseMerge: always normalise and re-encode (use if a lossless merge plays badly)

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://videocuttermerger.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: video_cutter_merger
  • Local stdio connector: node src/mcp-stdio.ts --tool=video-cutter-merger
{
  "mcpServers": {
    "video-cutter-merger": { "type": "http", "url": "https://videocuttermerger.usefulweb.site/mcp" }
  }
}