NestDaddy

Pexels MCP Server

io.github.hanoak/pexels-mcp-server · v1.0.1

MCP server for the Pexels API: search & fetch stock photos, videos, and collections.

Connect Runs on your machine

Terminal
claude mcp add pexels-mcp-server -e PEXELS_API_KEY=<PEXELS_API_KEY> -e LOG_LEVEL=<LOG_LEVEL> -- npx -y @hanoak/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "pexels-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/[email protected]"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>",
        "LOG_LEVEL": "<LOG_LEVEL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "pexels-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/[email protected]"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>",
        "LOG_LEVEL": "<LOG_LEVEL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
PEXELS_API_KEY
Required, secret
Your Pexels API key (sent as the Authorization header, no prefix).
LOG_LEVEL
Optional
Log verbosity; all logs go to stderr.

Details

Package@hanoak/[email protected] (NPM, stdio)
First published11 Aug 2026
Last updated11 Aug 2026
Registry nameio.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.