CN Scraper MCP Server

MCP server for AI agents to search major Chinese internet platforms with local-first login support.

Local serverstdioPython

What is the CN Scraper MCP MCP server?

Connect CN Scraper MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for AI agents to search major Chinese internet platforms with local-first login support. The cn scraper mcp mcp server is what makes that connection.

What the server does

每个 AI Agent(Codex、Claude Code、Cursor、Trae)都能搜网页,但中文平台通常需要登录态、浏览器环境或平台专用参数:

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • CN_SCRAPER_TRANSPORT — stdio
  • CN_SCRAPER_HOST — 0.0.0.0
  • CN_SCRAPER_PORT — 8000
  • CN_SCRAPER_PATH — /mcp
  • taobao_search — 淘宝/天猫关键词搜索 → 价格、销量、店铺
  • taobao_product — 淘宝商品详情 → 标题、价格、店铺
  • jd_search — 京东关键词搜索 → SKU、价格、商品名
  • jd_product — 京东商品详情 → 名称、价格、店铺、规格
  • pdd_search — 拼多多搜索 → 仅首次有效
  • pdd_product_detail — 拼多多商品详情 → 不限次数
  • xiaohongshu_search — 小红书笔记搜索 → 标题、作者、点赞、noteId、xsec_token
  • xiaohongshu_note — 小红书笔记详情 → 标题、正文、作者、标签、互动数、发布时间

Credentials and setup notes

Configuration is passed through the environment: CN_SCRAPER_HOST, CN_SCRAPER_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

The server ships on PyPI as cn-scraper-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

Plenty of search and retrieval servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. CN Scraper MCP's toolset — CN_SCRAPER_TRANSPORT, CN_SCRAPER_HOST, CN_SCRAPER_PORT and 11 more — is a fair guide to whether it matches your workflow. It is maintained by goesByhc; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch CN Scraper MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
CN_SCRAPER_TRANSPORTstdio
CN_SCRAPER_HOST0.0.0.0
CN_SCRAPER_PORT8000
CN_SCRAPER_PATH/mcp
taobao_search淘宝/天猫关键词搜索 → 价格、销量、店铺
taobao_product淘宝商品详情 → 标题、价格、店铺
jd_search京东关键词搜索 → SKU、价格、商品名
jd_product京东商品详情 → 名称、价格、店铺、规格
pdd_search拼多多搜索 → 仅首次有效
pdd_product_detail拼多多商品详情 → 不限次数
xiaohongshu_search小红书笔记搜索 → 标题、作者、点赞、noteId、xsec_token
xiaohongshu_note小红书笔记详情 → 标题、正文、作者、标签、互动数、发布时间
xiaohongshu_comments小红书笔记首屏评论 → 评论内容、用户、点赞、时间(需要 noteId + xsec_token)
zhihu_search知乎搜索 → 问题、文章

How to install the CN Scraper MCP MCP server

{
  "mcpServers": {
    "cn-scraper": {
      "command": "uvx",
      "args": ["cn-scraper-mcp"],
      "env": {
        "CN_SCRAPER_HOST": "your-value",
        "CN_SCRAPER_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CN_SCRAPER_HOSTEndpoint or connection string the server talks to.Optional
CN_SCRAPER_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use CN Scraper MCP to CN SCRAPER TRANSPORT.
  • Use CN Scraper MCP to CN SCRAPER HOST.
  • Use CN Scraper MCP to CN SCRAPER PORT.

Frequently asked questions

It connects CN Scraper MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (CN_SCRAPER_TRANSPORT, CN_SCRAPER_HOST, CN_SCRAPER_PORT, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with CN Scraper MCP directly.