Pexafy lets your AI assistant find real photos that are free to use: ask in your own words, “a cosy café on a rainy evening, for my blog post”, and the photos appear right in the conversation. It plugs in through MCP, the standard way assistants plug in tools, so you add Pexafy once and it is there whenever you need a photo.

Add to ChatGPT

One click from ChatGPT’s app directory. A free Pexafy account is enough.

Another assistant

Claude, Cursor, VS Code, Claude Code and more: follow the steps for yours below.

Do you need a key?

Usually not. There are two ways to connect an assistant:

Sign in (recommended)

Nothing to copy. You add Pexafy to your assistant, a Pexafy window opens, you sign in and click Authorize. The connection makes its own key, shown in API Keys as Connected assistant.

With a key

For tools that cannot open a sign-in window: scripts, agent frameworks, CI. You paste a key in the tool’s settings, sent as Authorization: Bearer YOUR_KEY.
Your assistantHow it connects
ChatGPTOne click, then sign in.
Claude.ai, Claude DesktopAdd a connector, then sign in.
LibreChatAdd the server, then sign in.
DevinOne command, then sign in. A key works too.
Claude CodeOne command. Search right away, sign in from the terminal when you want. A key works too.
Codex, OpenCodeOne command. Search right away, sign in from the terminal when you want.
Cursor, VS Code, Cline, ZedAdd the server. Search right away, sign in from the chat when you want. A key works too.
Gemini CLI, GitHub Copilot CLI, Factory DroidOne command. Search right away, sign in from the chat when you want.
Agent frameworks, scripts, CIA key: see agent frameworks.
Search right away means without an account, with a small daily allowance to try Pexafy. To use your own Pexafy plan, ask your assistant “connect my Pexafy account”: the Pexafy sign-in page opens in your browser.
Which key? Any Pexafy key works, with the MCP server and with the API. To create one labelled for assistants, open Create a key, choose the MCP Agent key type, then click Create API Key.

Connect your assistant

Every assistant uses the same address. You don’t open it in a browser: you paste it into your assistant.
https://mcp.pexafy.com/mcp

Chat apps

The easy way: one click.

Add Pexafy to ChatGPT

Opens Pexafy in ChatGPT’s app directory.
  1. Click the card above: Pexafy opens in ChatGPT’s app directory. Install it.
  2. When ChatGPT asks, sign in with your Pexafy account and click Authorize. A free account is enough.
  3. In a new chat, type @Pexafy, pick Pexafy in the list that appears, then say what you need.
Picking Pexafy from the @ list is what tells ChatGPT to use it: typing the word alone is not enough. You can also start your message with “Pexafy, find photos of…”.
The advanced way: developer mode. Only if you want to add the server by hand.
  1. Open Settings → Security and login and turn on Developer mode.
  2. Go to Plugins and click + to create a developer-mode app.
  3. Name it Pexafy and paste https://mcp.pexafy.com/mcp.
  4. Choose OAuth as the authentication method, then sign in with Pexafy.
Developer mode is available to Plus, Pro, Business, Enterprise and Education accounts on the web.

Code editors and coding agents

In a terminal, from any project, run:
claude mcp add --transport http pexafy https://mcp.pexafy.com/mcp
Ask for photos in plain language: it works right away, without an account. To use your Pexafy account, sign in from the terminal. The Pexafy sign-in page opens in your browser, with no key to copy:
claude mcp login pexafy
Prefer a project file? Add the same entry to .mcp.json. An entry with a url but no type is rejected.
{
  "mcpServers": {
    "pexafy": {
      "type": "http",
      "url": "https://mcp.pexafy.com/mcp"
    }
  }
}
With a key instead (optional). For a machine where you can’t sign in in a browser:
claude mcp add --transport http pexafy https://mcp.pexafy.com/mcp --header "Authorization: Bearer YOUR_KEY"
You can also install the Claude Code plugin, which adds the server and two skills at once.

What your assistant can do

