Skip to main content

Search Retailers (Market)

mdmcp-search_retailers

Find retailers to use in filter queries. Search by name, region, or description.

Use the returned retailers[].slug value when building retailer filters.

Try queries like

"Zara", "UK retailers", "fast fashion", "Amazon".

Parameters

NameTypeRequiredConstraintsDescription
querystring | string[]yesSingle query string or list of query strings for batch search.
search_limitintegernodefault: 10 · 1–50Maximum number of results to return (default 10, max 50). Raise it when validating or comparing many entities in one call so the list is not clipped at the default 10.
country_codestringnoOptional country code to filter by region (e.g., "UK", "US", "ES"). EDITED codes are ISO 3166-1 alpha-2 with two exceptions: the United Kingdom is "UK" (not ISO "GB"; "GB" is accepted and mapped to "UK") and "EU" covers EU-wide retailers. Case-insensitive.

Returns

  • A RetailerSearchResult — retailers plus search_limit /
  • at_search_limit. A batch request returns one result per query, in the
  • same order as the queries.

Try it

Loading interactive widget…

Code examples

curl -s https://mcp.edited.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-06-18" \
-H "x-api-key: $MCP_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mdmcp-search_retailers",
"arguments": {
"query": "Nike",
"search_limit": 10,
"country_code": "UK"
}
}
}'

Example response

Parsed from result.content[0].text (the MCP envelope wraps the JSON as a TextContent block — see Concepts → Tools:

[
{
"name": "Zara",
"slug": "zara-uk",
"region": {
"id": 32,
"iso_code": "GB",
"name": "United Kingdom"
},
"is_deprecated": false,
"visible": true,
"tier": {
"id": 2,
"name": "Mass",
"slug": "mass"
}
},
{
"name": "Zara Home",
"slug": "zara-home-uk",
"region": {
"id": 32,
"iso_code": "GB",
"name": "United Kingdom"
},
"is_deprecated": false,
"visible": true,
"tier": {
"id": 2,
"name": "Mass",
"slug": "mass"
}
}
]

Input schema

{
"type": "object",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"maxItems": 10,
"type": "array"
}
]
},
"search_limit": {
"default": 10,
"description": "Maximum number of results to return (default 10, max 50). Raise it when validating or comparing many entities in one call so the list is not clipped at the default 10.",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"country_code": {
"type": "string"
}
},
"required": [
"query"
]
}