search_open_media
Pack: open-media-search · 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_open_media for the schema, then POST the same URL with its arguments for the data.
“Find free-to-use / royalty-free / Creative Commons images, audio or video of [X] I can legally use” — one call across Openverse, Wikimedia Commons, Pixabay and Pexels. Every result has the same shape: title, creator, media url, thumbnail, size or duration, publisher, licence (id, version, url), booleans for commercial use / modification / attribution required, and a ready-to-paste attribution line. Filter by licence class (commercial, commercial without attribution, commercial and modifiable), media type and minimum size. Results from different publishers are interleaved and the same file listed by two of them is returned once. The sources array reports every publisher’s status (ok, empty, skipped, needs_key, rate_limited, error) so a failed one is named, never dropped. Pixabay and Pexels are queried only when you pass their key.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | What to find, e.g. “rain on a window”, “red panda”. |
media_type | string | no | Default image. Audio: Openverse and Wikimedia Commons. Video: Wikimedia Commons, Pixabay, Pexels. |
licence_class | string | no | Default any. commercial = commercial use allowed; commercial_no_attribution = also needs no credit line (CC0, public domain, Pixabay, Pexels); commercial_modifiable = commercial use and derivatives allowed. Results whose licence could not be classified are excluded when a class is set and counted in excluded_unclassified. |
min_width | number | no | Minimum width in px (images and video). |
min_height | number | no | Minimum height in px (images and video). |
sources | array | no | Restrict to some publishers. Default all that carry the media type. |
items | string | no | |
limit | number | no | Max results returned, 1-60 (default 20). |
pixabay_key | string | no | Your Pixabay API key; without it Pixabay is reported as needs_key. |
pexels_key | string | no | Your Pexels API key; without it Pexels is reported as needs_key. |
Example call
Arguments
{
"query": "rain",
"media_type": "audio",
"licence_class": "commercial",
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/open-media-search/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_open_media","arguments":{"query":"rain","media_type":"audio","licence_class":"commercial","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_open_media', {
"query": "rain",
"media_type": "audio",
"licence_class": "commercial",
"limit": 10
});
Response shape
| Field | Type | Description |
|---|---|---|
query | string | |
media_type | string | |
licence_class | string | |
count | number | |
results | array | |
sources | array | |
excluded_unclassified | number | |
excluded_by_filter | number | |
note | string |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"media_type": {
"type": "string"
},
"licence_class": {
"type": "string"
},
"count": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"creator": {
"type": "string"
},
"creator_url": {
"type": [
"string",
"null"
]
},
"media_type": {
"type": "string"
},
"media_url": {
"type": "string"
},
"thumbnail_url": {
"type": "null"
},
"landing_url": {
"type": "string"
},
"width": {
"type": "null"
},
"height": {
"type": "null"
},
"duration_seconds": {
"type": "number"
},
"source": {
"type": "string"
},
"also_listed_by": {
"type": "array",
"items": {}
},
"licence_id": {
"type": "string"
},
"licence_name": {
"type": "string"
},
"licence_version": {
"type": "string"
},
"licence_url": {
"type": "string"
},
"commercial_use": {
"type": "boolean"
},
"modification_allowed": {
"type": "boolean"
},
"attribution_required": {
"type": "boolean"
},
"attribution": {
"type": "string"
}
},
"additionalProperties": true
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"status": {
"type": "string"
},
"returned": {
"type": "number"
},
"kept": {
"type": "number"
},
"note": {
"type": "string"
}
},
"additionalProperties": true
}
},
"excluded_unclassified": {
"type": "number"
},
"excluded_by_filter": {
"type": "number"
},
"note": {
"type": "string"
}
},
"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 open-media-search pack
{
"mcpServers": {
"open-media-search": {
"url": "https://gateway.pipeworx.io/open-media-search/mcp"
}
}
}
See Getting Started for client-specific install steps.