小红书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
QU3 - Quantum-Safe MCP Client
qu3aiQuantum-proof MCP Server and Client Interactions
mcp_ha_xiaozhi
shawn996小智官方服务器(虾哥)对接home assistant的mcp server
Llama-Server MCP Proxy
extopicoSimple node proxy for llama-server that enables MCP use
MCP (Model Context Protocol) Frontend
shaharia-labFrontend for MCP (Model Context Protocol) Kit for Go - A Complete MCP solutions for ready to use
Osmosis-MCP-4B
gulp-aiAn Open Source SLM Trained for MCP
Comments