Skip to content

davseve/aliexpress-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AliExpress Product Scraper

A tool to scrape product information from AliExpress, including title, description, and main image.

Features

  • Extracts product title, description, and main image
  • Multiple extraction methods (JSON-LD, embedded state, meta tags)
  • HTTP server for easy API access
  • MCP (Model Context Protocol) server support

Installation

npm install

Usage

As HTTP Server

npm start

Then make POST requests to /fetch:

curl -X POST http://localhost:3000/fetch \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.aliexpress.com/item/..."}'

As MCP Server

Run with:

node src/index.js

Project Structure

aliexpress-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ scraper.js        # Core scraping logic
β”‚   β”œβ”€β”€ http-server.js    # Express HTTP server
β”‚   └── index.js          # MCP server
β”œβ”€β”€ package.json
└── package-lock.json

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors