MCP Pexels
@developer-ishan
About MCP Pexels
Pexels MCP server — search and fetch free stock photos, videos, and curated collections from Pexels inside Claude, Cursor, Cline, and other MCP clients.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pexels": {
"command": "npx",
"args": [
"-y",
"mcp-pexels"
],
"env": {
"PEXELS_API_KEY": "your_key_here"
}
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is MCP Pexels?
MCP Pexels is a Model Context Protocol server that exposes the Pexels API — free stock photos, videos, and curated collections — as MCP tools that any compatible AI client (Claude Desktop, Claude Code, Cursor, Cline, Continue, etc.) can call directly from a chat.
How to use MCP Pexels?
Add a JSON config block to your MCP client's settings with "command": "npx", "args": ["-y", "mcp-pexels"] and set the PEXELS_API_KEY environment variable. Paste the config, restart the client, and the nine pexels_* tools are live. A free API key is available at pexels.com/api.
Key features of MCP Pexels
- Nine tools covering photos, videos, and collections
- Search, curated feed, and single-item retrieval for photos and videos
- Featured and personal collections with media listing
- Rate-limit data (
_rateLimit) exposed in every response - Zod-validated input for all tool parameters
- No global install required —
npx -yruns directly
Use cases of MCP Pexels
- Slide-deck and document illustration with royalty-free photos
- Blog post or social media thumbnail suggestions from Pexels
- Video editing research with filters for duration, size, orientation
- Mood boards using color-filtered photo searches
- Realistic placeholder imagery for coding agents generating CSS/HTML
FAQ from MCP Pexels
How do I get a Pexels API key?
Sign up at pexels.com/api — keys are issued instantly and the free tier allows 200 requests/hour and 20,000 requests/month.
Does this cost anything?
No. The Pexels API is free, the npm package is free (MIT), and MCP Pexels itself does not call any paid service.
Will this work offline?
No — the server is a thin wrapper over the Pexels HTTPS API and requires network access.
Can I use Pexels content commercially?
Yes, per the Pexels license, but you must attribute the platform and, when possible, the photographer.
Is there a hosted / SaaS version?
No. Run it locally via npx. Because Pexels API keys are per-user, hosting a shared instance doesn't make sense.
Frequently asked questions
How do I get a Pexels API key?
Sign up at pexels.com/api — keys are issued instantly and the free tier allows 200 requests/hour and 20,000 requests/month.
Does this cost anything?
No. The Pexels API is free, the npm package is free (MIT), and MCP Pexels itself does not call any paid service.
Will this work offline?
No — the server is a thin wrapper over the Pexels HTTPS API and requires network access.
Can I use Pexels content commercially?
Yes, per the Pexels license, but you must attribute the platform and, when possible, the photographer.
Is there a hosted / SaaS version?
No. Run it locally via `npx`. Because Pexels API keys are per-user, hosting a shared instance doesn't make sense.
Basic information
More Other MCP servers
Awesome Mlops
visengerA curated list of references for MLOps
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Codelf
unbugA search tool helps dev to solve the naming things problem.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments