xiaohongshu-mcp
MCP server that lets AI assistants read and post on Xiaohongshu
Install
See setup instructions on www.haha.aiWhat it does
xiaohongshu-mcp is a Model Context Protocol server for 小红书 / Xiaohongshu (xiaohongshu.com), built to let an AI assistant work with Xiaohongshu through a logged-in browser session. It runs as a local HTTP MCP service, by default at http://localhost:18060/mcp, and installs as a prebuilt binary for macOS Apple Silicon, Windows x64 and Linux x64, from source with Go, or through Docker Compose, including an optional noVNC browser variant. A separate login tool is run once to save the session before the server starts.
Its tools cover checking login status; publishing image-text posts with titles, descriptions and images from URLs or local paths; publishing video from a local file; keyword search; the home recommendation feed; post details with engagement counts and comments; commenting and replying to comments; liking and favoriting with state checks; and user profile lookup. It works with MCP clients such as Claude Code, Cursor, VSCode, Cline, Gemini CLI and MCP Inspector.
Limitations: login is required and post details need both a post ID and xsec_token. Only one web session per account is allowed, so signing in elsewhere logs the tool out. Video must be a local file (roughly under 1GB) and processing takes time. The GUI build has no password and should not be exposed publicly; auth tokens and proxies are optional settings.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 17,318
- Last push
- Nov 23, 2026
- License
- Apache-2.0
- Archived
- No
FAQ
- What license does xiaohongshu-mcp use?
- Apache-2.0
- Does xiaohongshu-mcp run locally or remotely?
- It runs locally.
- Is xiaohongshu-mcp an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/xiaohongshu-mcp-2"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.