PluginBench
MCP Server
Active
MIT

Pexels MCP Server MCP Server

io.github.hanoak/pexels-mcp-server

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_KEY
    required
    secret

    Your Pexels API key (sent as the Authorization header, no prefix).

  • LOG_LEVEL

    Log 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-server

Related MCP servers

Unofficial MCP server for the Pixabay API: search and fetch royalty-free images and videos.

1
TypeScript
MIT
View repository →

MCP server for the Unsplash API: search & fetch photos with attribution + download tracking.

1
TypeScript
MIT
View repository →