小红书MCP服务
特点
- [x] 采用js逆向出x-s,x-t,直接请求http接口,无须笨重的playwright
- [x] 搜索笔记
- [x] 获取笔记内容
- [x] 获取笔记的评论
- [x] 发表评论

快速开始
1. 环境
- node
- python 3.12
- uv (pip install uv)
2. 安装依赖
git clone git@github.com:jobsonlook/xhs-mcp.git
cd xhs-mcp
uv sync
3. 获取小红书的cookie
打开web小红书
登录后,获取cookie,将cookie配置到第4步的 XHS_COOKIE 环境变量中

4. 配置mcp server
{
"mcpServers": {
"xhs-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/xxx/xhs-mcp",
"run",
"main.py"
],
"env": {
"XHS_COOKIE": "xxxx"
}
}
}
}
免责声明
本项目仅用于学习交流,禁止用于其他用途,任何涉及商业盈利目的均不得使用,否则风险自负。
小红书 MCP 服务
180
Project Details
- 123BeginToLove/xhs-mcp
- Last Updated: 5/18/2025
Recomended MCP Servers
Vectorize MCP Server
Official Vectorize MCP Server
Surf MCP Server
An MCP server for people who surf waves and the web.
🧩
Weather Data Server
Perplexity Server
A MCP server for Claude Desktop that enables Perplexity.ai searching
Paystack
The Paystack MCP for your AI Agents
🧩
RandomWeb3MCP
Minecraft Wiki Server
A MCP Server for browsing the official Minecraft Wiki!
GPTers AI Knowledge Search Server
GPTers AI 스터디 커뮤니티의 지식을 검색할 수 있는 MCP 서버입니다.
🧩
Azure Resource Server
Sage Intacct MCP Server by CData
This read-only MCP Server allows you to connect to Intacct data from Claude Desktop through CData JDBC Drivers....
DeepSRT Server
Lingo.dev
⚡️ Open-source AI-powered CLI for web & mobile localization. Bring your own LLM or use Lingo.dev-managed localization engine....





