Skip to content
MCP server

Pexels

MCP server for searching Pexels stock photos, videos, and curated collections.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.2
Listing updated
5 days ago

About Pexels

Pexels is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add pexels --env PEXELS_API_KEY='<PEXELS_API_KEY>' -- npx -y mcp-pexels

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pexels": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pexels": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "pexels": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pexels": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pexels": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "<PEXELS_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PEXELS_API_KEYPexels API key. Get one for free at https://www.pexels.com/api/. Free tier: 200 req/hour, 20,000 req/month.Required

Pricing

Open source

Pexels FAQ

Is Pexels free?

Yes. Pexels is open source, so you can use and self-host it for free.

How do I add Pexels to Claude Code?

Run this command in your terminal: claude mcp add pexels --env PEXELS_API_KEY='<PEXELS_API_KEY>' -- npx -y mcp-pexels

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers