Skip to main content
Glama
fkilter

pexels-mcp-pro

by fkilter

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PEXELS_API_KEYYesYour Pexels API key (required, get one at https://www.pexels.com/api/)
PEXELS_DOWNLOAD_DIRNoOptional default download directory for the download_media tool

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_photosA

Search Pexels photos. Returns one compact line per photo (#id, dimensions, photographer, alt, avg color) plus inline thumbnails by default so you can visually validate matches immediately without downloading anything.

search_videosA

Search Pexels videos. Returns one compact line per video (#id, dimensions, duration, qualities, frame count) plus inline poster thumbnails by default. Use video_storyboard on a candidate to see frames from inside the clip before downloading.

batch_searchA

Run up to 6 search queries in parallel in a single call (photos or videos), deduplicated across queries. Ideal for gathering candidates for a multi-scene piece of content in one shot.

preview_photosA

Fetch inline thumbnails for specific photo #ids (from earlier searches — costs no API quota for already-seen ids). Use a larger height for a closer look at finalists.

video_storyboardA

Return the poster plus evenly-sampled preview frames from inside a video as inline images — validate motion/content/framing of a clip without downloading it. Costs no API quota for videos already seen in a search.

curated_photosB

Pexels' hand-curated photo feed (fresh, high quality). Same compact format + inline thumbnails as search_photos.

popular_videosB

Pexels' current popular videos, with optional min-resolution/duration constraints. Compact format + inline poster thumbnails.

featured_collectionsB

List Pexels featured collections (themed sets of media). Use collection_media with a collection id to browse one.

collection_mediaB

List media inside a collection (photos and/or videos), compact format + inline thumbnails.

get_mediaA

Full metadata for one photo or video by #id: all source/download URLs, video files with fps and resolutions, Pexels page URL. Use only when you need URLs or exact file variants — search lines + previews are enough for choosing.

download_mediaA

Download one or more photos/videos by #id to a local directory (default ./pexels-media, override with directory or the PEXELS_DOWNLOAD_DIR env var). Streams to disk, returns file paths, sizes, and ready-to-use attribution lines. Downloads don't consume API quota.

get_attributionA

Generate attribution lines for used media (Pexels license: free to use, attribution appreciated but not required). Styles: plain, markdown, html.

api_statusA

Pexels quota remaining, reset time, and this session's cache stats. Thumbnails and downloads never consume quota.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fkilter/pexels-mcp-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server