xiaohongshu-mcpAutomate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.
Install via ClawdBot CLI:
clawdbot install Borye/xiaohongshu-mcpAutomate content operations on Xiaohongshu (小红书) using a bundled Python script that interacts with the xpzouying/xiaohongshu-mcp server (8.4k+ stars).
Project: xpzouying/xiaohongshu-mcp
This skill requires the xiaohongshu-mcp server to be running on your local machine.
Download the appropriate binaries for your system from the GitHub Releases page.
| Platform | MCP Server | Login Tool |
| -------- | ---------- | ---------- |
| macOS (Apple Silicon) | xiaohongshu-mcp-darwin-arm64 | xiaohongshu-login-darwin-arm64 |
| macOS (Intel) | xiaohongshu-mcp-darwin-amd64 | xiaohongshu-login-darwin-amd64 |
| Windows | xiaohongshu-mcp-windows-amd64.exe | xiaohongshu-login-windows-amd64.exe |
| Linux | xiaohongshu-mcp-linux-amd64 | xiaohongshu-login-linux-amd64 |
Grant execute permission to the downloaded files:
chmod +x xiaohongshu-mcp-darwin-arm64 xiaohongshu-login-darwin-arm64
Run the login tool. It will open a browser window with a QR code. Scan it with your Xiaohongshu mobile app.
./xiaohongshu-login-darwin-arm64
Important: Do not log into the same Xiaohongshu account on any other web browser, as this will invalidate the server's session.
Run the MCP server in a separate terminal window. It will run in the background.
# Run in headless mode (recommended)
./xiaohongshu-mcp-darwin-arm64
# Or, run with a visible browser for debugging
./xiaohongshu-mcp-darwin-arm64 -headless=false
The server will be available at http://localhost:18060.
This skill includes a Python client (scripts/xhs_client.py) to interact with the local server. You can use it directly from the shell.
| Command | Description | Example |
| --- | --- | --- |
| status | Check login status | python scripts/xhs_client.py status |
| search | Search for notes | python scripts/xhs_client.py search "咖啡" |
| detail | Get note details | python scripts/xhs_client.py detail "note_id" "xsec_token" |
| feeds | Get recommended feed | python scripts/xhs_client.py feeds |
| publish | Publish a note | python scripts/xhs_client.py publish "Title" "Content" "url1,url2" |
python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py status
feed_id and xsec_token needed for the next step.
python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py search "户外电源"
feed_id and xsec_token from the search results to get the full content and comments of a specific note.
python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py detail "64f1a2b3c4d5e6f7a8b9c0d1" "security_token_here"
Generated Feb 28, 2026
E-commerce brands can automate posting product showcases and lifestyle content to Xiaohongshu, leveraging its visual platform to drive traffic and sales. They can also search for trending topics and competitor notes to optimize their content strategy and engage with potential customers through comment analysis.
Market research firms or product developers can use this skill to search for notes on specific keywords, such as new product categories or consumer preferences, to gather real-time insights. By analyzing note details and comments, they can identify trends, pain points, and user sentiment to inform product development and marketing decisions.
Influencers and content creators can automate the publishing of their notes, including images, text, and videos, to maintain a consistent posting schedule. They can also manage their feeds and analyze engagement metrics to refine their content strategy and grow their follower base more efficiently.
Brands can use this skill to search for mentions of their products or services on Xiaohongshu, monitor user feedback, and analyze comments for sentiment. This helps in quickly addressing customer concerns, managing online reputation, and identifying opportunities for improvement or crisis response.
Hotels, restaurants, and tourism operators can automate posting promotional content, such as photos and reviews, to attract visitors on Xiaohongshu. By searching for local trends and analyzing competitor posts, they can tailor their marketing efforts to target specific demographics and increase bookings or foot traffic.
Agencies can offer this automation tool as part of a subscription service to clients, enabling them to manage multiple Xiaohongshu accounts efficiently. This reduces manual effort, scales content operations, and provides data-driven insights for campaign optimization, generating revenue through monthly fees.
Freelancers can use this skill to provide Xiaohongshu content creation and management services to small businesses or individuals. By automating posting and analysis tasks, they can handle more clients, offer competitive pricing, and generate income through project-based or retainer fees.
Developers can integrate this skill into a larger analytics platform that aggregates data from Xiaohongshu and other social media. By selling detailed reports on trends, engagement, and competitor analysis to brands, this model generates revenue through one-time purchases or enterprise licenses.
💬 Integration Tip
Ensure the local MCP server is always running and logged in before executing client commands to avoid connectivity issues during automation workflows.
Feishu-integrated wrapper for the capability-evolver. Manages the evolution loop lifecycle (start/stop/ensure), sends rich Feishu card reports, and provides...
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Draft and publish posts to 小红书 (Xiaohongshu/RED). Use when creating content for 小红书, drafting posts, generating cover images, or publishing via browser automation. Covers the full workflow from content creation to browser-based publishing, including cover image generation with Pillow.
AI-assisted creation, rendering, and automated publishing of Xiaohongshu-style content with support for Markdown to image cards and data tracking.
小红书全能助手 — 文案生成、封面制作、内容发布与管理。当用户要求写小红书笔记、生成小红书文案/标题/封面、发小红书、搜索小红书、评论点赞收藏等任何小红书相关操作时使用。支持一站式从文案创作到自动发布的完整流程。封面AI生图需配置可选环境变量(GEMINI_API_KEY 或 IMG_API_KEY 或 HUNY...
高德地图实时路况查询与最优自驾路线规划技能。基于高德交通态势API和路径规划API,提供实时拥堵信息和最快路线建议。