Pexels MCP Server
v1.0.1MCP server for the Pexels API: search & fetch stock photos, videos, and collections.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pexels_search_photos Search Pexels Photos
Search Pexels for photos matching a query, with optional orientation/size/color/locale filters. Returns compact photo objects with pre-sized URLs and a courtesy credit (attribution is appreciated but not required by the Pexels license). Read-only. Each photo includes several pre-sized URLs in `src` (original/large2x/large/medium/small/portrait/landscape/tiny) — pick the closest fit rather than always using `original`.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query, e.g. "ocean", "tigers", "pears". |
color | string | Desired photo color: a named color (red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white) or a hex code like "#ffffff". |
locale | string | The locale of the search, e.g. "en-US", "fr-FR" (28 supported locales). |
orientation | string | Desired photo orientation. |
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
size | string | Minimum photo size: large (24MP), medium (12MP), or small (4MP). |
pexels_curated_photos Curated Pexels Photos
List Pexels' hand-curated photo picks, refreshed hourly (paginated). Returns compact photo objects. Read-only. Each photo includes several pre-sized URLs in `src` (original/large2x/large/medium/small/portrait/landscape/tiny) — pick the closest fit rather than always using `original`.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
pexels_get_photo Get Pexels Photo
Get a single Pexels photo by its numeric ID, with full detail, pre-sized URLs, and a courtesy credit. Read-only. Each photo includes several pre-sized URLs in `src` (original/large2x/large/medium/small/portrait/landscape/tiny) — pick the closest fit rather than always using `original`.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The numeric Pexels photo ID. |
pexels_search_videos Search Pexels Videos
Search Pexels for videos matching a query, with optional orientation/size/locale filters. Returns compact video objects with rendition links. Read-only. `video_files` is trimmed to the highest-resolution renditions (see `video_files_count` for the full count) — call pexels_get_video for the complete rendition list on one video.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query, e.g. "ocean", "tigers", "pears". |
locale | string | The locale of the search, e.g. "en-US", "fr-FR" (28 supported locales). |
orientation | string | Desired video orientation. |
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
size | string | Minimum video size: large (4K), medium (Full HD), or small (HD). |
pexels_popular_videos Popular Pexels Videos
List currently popular Pexels videos, optionally filtered by minimum width/height and duration range. Returns compact video objects. Read-only. `video_files` is trimmed to the highest-resolution renditions (see `video_files_count` for the full count) — call pexels_get_video for the complete rendition list on one video.
| Parameter | Type | Description |
|---|---|---|
max_duration | integer | Maximum video duration in seconds. |
min_duration | integer | Minimum video duration in seconds. |
min_height | integer | Minimum video height in pixels. |
min_width | integer | Minimum video width in pixels. |
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
pexels_get_video Get Pexels Video
Get a single Pexels video by its numeric ID, with full detail and every available rendition (unlike the search/popular tools, this returns the complete video_files list, not just the top few). Read-only.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The numeric Pexels video ID. |
pexels_list_featured_collections List Featured Pexels Collections
List Pexels' featured collections (paginated). Returns collection metadata only — call pexels_get_collection_media for the photos/videos inside one. Read-only.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
pexels_list_my_collections List My Pexels Collections
List the collections belonging to the Pexels account that owns the configured API key (paginated). Since Pexels has no per-conversation OAuth login, this always reflects the API key's own account, not the person chatting — it will be empty unless that account has created collections on pexels.com. Read-only.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
pexels_get_collection_media Get Pexels Collection Media
Get the photos and/or videos inside a Pexels collection by its ID (paginated, optionally filtered to just photos or just videos). Each item is returned in the same compact shape its own domain tool would use, tagged with `media_type`. Read-only. Each photo includes several pre-sized URLs in `src` (original/large2x/large/medium/small/portrait/landscape/tiny) — pick the closest fit rather than always using `original`. `video_files` is trimmed to the highest-resolution renditions (see `video_files_count` for the full count) — call pexels_get_video for the complete rendition list on one video.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Pexels collection ID. |
page | integer | Page number, 1-based. |
per_page | integer | Items per page (clamped to a max of 80). |
sort | string | Sort order. |
type | string | Filter media by type. Omit to return both photos and videos. |