Search and download free stock images from Pexels, Unsplash, and Pixabay.
registry version 2.0.1
npm
npx -y stock-images-mcpnpm npx -y [email protected]
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"stock-images-mcp"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}{
"mcpServers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env PEXELS_API_KEY=<YOUR_PEXELS_API_KEY> --env UNSPLASH_API_KEY=<YOUR_UNSPLASH_API_KEY> --env PIXABAY_API_KEY=<YOUR_PIXABAY_API_KEY> stock-images-mcp -- npx -y stock-images-mcp
claude mcp add --env PEXELS_API_KEY=<YOUR_PEXELS_API_KEY> --env UNSPLASH_API_KEY=<YOUR_UNSPLASH_API_KEY> --env PIXABAY_API_KEY=<YOUR_PIXABAY_API_KEY> stock-images-mcp -- npx -y [email protected]
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"stock-images-mcp"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}{
"mcpServers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"stock-images-mcp"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}{
"servers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"stock-images-mcp"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}{
"mcpServers": {
"stock-images-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PEXELS_API_KEY": "<YOUR_PEXELS_API_KEY>",
"UNSPLASH_API_KEY": "<YOUR_UNSPLASH_API_KEY>",
"PIXABAY_API_KEY": "<YOUR_PIXABAY_API_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
PEXELS_API_KEY secret — API key from pexels.com/api (free). At least one provider key is required.UNSPLASH_API_KEY secret — Access key from unsplash.com/developers (free). Required to download Unsplash photos.PIXABAY_API_KEY secret — API key from pixabay.com/api/docs (free).STOCK_IMAGES_DOWNLOAD_DIR — Directory where download_image saves files (default: ./downloads).Distributed as npm, listed under Finance & Payments. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/jeanpfs/stock-images-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/stock-images-mcp/)
HTML
<a href="https://mcpnav.net/server/stock-images-mcp/"><img src="https://mcpnav.net/badge/stock-images-mcp.svg" alt="Listed on MCPNav" height="20"></a>