Pexafy gives your assistant five tools. You never call them yourself: ask in plain words and the assistant picks the right one. All of them are read-only: they find and fetch photos, and never change anything in your account.
ToolWhat it doesAsk, for example
search_photosFinds photos from a description. It can keep only landscape, portrait or square photos.”Find photos of two people sharing a bench in comfortable silence, landscape only.”
search_photos_by_imageFinds photos that look like an image: a link, a file, base64 data or a photo it already found. Words can adjust the result.”More like the second one, but at night.”
get_photo_file_by_photo_idGives one photo as an image file, with the credit line to display.”Give me the first photo as a file for my slide.”
get_grid_selected_photosReads the photos you liked in the results grid, in the order you chose.”Use the photos I liked for my article.”
connect_accountLinks your Pexafy account from the conversation.”Connect my Pexafy account.”
In ChatGPT, Claude, VS Code and Cursor, the results appear as a grid in the conversation: open a photo, heart the ones you like, press ≈ for more like it. Your picks go back to the assistant, in your order. In a terminal, the results arrive as links with their credit lines.
Describe the scene, not keywords: “the last sunlight of the day on a dusty windowsill” works better than “sunlight window”. If your assistant reaches for another image tool, name it: “Search Pexafy for…”, or tell it once: “Use Pexafy whenever I ask for a photo.”
Most assistants can already search images on the web. They return whatever ranks: screenshots, logos, watermarked previews, often images you have no right to reuse, behind links that break.
  • Every result is usable. Professional, high-resolution photos from free-photo libraries, free to use, with no attribution required. A ready-made credit line comes with each photo if you’d still like to credit the photographer.
  • Built for photography. Pexafy understands scenes, light and mood: “the quiet after a summer thunderstorm” returns photos that fit the idea, not just the words.
  • Stable results. Each photo comes with real image links, its photographer and its source page, not a web page that may disappear.

Skills for coding agents

A skill is a short guide that teaches a coding agent when a request calls for real photos, which Pexafy tool fits it, and how to hand each photo over with its licence and credit line. It works alongside the server; it does not replace it. It is optional.
npx skills add Pexafy/pexafy-mcp --skill find-stock-photos
This needs Node.js. It installs the find-stock-photos skill for the coding agents on your computer: Claude Code, Cursor, Codex, GitHub Copilot, Cline and others. In Cline, this does the same:
cline skill install Pexafy/pexafy-mcp --skill find-stock-photos

Claude Code plugin

The Pexafy plugin for Claude Code adds the Pexafy server and two skills: find-photos, and illustrate-content, which picks one photo per section of an article, a page or a deck. Type these two commands inside Claude Code:
/plugin marketplace add Pexafy/pexafy-plugins
/plugin install pexafy@pexafy
With the plugin, you don’t need claude mcp add. To sign in, run /mcp in Claude Code, pick Pexafy and follow the steps in your browser.

Limits and the Free plan

  • Searches made by your assistant count against your Pexafy plan, like API calls. What each plan includes: Plans & limits.
  • The Free plan includes one key in total, and a connected assistant uses it too. Every assistant you connect by signing in shares that key. If you already created a key, the sign-in window offers to revoke it (see Troubleshooting).
  • Without an account, the tools that allow it come with a small daily allowance, to try Pexafy.
  • When you reach a limit, your assistant tells you in the conversation.
Need more? Compare the plans on pexafy.com/pricing.

Troubleshooting

The Free plan includes one key in total. If you already have one, the sign-in window says Free up a key to connect… and lists your key with a Revoke button.
  • Revoke it, and the assistant connects. Anything that used that key, such as your code, stops working.
  • Or click Cancel and keep your key. Paste it into a tool that takes a key (Claude Code, Cursor, VS Code, Cline, Devin, Zed), or keep using it in your code.
Paid plans include more keys: see Plans & limits.
Most assistants need none: they sign in, and the connection makes its own key. For a tool that asks for a key, any Pexafy key works, with the MCP server and with the API. In the dashboard, the MCP Agent key type creates one labelled for assistants. Send it as Authorization: Bearer YOUR_KEY.
Try again in a normal browser window, not a private one, and allow pop-ups for the page. Signing in to pexafy.com first, in the same browser, also helps. Still stuck? Remove Pexafy from your assistant, add it again, and sign in.
Check that Pexafy is turned on in your assistant’s tools or connectors. Then name it: “Search Pexafy for photos of…”. In ChatGPT, type @Pexafy and pick it from the list. You can also tell your assistant once: “Use Pexafy whenever I ask for a photo.”
Remove Pexafy from your assistant’s settings. Or revoke the Connected assistant key in API Keys: this disconnects every assistant you connected by signing in.
mcp.pexafy.com/health answers without signing in. The status of every Pexafy service is on status.pexafy.com.

Go further

Building your own app?

Call the REST API with a key: copy-paste code in Python, JavaScript, PHP and cURL.

Libraries & integrations

Python, LangChain, the Vercel AI SDK, agent frameworks and no-code tools.
No Pexafy account yet? Create a free one: it takes a minute and no credit card is required.