pexels-mcp-server
A Model Context Protocol server that provides access to the Pexels API for searching and retrieving photos, videos, and collections.
README
Pexels MCP Server
A Model Context Protocol server that provides access to the Pexels API for searching and retrieving photos, videos, and collections.
Available Tools
photos_search– Search photosphotos_curated– List curated photosphoto_get– Get a photo by idvideos_search– Search videosvideos_popular– List popular videosvideo_get– Get a video by idcollections_featured– List featured collectionscollections_media– List media in a collection
Usage
Using uv (recommended)
-
Install
uv. -
In your MCP client code configuration or Claude settings (file
claude_desktop_config.json) addpexelsmcp server:{ "mcpServers": { "pexels": { "command": "uvx", "args": ["pexels-mcp-server"], "env": { "PEXELS_API_KEY": "<Your Pexels API key>" } } } }uvwill download the MCP server automatically usinguvxfrom pypi.org and apply to your MCP client.
Using pip for a project
-
Add
pexels-mcp-serverto your MCP client coderequirements.txtfile.pexels-mcp-server -
Install the dependencies.
pip install -r requirements.txt -
Add the configuration for your client:
{ "mcpServers": { "pexels": { "command": "python3", "args": ["-m", "pexels_mcp_server"], "env": { "PEXELS_API_KEY": "<Your Pexels API key>" } } } }
Using pip globally
-
Ensure
piporpip3is available on your system.pip install pexels-mcp-server # or pip3 install pexels-mcp-server -
MCP client code configuration or Claude settings, add
pexelsmcp server:{ "mcpServers": { "pexels": { "command": "python3", "args": ["pexels-mcp-server"], "env": { "PEXELS_API_KEY": "<Your Pexels API key>" } } } }
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx pexels-mcp-server
Or if you've installed the package in a specific directory or are developing on it:
git clone https://github.com/garylab/pexels-mcp-server.git
cd pexels-mcp-server
npx @modelcontextprotocol/inspector uv run pexels-mcp-server -e PEXELS_API_KEY=<the key>
License
pexels-mcp-server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.