Connect your account, then chat with AI to run tools.
Pexels API is a developer tool providing access to a large library of free stock photos and videos, enabling integration into web and mobile applications. It is primarily used to enhance applications with high-quality media content.
You’ll sign in to MCPBundles when your client connects.
https://mcp.mcpbundles.com/bundle/pexels-apiThis server needs a sign-in. MCPBundles handles that setup once — then chat here with saved access and a log of what ran.
Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.
Browse all toolsLive probe refreshed Sep 14, 2026 · Endpoint host mcp.mcpbundles.com
Domain knowledge for Pexels — workflow patterns, data models, and gotchas for your AI agent.
Pexels provides a large library of high-quality stock photos and videos licensed under the Pexels License (personal and commercial use, no attribution required but appreciated).
| Field | Type | Description |
|---|---|---|
| id | integer | Unique numeric photo identifier |
| width | integer | Original width in pixels |
| height | integer | Original height in pixels |
| url | string | Pexels web page URL for this photo |
| photographer | string | Photographer display name |
| photographer_url | string | Photographer's Pexels profile URL |
| photographer_id | integer | Photographer's numeric ID |
| avg_color | string | Hex color (e.g. #978E82), useful as image placeholder |
| alt | string | Alt text describing the photo |
| liked | boolean | Whether the current user liked this photo |
| src | object | Pre-sized image URLs (see below) |
src object sizes:
| Key | Dimensions | Notes |
|---|---|---|
| original | Full resolution | Matches width×height |
| large2x | W 940 × H 650 @2x | Retina-ready |
| large | W 940 × H 650 | Standard large |
| medium | H 350 (proportional) | Proportionally scaled |
| small | H 130 (proportional) | Thumbnail |
| portrait | W 800 × H 1200 | Cropped portrait |
| landscape | W 1200 × H 627 | Cropped landscape |
| tiny | W 280 × H 200 | Smallest preview |
| Field | Type | Description |
|---|---|---|
| id | integer | Unique numeric video identifier |
| width | integer | Original width in pixels |
| height | integer | Original height in pixels |
| url | string | Pexels web page URL for this video |
| image | string | Video screenshot/poster URL |
| duration | integer | Duration in seconds |
| user | object | Videographer: id (int), name (str), url (str) |
| video_files | array | Available quality versions (see below) |
| video_pictures | array | Preview thumbnails: id, picture (URL), nr (index) |
video_files element:
| Field | Type | Description |
|---|---|---|
| id | integer | File variant ID |
| quality | string/null | "hd", "sd", "hls", or null |
| file_type | string | MIME type (e.g. video/mp4) |
| width | integer/null | Width (null for HLS) |
| height | integer/null | Height (null for HLS) |
| fps | number | Frames per second |
| link | string | Direct download URL |
| size | integer | File size in bytes |
| Field | Type | Description |
|---|---|---|
| id | string | Alphanumeric collection identifier (e.g. "8xntbhr") |
| title | string | Collection name |
| description | string/null | Optional description |
| private | boolean | Whether the collection is private |
| media_count | integer | Total photos + videos |
| photos_count | integer | Number of photos |
| videos_count | integer | Number of videos |
Photos and videos share one unified API host family. Use photo search and curated feeds for stills; video search and popular-video feeds for motion. Fetch a single photo or video by numeric id when you already have one. Collections cover featured editor packs, your saved sets, and mixed photo/video media inside a collection (filter by media type and sort order).
All list endpoints accept page (default 1) and per_page (default 15, max 80). Responses include page, per_page, total_results, and optional next_page/prev_page URL strings. The total_results for search endpoints is capped at a high number (e.g. 8000) even when more results exist.
Operational order for stock footage and b-roll:
Best practice: link to the photo/video page on Pexels and credit the photographer/videographer (e.g. "Photo by John Doe on Pexels"). Use the url field from the response for attribution links.
Pexels API Get Collections
Browse and retrieve Pexels photo/video collections. Pass collection_id to get media inside a collection — set type=videos for curated b-roll packs when keyword search feels too broad. Omit collection_id to list featured editor-curated collections (default) or set featured=false for your own saved collections. List responses default to compact metadata unless full_detail=true.
Pexels API Get Photos
Retrieve free stock photos from Pexels. Pass photo_id to get a single photo with full metadata and every src download size. Pass query to search by keyword with optional orientation, size, and color filters. Omit both to browse trending curated photos updated hourly. List and search responses default to a compact shape (preview_url, download_url, credit, orientation) unless full_detail=true. Use portrait orientation for vertical social layouts.
Pexels API Get Videos
Retrieve free stock videos from Pexels — the primary tool for b-roll and short-form clips. Pass video_id to get a single video with full metadata and every quality file. Pass query to search by keyword with orientation, size, duration, and dimension filters. Omit query to browse popular trending videos with the same filters. List and search responses default to compact rows (poster_url, download_link, duration, orientation) unless full_detail=true. For vertical clips use orientation=portrait and
Pexels API is a developer tool providing access to a large library of free stock photos and videos, enabling integration into web and mobile applications. It is primarily used to enhance applications with high-quality media content. It provides 3 tools that AI agents can use through the Model Context Protocol (MCP).
Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/pexels-api. Authentication is handled automatically.
Pexels provides 3 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.
Pexels uses API Key. Pexels requires credentials. Connect via MCPBundles and authentication is handled automatically.
Connect Pexels to any MCP client in minutes
Other MCP servers in this category from the directory index
Vercel exposes 5 public tools on this MCP endpoint.
5 toolsAI design tool to turn prompts into production-ready UI. Use your design system, generate prototypes...
Splice is the industry's highest quality, royalty-free sample library. Get access to millions of sou...
Canva MCP Server enables AI assistants to create designs, autofill templates, manage folders, search...