Skip to content
MCP server

Pexels

MCP server giving AI clients search access to Pexels stock photos and videos

Pricing
Open source
Platforms
CLI, API, self-hosted
Version
0.1.0
Listing updated
today

Similar MCP servers

About Pexels

Pexels is an open-source MCP server for web search and scraping. It is available on CLI, API, self-hosted, Linux, macOS and Windows.

The README describes this as a Rust-built MCP server that wraps the Pexels API and communicates over stdio using JSON-RPC 2.0. Once connected to an MCP-compatible client, the model can search Pexels photos and videos, pull curated picks, look up individual media by ID, and browse featured collections.

Access requires a personal Pexels API key, which is placed in a TOML config file in the user's config directory. The server is built from source with cargo and then referenced by its binary path in the client's MCP configuration.

The project suits developers and creators who want an assistant to find stock imagery or footage during drafting, design, or content work without leaving the chat. The code is released under the MIT licence.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

search_photos
Search photos by query with optional orientation, size, color and locale filters.
curated_photos
Get a paginated list of curated, hand-picked photos.
get_photo
Retrieve a single photo by ID.
search_videos
Search videos by query with optional orientation, size and locale filters.
popular_videos
Get popular videos with optional dimension and duration filters.
get_video
Retrieve a single video by ID.
featured_collections
List featured collections of themed media.
collection_media
List media in a specific collection, filterable by photos or videos.

What it does

Photo search
Searches Pexels photos by query with optional orientation, size, colour and locale filters.
Video search
Finds Pexels videos by query with orientation, size and locale filters, plus a popular videos tool.
Curated and featured content
Returns hand-picked curated photos and lists featured collections of themed media.
Lookup by ID
Retrieves a single photo or video directly when its Pexels ID is known.
Stdio transport
Runs as a local process speaking JSON-RPC 2.0 over stdin and stdout.

Good for

  • Finding stock photos that match a query while drafting an article or slide deck
  • Searching for background footage with specific orientation or duration
  • Browsing Pexels collections to find a themed set of media for a project
  • Fetching details for a known Pexels photo or video ID

Pricing

Open source

Free and open source under MIT; requires a Pexels API key.

Pexels FAQ

What do I need to run it?

The README lists Rust (edition 2024) for building, plus a Pexels API key obtained from pexels.com/api, stored in a config.toml file.

How is it installed?

You build it with cargo build --release and point your MCP client configuration at the resulting mcp-server-pexels binary.

What license is it under?

The README states the project is licensed under MIT.

Is Pexels free?

Yes. Pexels is open source, so you can use and self-host it for free.

What are the best alternatives to Pexels?

The closest alternatives to Pexels are Lorem Picsum, MCP Server Search and Reddit Insights MCP.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.

How AIPoweredBot checks servers