video

Pack: pexels · Endpoint: https://gateway.pipeworx.io/pexels/mcp

Fetch full metadata for a single Pexels video by numeric id, including file URLs at all available resolutions, duration, width, height, and videographer attribution.

Parameters

NameTypeRequiredDescription
idnumberyes

Example call

Arguments

{
  "id": 3571638
}

curl

curl -X POST https://gateway.pipeworx.io/pexels/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"video","arguments":{"id":3571638}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('video', {
  "id": 3571638
});

Response shape

FieldTypeDescription
idintegerVideo ID
widthintegerVideo width in pixels
heightintegerVideo height in pixels
durationintegerVideo duration in seconds
urlstringURL to video page
imagestringThumbnail image URL
avg_colorstringAverage color as hex
userobjectVideographer information
video_filesarrayAvailable video file formats
video_subtitlesarrayAvailable subtitle files
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Video ID"
    },
    "width": {
      "type": "integer",
      "description": "Video width in pixels"
    },
    "height": {
      "type": "integer",
      "description": "Video height in pixels"
    },
    "duration": {
      "type": "integer",
      "description": "Video duration in seconds"
    },
    "url": {
      "type": "string",
      "description": "URL to video page"
    },
    "image": {
      "type": "string",
      "description": "Thumbnail image URL"
    },
    "avg_color": {
      "type": "string",
      "description": "Average color as hex"
    },
    "user": {
      "type": "object",
      "description": "Videographer information",
      "properties": {
        "id": {
          "type": "integer",
          "description": "User ID"
        },
        "name": {
          "type": "string",
          "description": "Videographer name"
        },
        "url": {
          "type": "string",
          "description": "User profile URL"
        }
      }
    },
    "video_files": {
      "type": "array",
      "description": "Available video file formats",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "File ID"
          },
          "quality": {
            "type": "string",
            "description": "Video quality (e.g., hd, sd, mobile)"
          },
          "type": {
            "type": "string",
            "description": "File type (e.g., video/mp4)"
          },
          "width": {
            "type": "integer",
            "description": "File width in pixels"
          },
          "height": {
            "type": "integer",
            "description": "File height in pixels"
          },
          "link": {
            "type": "string",
            "description": "Download URL"
          }
        }
      }
    },
    "video_subtitles": {
      "type": "array",
      "description": "Available subtitle files"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "pexels": {
      "url": "https://gateway.pipeworx.io/pexels/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 9, 2026