MCP server
Pexels MCP Server
MCP server for the Pexels API: search & fetch stock photos, videos, and collections.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 6 days ago
About Pexels MCP Server
Pexels MCP Server 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-mcp-server --env PEXELS_API_KEY='<PEXELS_API_KEY>' -- npx -y @hanoak/pexels-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"pexels-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pexels-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "<PEXELS_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PEXELS_API_KEYYour Pexels API key (sent as the Authorization header, no prefix).RequiredLOG_LEVELLog verbosity; all logs go to stderr.
Pricing
Open source
Pexels MCP Server FAQ
Is Pexels MCP Server free?
Yes. Pexels MCP Server is open source, so you can use and self-host it for free.
How do I add Pexels MCP Server to Claude Code?
Run this command in your terminal: claude mcp add pexels-mcp-server --env PEXELS_API_KEY='<PEXELS_API_KEY>' -- npx -y @hanoak/pexels-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.