Skip to main content
Glama
AliExpress Search Products MCP Server

AliExpress Search Products MCP Server

README.md
# AliExpress Search Products MCP Server

[![npm version](https://img.shields.io/npm/v/@mambalabsdev/mcp-aliexpress-search-products)](https://www.npmjs.com/package/@mambalabsdev/mcp-aliexpress-search-products) [![license](https://img.shields.io/github/license/mambalabsdev/mcp-aliexpress-search-products)](https://github.com/mambalabsdev/mcp-aliexpress-search-products/blob/main/LICENSE)

An MCP server for the Mamba Labs AliExpress Search Products actor on Apify. AliExpress search results as rows.

## What's Inside

- [What it does](#what-it-does)
- [Quick start](#quick-start)
- [Prerequisites](#prerequisites)
- [Example prompts](#example-prompts)
- [Tool](#tool)
- [Inputs](#inputs)
- [Pricing](#pricing)
- [Full actor documentation](#full-actor-documentation)
- [License](#license)

## What it does

Takes keywords or AliExpress search URLs and returns one row per product with ID, title, link, image, price, original price, discount, rating, units sold, and ship-from country, for the ship-to country and currency you set.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

## Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (`claude_desktop_config.json`), Cursor, or any MCP client:

```json
{
  "mcpServers": {
    "mamba-aliexpress-search-products": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-aliexpress-search-products"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}
```

Restart the client. The `search_aliexpress_products` tool appears.

## Prerequisites

- Node.js 18 or newer.
- An Apify API token from [console.apify.com/account/integrations](https://console.apify.com/account/integrations), set as `APIFY_TOKEN`. The server lists its tool without a token; a call needs one.

## Example prompts

- "Find the 60 best selling USB cables on AliExpress with prices in USD."
- "List AliExpress phone cases between 2 and 5 USD shipped to Germany, sorted by orders."

## Tool

`search_aliexpress_products`. One tool. Example arguments:

```json
{
  "keywords": [
    "usb cable"
  ],
  "max_products_per_search": 60,
  "ship_to": "US",
  "currency": "USD"
}
```

## Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

| Input | Type | Required | Description |
|---|---|---|---|
| `keywords` | array | no | What to search for on AliExpress, for example usb cable or phone case. One search per keyword. |
| `search_urls` | array | no | Optional. AliExpress search pages as they appear in the browser (https://www.aliexpress.com/w/wholesale-<keyword>.html), with any filters in the URL. Read as given; sort and price inputs do not change them. |
| `max_products_per_search` | number | no | Products to return for each keyword or URL. AliExpress shows 60 cards a page. Default 60, maximum 1200. |
| `ship_to` | string | no | 2 letter country code the prices are shown for, for example US, GB, DE, FR. Default US. Product IDs for US start with 3256 and open on aliexpress.us. |
| `currency` | string | no | 3 letter currency code for prices, for example USD, EUR, GBP. Default USD. |
| `sort` | string | no | best_match (default), orders (most sold first), price_asc, or price_desc. Applies to keywords, not to search URLs. |
| `min_price` | number | no | Optional. Lowest price, in the currency above. Applies to keywords. |
| `max_price` | number | no | Optional. Highest price, in the currency above. Applies to keywords. |
| `include_ads` | boolean | no | no (default) skips cards AliExpress marks as ads, free. yes returns them with listing_type ad, charged as products. |
| `dedupe` | boolean | no | yes (default) returns each product once per run, so a product found by two searches is charged once. no returns it again on each search. |
| `max_charge_usd` | number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |

## Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| `product-row`, one product from a search page | $0.0025 | $0.002375 | $0.00225 | $0.002125 |
| `apify-actor-start`, per run start | $0.006 | $0.006 | $0.006 | $0.006 |

Repeats, skipped ads, unmatched searches, summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

## Full actor documentation

[apify.com/mambalabs/aliexpress-search-products](https://apify.com/mambalabs/aliexpress-search-products)

## License

MIT. See [LICENSE](LICENSE).