pexels/pexels

MCP Server

Pexels MCP Server - free b-roll video and photo stock

Pexels MCP server. Free, attribution-optional stock video and photos. The best zero-cost b-roll source for ad creative.

MCP Server

  • Package: pexels-mcp-server (community)
  • Transport: stdio
  • Command: npx -y pexels-mcp-server

Authentication

VariableRequiredDescription
PEXELS_API_KEYYesAPI key from pexels.com/api → register a new app

Available Tools

ToolDescription
pexels_search_videosSearch videos by query, filter by orientation/size/duration
pexels_search_photosSearch photos by query
pexels_get_videoFetch a video by ID with all rendition URLs
pexels_curated_photosEditorially curated photo feed
pexels_popular_videosCurrently popular videos

Configuration Example

toml
[[mcp.servers]]
name = "pexels"
type = "stdio"
command = "npx"
args = ["-y", "pexels-mcp-server"]
timeout_seconds = 60
env = { PEXELS_API_KEY = "{{INPUT:PEXELS_API_KEY}}" }
tools = []

Notes: API is free with a generous quota (200 req/hr, 20k req/mo). Always download the right rendition for the target aspect ratio.