Publish, search, and manage Xiaohongshu (Little Red Book) content via MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server for Xiaohongshu (Little Red Book) - China's leading lifestyle social media platform.
Publish image notes, search content, view note details, and manage your account - all through MCP tools that AI assistants can use directly.
Uses Playwright to run a headless Chromium browser that:
No browser automation of UI elements - all interactions go through XHS's internal API.
| Tool | Description |
|---|---|
check_login_status | Check if you're logged in |
get_login_qrcode | Generate QR code for login |
check_qrcode_status | Poll QR scan status & save session |
reload_cookies | Reload cookies from disk |
publish_content | Publish an image note with title, text, images, and tags |
search_feeds | Search XHS notes by keyword |
get_feed_detail | Get full details of a note |
user_profile | Get user profile information |
For QR code image generation (optional):
HTTP mode (for Claude Code, Cursor, etc.):
stdio mode (for Claude Desktop):
Call the get_login_qrcode tool, scan the QR code with the Xiaohongshu app, then call check_qrcode_status with the returned qr_id and code. Cookies are saved to ~/.xhs-mcp/cookies.json and persist across restarts.
Ask your AI assistant to publish a note, search for content, etc.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Then start the server: xhs-mcp
Create ~/Library/LaunchAgents/com.xhs-mcp.plist:
playwright install chromium)MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xiaohongshu-little-red-book-mcp-server)<a href="https://allmcps.com/mcp/xiaohongshu-little-red-book-mcp-server"><img src="https://allmcps.com/api/badge/xiaohongshu-little-red-book-mcp-server?style=directory" alt="Xiaohongshu (Little Red Book) MCP Server on AllMCPs" /></a>