Stock Images MCP

v2.0.1
io.github.jeanpfs/stock-images-mcp Checked 3 days ago Published 1 month ago

Search and download free stock images from Pexels, Unsplash, and Pixabay.

Values you need

VariableWhat it is
PEXELS_API_KEYoptional secret API key from pexels.com/api (free). At least one provider key is required.
UNSPLASH_API_KEYoptional secret Access key from unsplash.com/developers (free). Required to download Unsplash photos.
PIXABAY_API_KEYoptional secret API key from pixabay.com/api/docs (free).
STOCK_IMAGES_DOWNLOAD_DIRoptional Directory where download_image saves files (default: ./downloads).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add stock-images-mcp -- npx -y stock-images-mcp@2.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "stock-images-mcp": {
      "args": [
        "-y",
        "stock-images-mcp@2.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "stock-images-mcp": {
      "args": [
        "-y",
        "stock-images-mcp@2.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "stock-images-mcp": {
      "args": [
        "-y",
        "stock-images-mcp@2.0.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.stock-images-mcp]
command = "npx"
args = ["-y", "stock-images-mcp@2.0.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: search_images, download_image.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json