Xiaohongshu MCP for Openclaw

A comprehensive automation skill for Xiaohongshu that enables AI agents to publish content, search trends, and analyze social data.

borye
v1.0.0
Feb 1, 2026
188
38.5k
337

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install xiaohongshu-mcp

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install xiaohongshu-mcp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Xiaohongshu MCP?

The Xiaohongshu MCP skill provides a robust bridge between AI coding agents and the RedNote (Xiaohongshu) platform. By leveraging the Openclaw Skills architecture, this tool allows for seamless automation of content operations, including publishing high-quality image and text posts, performing deep market research, and managing user feeds. It relies on a high-performance local server to handle the complex interactions with the Xiaohongshu API, ensuring secure and efficient task execution.

This skill is particularly valuable for developers building automated marketing workflows or researchers looking to extract insights from social trends. With the integration of Openclaw Skills, users can transform their local environment into a powerful command center for one of Asia's most influential social commerce platforms.

Xiaohongshu MCP Use Cases

  • Automated publishing of image-based marketing materials and product descriptions.
  • Real-time keyword monitoring to track emerging trends and consumer sentiment.
  • Large-scale data collection of post comments and engagement metrics for competitor analysis.
  • Automated discovery and extraction of high-performing content from recommended feeds.
  • Managing multiple social media profiles through standardized CLI-based workflows.

How Xiaohongshu MCP Works

  1. The user downloads the platform-specific MCP server and login binaries to their local machine.
  2. A secure authentication session is established via a QR code login tool which links the local server to a Xiaohongshu account.
  3. The MCP server is launched in the background, listening for requests at a local port (default 18060).
  4. An AI agent utilizing Openclaw Skills invokes the bundled Python client script to send commands to the server.
  5. The server executes the requested action (such as searching or posting) and returns structured data back to the agent for further processing.

Xiaohongshu MCP Setup

1. Prepare Binaries

Download the correct binaries for your OS and grant execution permissions:

chmod +x xiaohongshu-mcp-darwin-arm64 xiaohongshu-login-darwin-arm64

2. Authentication

Initialize the session by scanning the QR code with your mobile app:

./xiaohongshu-login-darwin-arm64

3. Launch Server

Start the server to begin accepting requests via Openclaw Skills:

./xiaohongshu-mcp-darwin-arm64 -headless=true

Xiaohongshu MCP Data Schema & Taxonomy

The skill organizes interaction data through a structured Python client interface. Below is the primary data taxonomy used during operations:

Object Type Description Key Attributes
Search Result Data returned from keyword queries feed_id, xsec_token, title
Note Detail Comprehensive post data content, comments_count, share_link
Feed Object Recommended content stream user_info, post_type, engagement_metrics
Publish Payload Data required to create a post title, description, image_url_list

Xiaohongshu MCP Advanced Features

  • Support for headless mode to run automation in background environments without GUI overhead.
  • Multi-format content support, allowing for the automated distribution of both text-only and image-heavy posts.
  • Granular search filters to isolate specific content niches and high-authority users.
  • Integrated token management to maintain persistent login sessions for long-running Openclaw Skills automations.
  • Debugging mode with visible browser interaction to troubleshoot complex publishing workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*