search_photos

Pack: unsplash · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search_photos for the schema, then POST the same URL with its arguments for the data.

Search Unsplash photos by keyword (required); returns paginated results with image URLs, dimensions, photographer info, and alt text.

Parameters

NameTypeRequiredDescription
querystringyes

Example call

Arguments

{
  "query": "mountain landscape"
}

curl

curl -X POST https://gateway.pipeworx.io/unsplash/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_photos","arguments":{"query":"mountain landscape"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search_photos', {
  "query": "mountain landscape"
});

More examples

{
  "query": "urban architecture"
}

Response shape

FieldTypeDescription
totalnumberTotal number of search results
total_pagesnumberTotal number of pages
resultsarrayArray of photo objects matching search query
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total number of search results"
    },
    "total_pages": {
      "type": "number",
      "description": "Total number of pages"
    },
    "results": {
      "type": "array",
      "description": "Array of photo objects matching search query",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the unsplash pack
{
  "mcpServers": {
    "unsplash": {
      "url": "https://gateway.pipeworx.io/unsplash/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 7, 2026