streamable-httpupdated 1y ago
[x] 采用js逆向出x-s,x-t,直接请求http接口,无须笨重的playwright [x] 搜索笔记 [x] 获取笔记内容 [x] 获取笔记的评论 [x] 发表评论
超过一年没有提交。依赖它之前请确认是否仍满足你的需求。
blbl147 xhs mcp 能做什么?
小红书MCP服务
特点
- 采用js逆向出x-s,x-t,直接请求http接口,无须笨重的playwright
- 搜索笔记
- 获取笔记内容
- 获取笔记的评论
- 发表评论

快速开始
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"
}
}
}
}
免责声明
本项目仅用于学习交流,禁止用于其他用途,任何涉及商业盈利目的均不得使用,否则风险自负。
安装
把 blbl147 xhs mcp 添加到你的客户端。选择你正在使用的那个。
claude mcp add --transport http blbl147-xhs-mcp https://server.smithery.ai/@blbl147/xhs-mcp/mcpcodex mcp add blbl147-xhs-mcp --url https://server.smithery.ai/@blbl147/xhs-mcp/mcp{
"mcpServers": {
"blbl147-xhs-mcp": {
"url": "https://server.smithery.ai/@blbl147/xhs-mcp/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"blbl147-xhs-mcp": {
"type": "http",
"url": "https://server.smithery.ai/@blbl147/xhs-mcp/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"blbl147-xhs-mcp": {
"url": "https://server.smithery.ai/@blbl147/xhs-mcp/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"blbl147-xhs-mcp": {
"serverUrl": "https://server.smithery.ai/@blbl147/xhs-mcp/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
评分
38 / 100
不完整
- 文档15/25
- 维护5/25
- 可信度6/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 459 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.6.0最新 | 2025年9月15日 |