What is the Pexels MCP Server MCP server?
MCP server for the Pexels API: search & fetch stock photos, videos, and collections.
How to install Pexels MCP Server
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
PEXELS_API_KEYrequiredsecretYour Pexels API key (sent as the Authorization header, no prefix).
LOG_LEVELLog verbosity; all logs go to stderr.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"pexels-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Claude Code
claude mcp add pexels-mcp-server --env PEXELS_API_KEY=<YOUR_PEXELS_API_KEY> --env LOG_LEVEL=<YOUR_LOG_LEVEL> -- npx -y @hanoak/pexels-mcp-serverRelated MCP servers
Pixabay MCP Server
Active
Unofficial MCP server for the Pixabay API: search and fetch royalty-free images and videos.
1
View repository →TypeScript
MIT
Unsplash MCP Server
Active
MCP server for the Unsplash API: search & fetch photos with attribution + download tracking.
1
View repository →TypeScript
MIT