search_photos

Pack: unsplash · Endpoint: https://gateway.pipeworx.io/unsplash/mcp

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",
  "per_page": 20
}

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, or use one-click install buttons:

{
  "mcpServers": {
    "unsplash": {
      "url": "https://gateway.pipeworx.io/unsplash/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 9, 2026