video_search
Pack: pexels · Endpoint: https://gateway.pipeworx.io/pexels/mcp
Search Pexels videos by keyword (required); returns paginated results with video file URLs at multiple resolutions, duration, and videographer info.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes |
Example call
Arguments
{
"query": "nature documentary"
}
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_search","arguments":{"query":"nature documentary"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('video_search', {
"query": "nature documentary"
});
More examples
{
"query": "urban timelapse"
}
Response shape
| Field | Type | Description |
|---|---|---|
page | integer | Current page number |
per_page | integer | Number of results per page |
videos | array | Array of video objects |
total_results | integer | Total number of results available |
next_page | string | URL for next page of results |
Full JSON Schema
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"description": "Current page number"
},
"per_page": {
"type": "integer",
"description": "Number of results per page"
},
"videos": {
"type": "array",
"description": "Array of video objects",
"items": {
"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"
}
}
}
},
"total_results": {
"type": "integer",
"description": "Total number of results available"
},
"next_page": {
"type": "string",
"description": "URL for next page of results"
}
}
}
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.