redbook-scraper-mcp-server
by Xiechengqi
Overview
A service for scraping content from Xiaohongshu (a Chinese social media platform), providing API and MCP (Micro-Agent Protocol) access for searching notes and retrieving detailed note content.
Installation
bash run.shEnvironment Variables
- RUN_MODE
- API_HOST
- API_PORT
- UVICORN_LOG_LEVEL
- MCP_TRANSPORT
- MCP_STREAM_HOST
- MCP_STREAM_PORT
Security Notes
The Docker container is run with the `--privileged` flag, which grants the container almost all capabilities of the host system, significantly increasing the attack surface and potential for container escape. Sensitive browser user data (cookies, login sessions) are persisted on the host system by mounting `user-data` volume, posing a risk if the host is compromised. The project description itself includes a disclaimer that it is for 'learning and technical research' and 'prohibits any commercial use or violation of local laws', suggesting awareness of the sensitive nature of scraping activities. No `eval` or direct command injection vectors are found in the Python source code, but the `--privileged` flag is a critical concern.
Similar Servers
XHS-Downloader
A tool for extracting links and downloading watermark-free images and videos from Xiaohongshu (RedNote), supporting multiple operational modes including a server-based MCP interface.
xiaohongshu-mcp
Automate content creation, publishing, and interaction (search, detail, comment, like, favorite) on the Xiaohongshu platform via Model Context Protocol (MCP) and HTTP APIs, primarily for AI agent integration.
RedNote-MCP
Access and interact with Xiaohongshu (RedNote) content through Model Context Protocol (MCP) by automating browser interactions.
scrapi-mcp
This MCP server enables AI agents to scrape web pages and retrieve their content as HTML or Markdown, with advanced browser interaction capabilities.