Automates content creation/publishing on Xiaohongshu
Top 56.0% on sourcepulse
This toolkit provides automated content creation and publishing for Xiaohongshu (Little Red Book) creators, integrating with AI clients like Claude Desktop via the MCP protocol. It targets Xiaohongshu creators seeking to streamline their workflow, automate data collection, and leverage AI for content optimization and analysis.
How It Works
The toolkit utilizes a Python-based framework that interacts with Xiaohongshu through automated browser control (Selenium/ChromeDriver) and the Message Communication Protocol (MCP). It manages user cookies for authentication, automates the posting of text, images (local and URL), and videos, and collects creator data from the dashboard and content analytics. The MCP server allows AI clients to trigger these actions through conversational prompts, enabling AI-assisted content generation and data analysis.
Quick Start & Requirements
./xhs
(Mac/Linux) or xhs.bat
(Windows). Dependencies can be installed via install_deps.py
or pip install -r requirements.txt
.CHROME_PATH
and WEBDRIVER_CHROME_DRIVER
in a .env
file.Highlighted Details
./xhs
) and manual operation tools (./xhs manual ...
).Maintenance & Community
The project is actively maintained with recent updates including an interactive menu system, manual operation tools, and improved dependency management. Community contributions are welcomed via Pull Requests or Issues.
Licensing & Compatibility
Limitations & Caveats
The project relies heavily on the stability of Xiaohongshu's web interface and ChromeDriver compatibility. Version mismatches between Chrome and ChromeDriver are a common source of issues. Future development includes headless login, multi-account management, and Dockerization.
3 weeks ago
Inactive