小红书MCP服务
@jobsonlook
About 小红书MCP服务
小红书MCP服务 x-s x-t js逆向
Overview
What is 小红书MCP服务?
小红书MCP服务 is an MCP (Model Context Protocol) server that enables AI assistants to interact with Xiaohongshu (Little Red Book) through HTTP APIs. It uses JavaScript reverse engineering to extract the required x-s and x-t parameters, avoiding the need for a full browser automation tool like Playwright. This service is intended for developers who want to integrate Xiaohongshu features into AI workflows.
How to use 小红书MCP服务?
To set up 小红书MCP服务, clone the repository and install dependencies using uv sync. Obtain your Xiaohongshu cookie by logging into the web version and copying it from the browser. Then configure the MCP server in your AI client’s settings (e.g., Claude Desktop) by providing the cookie as the XHS_COOKIE environment variable and running main.py via uv.
Key features of 小红书MCP服务
- Search for notes on Xiaohongshu
- Retrieve full note content
- Fetch comments on a note
- Post comments to a note
- Lightweight, no Playwright required
Use cases of 小红书MCP服务
- Search Xiaohongshu notes and extract content for analysis
- Gather user comments on specific posts
- Automatically respond or comment on notes (with responsibility)
- Integrate Xiaohongshu data into an AI assistant’s responses
FAQ from 小红书MCP服务
What operations does 小红书MCP服务 support?
It supports searching notes, retrieving note content, fetching comments, and posting comments.
What environment is required to run 小红书MCP服务?
You need Node.js, Python 3.12, and uv installed. Dependencies are managed with uv sync.
How do I get the Xiaohongshu cookie for authentication?
Log into the Xiaohongshu website (xiaohongshu.com) and extract your cookie from the browser’s developer tools. This cookie must be set as the XHS_COOKIE environment variable.
Is 小红书MCP服务 free to use?
The project is provided for learning and communication only. Any commercial use is prohibited, and users bear all risks.
How is the MCP server configured in my AI client?
Add an entry to your mcpServers JSON configuration with command: "uv", arguments pointing to the project directory and main.py, and the XHS_COOKIE environment variable.
Basic information
Category
Other
Author
More Other MCP clients
Unyly
unyly.orgUnyly is the largest MCP catalog — 53,000+ servers indexed from the Official Registry, Smithery, PulseMCP, Glama and npm, normalized into one place. Click Install and Unyly generates the config and adds the server to the
SocialBu
socialbu.comConnect Claude, ChatGPT, Cursor, OpenClaw, Hermes Agent, and other MCP-compatible AI assistants to SocialBu. Create posts, use AI tools, review schedules, check analytics, and manage social media work through natural con
Hyper Mcp Terminal
bigsweetpotatostudiooterm
ggozadthe terminal client for Ollama
MCP (Model Context Protocol) Frontend
shaharia-labFrontend for MCP (Model Context Protocol) Kit for Go - A Complete MCP solutions for ready to use
Comments