The MCP server integrates with 小红书 to support searching notes, retrieving note content and comments, and publishing user comments. It is designed to interact with 小红书 “content and comments” within a workflow, including browsing home recommendations.
🛠️ Key Features
- Search notes
- Get note content
- Get note comments
- Post a comment
- Browse homepage recommendations
- Uses JavaScript reverse-engineering to obtain
x-sandx-tfor HTTP API requests (no Playwright required)
🚀 Use Cases
- Follow and track 小红书 topics by viewing notes and their comments
- Engage with existing discussions by posting comments
- Use note search and homepage recommendations to find relevant content
⚡ Developer Benefits
- HTTP API requests using
x-sandx-ttokens instead of Playwright - Supports a workflow-oriented “search → read → comment” flow
⚠️ Limitations
- Requires 小红书 cookie setup (
XHS_COOKIE) after logging in via web 小红书 - Server setup includes dependencies such as Node, Python 3.12, and
uv