MCP server for the Pexels API: search & fetch stock photos, videos, and collections.
Connect Runs on your machine
claude mcp add pexels-mcp-server -e PEXELS_API_KEY=<PEXELS_API_KEY> -e LOG_LEVEL=<LOG_LEVEL> -- npx -y @hanoak/[email protected]
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/[email protected]"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/[email protected]"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}
{
"servers": {
"pexels-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanoak/[email protected]"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PEXELS_API_KEYRequired, secret | Your Pexels API key (sent as the Authorization header, no prefix). |
LOG_LEVELOptional | Log verbosity; all logs go to stderr. |
Details
| Package | @hanoak/[email protected] (NPM, stdio) |
| First published | 11 Aug 2026 |
| Last updated | 11 Aug 2026 |
| Registry name | io.github.hanoak/pexels-mcp-server |
More search and web servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
