Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. Developer Tools
  3. Pexafy
Pexafy logo
Health: ActiveRecent health check succeeded.Last checked 8/27/2026, 2:02:09 AM

Pexafy

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Stock photo search: by description, by example image, or more like this.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pexafy": {
      "command": "npx",
      "args": [
        "-y",
        "pexafy"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

pexafy-mcp

CI License: MIT

Stock photo search for AI assistants. An MCP server that lets Claude, ChatGPT or any MCP client search a library of royalty-free images β€” by describing a scene in plain language, from an example image, or "more like this" β€” and render the results as a thumbnail grid inside the conversation.

Remote MCP, OAuth, no API key to paste, 3 tools, images rendered inline.

The product page, with the same steps in twenty-three languages, is at pexafy.com/mcp.

The Pexafy result grid, rendered inline in a Claude conversation


Use it (nothing to install)

A hosted server runs at:

Code
https://mcp.pexafy.com/mcp

It speaks Streamable HTTP and authenticates with OAuth 2.1 β€” you sign in to Pexafy in a browser window and the connector receives its own credentials. There is no API key to generate, paste into a JSON file, or rotate later.

Claude (web and desktop)

  1. Open Settings β†’ Connectors (on Team/Enterprise, an owner adds it once under Organization settings β†’ Connectors).
  2. Click Add custom connector.
  3. Paste https://mcp.pexafy.com/mcp and confirm.
  4. Sign in to Pexafy in the window that opens. Done β€” ask Claude for a photo.

Claude Code

Terminal
claude mcp add --transport http pexafy https://mcp.pexafy.com/mcp

Any other MCP client

Point it at the same URL with the streamable-http transport. Clients that don't implement OAuth can authenticate instead with a Pexafy API key sent as Authorization: Bearer <key> or x-api-key: <key> β€” get one from the dashboard.

Liveness: GET /health (public, no auth).

Also listed in the official MCP registry as com.pexafy/pexafy-mcp, and on Smithery β€” where a hosted gateway URL is available for clients that prefer it.

What it costs

The Free plan covers 5,000 searches a month with one connector β€” enough for regular use, no card required. Higher tiers are on the pricing page. When you hit a limit, the assistant tells you in-chat instead of failing with an opaque error.


Tools

Three read-only tools. No write scope, no account mutation.

search_photos β€” semantic text search

Describe the scene in a full sentence; Pexafy is semantic, so sentences beat keywords. All parameters are optional, but pass either q or at least one filter.

ParameterTypeNotes
qstringThe scene, in natural language. Max 500 characters.
color_namestringOne of: red, orange, yellow, green, blue, purple, pink, brown, black, white, gray, teal, beige, gold, navy. Excludes color_hex.
color_hexstringe.g. #1E90FF. Excludes color_name.
color_toleranceinteger0 (exact) to 255 (loose). Default 20. Only with color_hex.
orientationstring[]landscape, portrait, square.
sourcestring[]Unsplash, Pexels, Pixabay, Kaboompics, Burst, StockSnap, Picjumbo, Skitterphoto, NegativeSpace.
license_typestring[]free, cc0.
photographerstringExact username.
after_datestringYYYY-MM-DD. Published on or after.
cursorstringpagination.next_cursor from a previous response.

search_photos_by_image β€” visual search from an example

Finds photos that look like a reference image, optionally tweaked in words ("like this, but at night").

ParameterTypeNotes
image_urlstringPublic http(s) URL of the reference image.
image_fileobjectAuto-filled by hosts that support uploads (e.g. ChatGPT).
image_base64stringRaw base64 bytes, for programmatic clients.
qstringText to combine with the image ("but with hands raised").
text_alphanumberWeight of q against the image.
orientation, source, color_name, license_type, photographer, after_datestringSame filters as above.
cursorstringPagination token.

One of image_url, image_file or image_base64 is required. Images are fetched server-side; max 20 MB.

get_similar_photos β€” more like this

ParameterTypeNotes
photo_idstringRequired. A photo's UUID, taken from a previous result.
cursorstringPagination token.

What comes back

Every photo carries its id, URLs at several sizes, dimensions, dominant colour, orientation, source, licence, photographer, and an attribution string to display as credit β€” enough for the assistant to reason about the results rather than just list them.

Results are numbered #1, #2, …, so you refer to a photo the way you would in conversation. No ids to copy around:

Asking for more photos like #1, and the assistant reasoning over the new set

In clients that support MCP Apps, clicking a thumbnail opens a detail panel with the full metadata β€” no extra call, it is all in the tool result already:

The detail panel: photographer, source, resolution, licence, dominant colour, orientation and description


Self-host

You don't need to β€” the hosted server above is the intended way in. But the server is a thin, plain client of the Pexafy API, so you can run your own against your own key.

Requires Python 3.12+.

bash
git clone https://github.com/Pexafy/pexafy-mcp.git && cd pexafy-mcp
./run.sh setup        # venv + editable install + seed .env
# edit .env β€” set PEXAFY_API_KEY
./run.sh dev          # stdio, for Claude Desktop / Claude Code

With the installed console script (pip install .):

bash
pexafy-mcp                             # stdio (default)
PEXAFY_MCP_TRANSPORT=http pexafy-mcp   # remote Streamable HTTP

Claude Desktop / Claude Code, over stdio:

config.json
{
  "mcpServers": {
    "pexafy": {
      "command": "pexafy-mcp",
      "env": { "PEXAFY_API_KEY": "pexafy_api_…" }
    }
  }
}

Docker, over HTTP β€” see docker-compose.example.yml:

Terminal
docker compose -f docker-compose.example.yml up -d
curl localhost:8765/health

The image itself defaults to stdio, the transport an MCP client uses to drive a container, so it also works directly:

Terminal
docker run -i --rm pexafy-mcp

That answers initialize and tools/list with no API key and no network β€” the tools come from the vendored OpenAPI snapshot. A key is only needed to run a search. Serving over HTTP is a matter of setting the transport, which both compose files do.

Configuration

Every setting is an environment variable, and every one of them is optional: with none set, pexafy-mcp starts on stdio and answers initialize and tools/list offline. Two are worth knowing about.

VariableDefaultPurpose
PEXAFY_MCP_TRANSPORTstdiostdio for a local client, http to serve remotely
PEXAFY_API_BASE_URLhttp://localhost:8000Pexafy API root β€” point it at https://api.pexafy.com, or at your own deployment

The rest belongs to a deployment rather than to someone running the container, and lives in .env.example: a fallback PEXAFY_API_KEY for stdio use when the client sends no key of its own, PEXAFY_THUMB_BASE_URL and PEXAFY_THUMB_HMAC_SECRET to sign the thumbnails behind the inline grid, and PEXAFY_OAUTH_* with MCP_RESOLVE_SECRET to run the HTTP transport as an OAuth resource server. None of them is needed to start the server.


How it works

Code
src/pexafy_mcp/
β”œβ”€β”€ server.py     # entry point: builds the server, wires hooks, custom tools, /health
β”œβ”€β”€ tooling.py    # tunes the OpenAPI-derived tools for an LLM (descriptions, value sets)
β”œβ”€β”€ widget.py     # MCP Apps UI resource β€” the inline result grid (self-contained HTML)
β”œβ”€β”€ previews.py   # signs the thumbnail URLs injected into each result
β”œβ”€β”€ limits.py     # turns plan-limit (429) responses into in-chat upgrade nudges
β”œβ”€β”€ auth.py       # per-user auth: OAuth Resource Server or forwarded API key
└── assets/       # vendored, shipped with the package:
    β”œβ”€β”€ openapi.json          # OpenAPI snapshot the tools are generated from
    β”œβ”€β”€ facets.json           # evolving source/license value sets
    └── ext_apps_bundle.js    # @modelcontextprotocol/ext-apps SDK (inlined in the widget)
  • The tools are generated from the Pexafy OpenAPI spec via FastMCP.from_openapi(), so the API stays the single source of truth; tooling.py then reshapes them for an LLM β€” narrowing the surface to the search core, dropping parameters that mislead a model, and inlining the closed value sets so no facet lookup is ever needed.
  • build_server() assembles everything. Importing the package has no side effects and does no network I/O: it reads the vendored assets/openapi.json and assets/facets.json. prepare.sh regenerates those.
  • search_photos_by_image is hand-written: a chat assistant cannot upload a binary file to an MCP tool, so the tool takes an image URL and fetches it server-side.
  • The inline grid is an MCP Apps UI resource. The ext-apps client is bundled and inlined, because the host's sandboxed iframe cannot fetch external scripts at runtime.

Development

bash
./run.sh test         # offline test suite (pytest)
./run.sh inspect      # MCP Inspector
./prepare.sh          # maintainers: regenerate the vendored assets/

Contributions welcome β€” see CONTRIBUTING.md.

License

MIT β€” see LICENSE.

Read the full README on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive MCP β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Servicegraph logoServicegraph

    Search 100k+ US professional-services firms by industry, services, location, size, ratings.

    πŸ’» Developer Tools0 views
    Compare vs Servicegraph β†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Pexafy

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "pexafy": { "command": "npx", "args": ["-y", "Pexafy"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPexafy AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pexafy?style=directory)](https://allmcps.com/mcp/pexafy)
HTML Embed
<a href="https://allmcps.com/mcp/pexafy"><img src="https://allmcps.com/api/badge/pexafy?style=directory" alt="Pexafy on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
29Quality signal: Emerging Β· 29/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Pexafy β†’Install in Claude DesktopInstall in CursorInstall in VS Code