Pexels

Pexels

Pexels free stock media: search photos and videos with orientation, size, colour and locale filters, curated photos, popular videos, single photo or video details, and featured or own collections. Pexels API with an API key.

7-day free trial · No credit card · EU-hosted

Ask Pexels anything

Try a real prompt against Pexels via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install Pexels on Cloud
Pexels · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click Pexels in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install Pexels now

Guides for Pexels

Step-by-step setup for the most popular AI clients.

Setting up Pexels

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

Pexels

This connector uses the Pexels API (https://api.pexels.com/v1): search and browse free stock photos and videos, curated and popular media, and collections. It is read-only.

Setup

Sign in at pexels.com, open Image & Video API (https://www.pexels.com/api/new/), fill in the short form about your use and copy the key into PEXELS_API_KEY. The key is sent as Authorization: <key>, without the word Bearer.

Start here

pexels_search_photos or pexels_search_videos with a query. Each photo has src with ready-made sizes (original, large2x, large, medium, small, portrait, landscape, tiny), photographer, photographer_url, url (the Pexels page) and alt. Each video has video_files (one per resolution, with quality, width, height and link) and video_pictures.

Filters

orientation landscape, portrait or square; size large, medium or small (minimum size); photo color as a name (red, blue, black, white, ...) or a hex code; locale such as en-US or de-DE for searching in another language. Popular videos filter by min_width, min_height, min_duration, max_duration.

Paging and limits

page starts at 1, per_page is 15 by default and at most 80. Answers carry total_results and next_page (missing on the last page). The default limit is 200 requests per hour and 20,000 per month per key; above it Pexels answers 429. Pexels raises limits for free on request if you attribute properly.

Attribution

Pexels asks every app to show a visible link to Pexels and, where possible, to credit the photographer: "Photo by <photographer> on Pexels", linking photographer_url and url. Use the media URLs from the answers rather than re-hosting at scale; the API may not be used to build a wallpaper app or a copy of Pexels.

Ids

Photo and video ids are integers; collection ids are short strings (the last part of a pexels.com/collections/ URL). pexels_get_collection_media reads only featured collections and the collections of the account that created the key; any other collection answers 404, even a public one.

Your AI is two clicks away from Pexels.

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.