
Xiaohongshu (Little Red Book) MCP Server
Gives Claude direct access to Xiaohongshu's (Little Red Book) publishing and content APIs through a Playwright-powered browser session that bypasses bot detection. You can publish image notes with titles, tags, and captions, search feeds by keyword, fetch note details, and check user profiles. Login happens via QR code scan that persists cookies locally. Under the hood, it loads your session into a headless browser and calls XHS's internal APIs with proper signatures, avoiding any UI automation. Reach for this when you want to automate content publishing to China's lifestyle social platform or build AI workflows that search and analyze XHS posts without manual API key setup.
- tools
- 8
- transport
- STDIO
- last updated
- Mar 6, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
check_login_statusCheck if you're logged in
Check if you're logged in
No parameter schema in public metadata yet.
get_login_qrcodeGenerate QR code for login
Generate QR code for login
No parameter schema in public metadata yet.
check_qrcode_statusPoll QR scan status & save session
Poll QR scan status & save session
No parameter schema in public metadata yet.
reload_cookiesReload cookies from disk
Reload cookies from disk
No parameter schema in public metadata yet.
publish_contentPublish an image note with title, text, images, and tags
Publish an image note with title, text, images, and tags
No parameter schema in public metadata yet.
search_feedsSearch XHS notes by keyword
Search XHS notes by keyword
No parameter schema in public metadata yet.
get_feed_detailGet full details of a note
Get full details of a note
No parameter schema in public metadata yet.
user_profileGet user profile information
Get user profile information
No parameter schema in public metadata yet.
Sponsors
Readme
xiaohongshu-mcp-server
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.
How It Works
Uses Playwright to run a headless Chromium browser that:
- Loads your XHS session cookies
- Generates authentic API signatures via the XHS web app's built-in signing function
- Makes API calls through the browser's network context (bypasses anti-bot detection)
- Uploads images directly to XHS CDN
No browser automation of UI elements - all interactions go through XHS's internal API.
Tools
Details
- Repository
- github.com/shanyang-me/xhs-mcp
- Category
- Search & Web Crawling
- Package
xiaohongshu-mcp-server- Transport
- STDIO
- Registry
- MCP registry, active