TaobaoScraper MCP Server

TaobaoScraper MCP Server

taobao-scraper-mcp•byjhongjun1981

An MCP server with 8 tools for scraping Taobao/Tmall and JD.com product data, managing scraping tasks, exporting results, and sending notifications from Claude Desktop or Claude Code.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Scrapes product data from Taobao, Tmall, and JD.com by keyword, with options for pages, sorting, Tmall-only filtering, exact match, and price range.
  • •Scrapes trending and related search keywords for market analysis.
  • •Lists, inspects, and cancels scraping tasks by task ID and status.
  • •Automatically saves scraped data as Excel files and can send notifications via WeChat or Email.

BEST FOR

  • •Users who want to collect product listings and prices from Taobao, Tmall, or JD.com within a Claude session.
  • •Market researchers interested in trending keywords and related search terms on Chinese e-commerce platforms.
  • •Users who need scraped product results exported to Excel and alerts pushed through WeChat or Email.

ABOUT TAOBAO-SCRAPER-MCP

TaobaoScraper MCP Server is cataloged as an MCP server attributed to jhongjun1981. An MCP server with 8 tools for scraping Taobao/Tmall and JD.com product data, managing scraping tasks, exporting results, and sending notifications from Claude Desktop or Claude Code. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for TaobaoScraper MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does scraping Taobao or JD require logging in?

Taobao requires logging into your own Taobao account in Chrome first, while JD scraping works without login.

What platforms and transport modes does the server support?

It supports Taobao, Tmall, and JD.com, and can run over stdio for local use or SSE for remote use.

Can multiple scraping tasks run at the same time?

No; Chrome can only handle one scraping task concurrently.

上游原版 README

在 GitHub 查看同一版本原文

README.md · aa3dbe492075 · 采集于 2026-11-13 11:39:26 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

TaobaoScraper MCP Server

An MCP (Model Context Protocol) server for scraping product data from Taobao/Tmall and JD.com (Jingdong). Provides 8 tools that can be used directly in Claude Desktop or Claude Code.

Platform: Windows (requires Chrome browser) Language: Python 3.10+

Features

  • Multi-platform scraping - Taobao, Tmall, JD.com in one tool
  • 8 MCP tools - Scraping, task management, notifications, system control
  • Hot search words - Discover trending keywords and market insights
  • Excel export - Auto-saves results as .xlsx files
  • Notification push - WeChat (ServerChan / PushPlus) and Email alerts
  • Dual transport - stdio (local) and SSE (remote) protocols
  • Trilingual GUI - Chinese / English / Korean interface (optional)

Architecture

Claude Desktop / Claude Code
        |
   MCP Server (stdio or SSE)
        |
   FastAPI Backend (:8000)
        |
   Selenium + Chrome (:9222)

Quick Start

1. Prerequisites

  • Python 3.10+
  • Google Chrome browser
  • Windows OS

2. Install

git clone https://github.com/jhongjun1981/taobao-scraper-mcp.git
cd taobao-scraper-mcp

# Install MCP server dependencies
pip install -r requirements_mcp.txt

# Install API backend dependencies
pip install -r requirements_api.txt

3. Configure

cp .env.example .env
# Edit .env to set your SCRAPER_API_KEY

4. Start Chrome with debug port

# Close all Chrome instances first, then:
START_GUI.bat
# Or manually:
chrome.exe --remote-debugging-port=9222 --user-data-dir="%LOCALAPPDATA%\Google\Chrome\Debug Profile"

5. Login to Taobao (first time only)

Open Chrome and login to your Taobao account. Cookies will persist in the debug profile.

6. Start API Backend

python run_api.py

7. Configure MCP Server

For Claude Code - Add to .claude/settings.json:

{
  "mcpServers": {
    "taobao-scraper": {
      "command": "python",
      "args": ["run_mcp.py"],
      "cwd": "/path/to/taobao-scraper-mcp"
    }
  }
}

For Claude Desktop - Add to claude_desktop_config.json:

{
  "mcpServers": {
    "taobao-scraper": {
      "command": "python",
      "args": ["run_mcp.py"],
      "cwd": "C:\\path\\to\\taobao-scraper-mcp"
    }
  }
}

SSE mode (remote):

python run_mcp.py --transport sse --port 8001
{
  "mcpServers": {
    "taobao-scraper": {
      "type": "sse",
      "url": "http://your-server:8001/sse"
    }
  }
}

Tools Reference

Scraping Tools

scrape_products

Scrape product data from e-commerce platforms.

ParameterTypeDefaultDescription
keywordstringrequiredSearch keyword
platformstring"taobao""taobao" / "jd" / "multi"
pagesint3Number of pages to scrape
sort_bystring"sale"Sort method
tmall_onlyboolfalseTmall products only
exact_matchboolfalseExact keyword match
price_minfloat0Min price filter
price_maxfloat0Max price filter
wait_for_resultbooltrueWait for completion
timeoutint300Timeout in seconds

Example: "Scrape running shoes from both Taobao and JD"

scrape_hotwords

Scrape trending/related search keywords for market analysis.

ParameterTypeDefaultDescription
keywordstringrequiredBase keyword
wait_for_resultbooltrueWait for completion
timeoutint120Timeout in seconds

Task Management Tools

list_tasks

List recent scraping tasks with status (pending/running/completed/failed).

ParameterTypeDefaultDescription
limitint20Max tasks to return

get_task

Get detailed status of a specific task. Set include_result=true to get full results.

ParameterTypeDefaultDescription
task_idstringrequiredTask ID
include_resultboolfalseInclude result data

cancel_task

Cancel a running or pending task.

ParameterTypeDefaultDescription
task_idstringrequiredTask ID to cancel

Export Tools

list_files

List all exported Excel data files with filename, size, and modification time.

Notification Tools

send_notification

Send push notifications via WeChat or Email.

ParameterTypeDefaultDescription
channelstringrequired"wechat" / "email" / "test"
titlestring""Notification title
contentstring""Notification body
wx_typestring"server_chan""server_chan" or "pushplus"

System Tools

system_status

Check system health or restart Chrome.

ParameterTypeDefaultDescription
actionstring"check""check" or "restart_chrome"

Environment Variables

VariableDefaultDescription
SCRAPER_API_KEYchangeme-your-secret-keyAPI authentication key
SCRAPER_API_URLhttp://localhost:8000FastAPI backend URL
SCRAPER_CHROME_PORT9222Chrome debug port
MCP_SSE_HOST0.0.0.0SSE listen address
MCP_SSE_PORT8001SSE listen port
MCP_HTTP_TIMEOUT30HTTP request timeout

Data Output

Scraped data is automatically saved as Excel files containing:

  • Product title, image URL, price
  • Monthly sales volume, review count
  • Shop name, shop type, shop region
  • Product URL, scrape timestamp

Important Notes

  • Taobao requires login - You must login to your own Taobao account in Chrome first
  • JD works without login - JD scraping does not require authentication
  • One task at a time - Chrome can only handle one scraping task concurrently
  • Windows only - The Chrome automation layer uses Windows-specific APIs
  • Respect rate limits - Excessive scraping may trigger anti-bot protection

License

MIT License - see LICENSE file.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for TaobaoScraper MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/taobao-scraper-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research