Integration

Pexels integration

Free stock photos and videos API. Search and download high-quality images and video content. Access curated collections and trending media. Build content platforms, design tools, and media applications.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Pexels.Built from the 9 Pexels tools below, on the connection you add once.

Common Pexels use cases

  • Content discovery
  • Gallery organization
  • Asset retrieval
  • Photo display
  • Themed content
  • Video playback
  • Featured videos
  • Featured content
  • Collection display
  • Stock photo search

What you can do with Pexels

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Photo, 3 operations

  • curated_photosCurated photosGETAgents: ask firstRetrieves curated trending photos.
  • get_photoGet photoGETAgents: ask firstRetrieves a specific photo by ID.
  • search_photosSearch photosGETAgents: ask firstSearches for photos matching a query.

Video, 3 operations

  • get_videoGet videoGETAgents: ask firstRetrieves a specific video by ID.
  • popular_videosPopular videosGETAgents: ask firstRetrieves popular trending videos.
  • search_videosSearch videosGETAgents: ask firstSearches for videos matching a query.

Collection, 2 operations

  • list_collectionsList collectionsGETAgents: ask firstLists featured photo and video collections.
  • list_my_collectionsList my collectionsGETAgents: ask firstLists all personal collections belonging to the authenticated API user.

Media, 1 operation

  • get_collection_mediaGet collection mediaGETAgents: ask firstRetrieves media from a specific collection.

Use Pexels from Claude Code, Cursor or Codex

Connect Pexels in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Pexels operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Pexels

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Pexels once

    Add your Pexels connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Pexels integration FAQ

What can you do with the Pexels integration?

LiveContext exposes 9 operations on Pexels, covering photo, video, collection and media. Common uses include Content discovery, Gallery organization and Asset retrieval.

Popular integrations

Browse the whole catalog