# Pexafy Stock Photos

Find free-to-use stock photos from text, an image, or visual similarity, with the licence attached to every result. Useful for content and UI work.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: Pexafy
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Pexafy/pexafy-mcp
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/mcp/pexafy-stock-photos

## What it does

Pexafy Stock Photos lets an assistant search for photographs from a natural-language description, a reference image, or a similarity request. It can return a selected image file with its licence and credit line, so the result can be placed in Markdown, HTML, slides, or a CMS.

The server uses Streamable HTTP at `https://mcp.pexafy.com/mcp` and works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and the other listed MCP clients. No API key is needed to connect. In Claude Code, the supplied setup offers two server names, so choose the one you want before running the commands.

## Requirements
- Remote server: `https://mcp.pexafy.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http pexafy-mcp https://mcp.pexafy.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add pexafy-stock-photos --url https://mcp.pexafy.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pexafy-stock-photos": {
            "url": "https://mcp.pexafy.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pexafy-stock-photos": {
            "type": "http",
            "url": "https://mcp.pexafy.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http pexafy-stock-photos https://mcp.pexafy.com/mcp
```

## When to use it
- find a free-to-use photo from a scene description
- match a new image to a visual reference
- retrieve the licence and credit line
- place a chosen photo in Markdown or HTML

## Example prompts
- Find free-to-use photos of a temple garden with red maple leaves and include each licence.
- Look for images similar to `hero.png`, then download the selected result into the project.
- Choose a photo for the article and add it to `README.md` with its credit line.

## Similar
- [Next AI Draw.io](https://affpapa.org/en/nevibecode/mcp/next-ai-drawio.md) — MCP server · ★ 36427
- [tldraw](https://affpapa.org/en/nevibecode/mcp/tldraw.md) — MCP server · ★ 51104
- [Figma-Context-MCP](https://affpapa.org/en/nevibecode/mcp/figma-context-mcp.md) — MCP server · ★ 16073
- [Agent-Native Assets](https://affpapa.org/en/nevibecode/mcp/agent-native-assets.md) — MCP server · ★ 7527
- [Remove AI Watermarks](https://affpapa.org/en/nevibecode/mcp/remove-ai-watermarks.md) — MCP server · ★ 6144
- [Dembrandt](https://affpapa.org/en/nevibecode/mcp/dembrandt.md) — MCP server · ★ 3851

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
