xhs-mcp MCP Server
jobsonlook/xhs-mcp
[](https://agentrank-ai.com/tool/jobsonlook--xhs-mcp/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) Are you the maintainer of jobsonlook/xhs-mcp? Claim this listing →
小红书MCP服务 x-s x-t js逆向
Add AgentRank to Claude Code Discover and compare tools like jobsonlook/xhs-mcp — your AI finds the right one automatically
Get API Access → claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
jobsonlook/xhs-mcp is a JavaScript tool. 小红书MCP服务 x-s x-t js逆向 Topics: mcp, xhs.
Ranked #11900 out of 24846 indexed tools.
Ecosystem
JavaScript No license
mcpxhs
Score Breakdown
Stars 15% 517
517 stars → growing community
Freshness 25% 2mo ago
Last commit 2mo ago → moderate activity
Issue Health 25% 55%
18/33 issues closed → decent issue management
Contributors 10% 3
3 contributors → small team
Dependents 25% 0
No dependents → no downstream usage
npm Downloads N/A
PyPI Downloads N/A
Forks 103
Description Brief
License None
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
How to Improve
Description low impact
License low impact
Freshness high impact
Matched Queries
From the README
# 小红书MCP服务
一个用于小红书API的MCP(Model Context Protocol)服务器,支持搜索笔记、获取内容、查看评论和发表评论等功能。
## 特点
- [x] 采用js逆向出x-s,x-t,直接请求http接口,无须笨重的playwright
- [x] 搜索笔记
- [x] 获取笔记内容
- [x] 获取笔记的评论
- [x] 发表评论
## 快速开始
### 方法一:使用uvx(推荐)
#### 1. 环境要求
- Python 3.12+
- uv (安装方法: `pip install uv`)
#### 2. 获取小红书的cookie
[打开web小红书](https://www.xiaohongshu.com/explore)
登录后,获取cookie,将cookie配置到下一步的 XHS_COOKIE 环境变量中
#### 3. 配置MCP服务器
在你的MCP客户端配置文件中添加以下配置:
```json
{
"mcpServers": {
"xhs-mcp": {
"command": "uvx",
"args": [
"--from",
"jobson-xhs-mcp",
"xhs-mcp"
],
"env": {
"XHS_COOKIE": "你的小红书cookie"
}
}
}
}
```
#### 4. 测试运行
```bash
# 设置环境变量
export XHS_COOKIE="你的小红书cookie"
# 直接运行测试
uvx --from jobson-xhs-mcp xhs-mcp --help
```
### 方法二:从源码安装
#### 1. 环境要求
- node
- python 3.12
- uv (pip install uv)
#### 2. 克隆并安装
```sh
git clone [email protected]:jobsonlook/xhs-mcp.git
cd xhs-mc Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.