小红书MCP服务器 | xhs-mcp-server
aicu-icu/xhs-mcp-server · 181 stars · JavaScript
MCP server 小红书MCP服务器 | 基于Electron+小红书Web API。一键安装运行、极速抓取笔记、评论、用户等数据并让AI智能分析、整理与导出
Install
The repo has no one-line install. Follow its README.
Files
小红书 MCP 服务器
简单、快速、精准的小红书 MCP 服务,方便接入 AI 助手实现自动化运营。
优势
- 简单 - 无需复杂配置,浏览器 + 插件即可,2 分钟搞定
- 精准 - 纯接口调用,数据比传统抓取更齐全、精准
- 快速 - 数据量不大时,1-2 秒完成执行
功能一览
内置 10 个 MCP 工具,支持扩展开发。
AI 客户端使用 StreamableHTTP 协议连接 MCP 服务,可自定义认证头增强安全性。
快速运行(无需安装)
- 打开 小红书官网
- 按
F12或Ctrl+Shift+J打开控制台 - 粘贴以下代码并回车:
fetch('//raw.githubusercontent.com/aicu-icu/xhs-mcp-server/refs/heads/main/loader.user.js').then(r=>r.text()).then(eval)
✅ 如果页面右下角显示了 Broxy 图标,则执行成功。关闭控制台后点击图标启动即可。
⚠️ 关闭页面后失效。
快速安装
- 安装 Broxy 扩展:https://broxy.dev
- 安装完毕后,打开小红书网页:https://www.xiaohongshu.com
- 点击右下角的 Broxy 图标,进入设置,【从链接导入数据】,地址填写:
https://cdn.jsdelivr.net/gh/aicu-icu/xhs-mcp-server@main/data-json/latest.json - 或者下载当前项目目录的
data-json/下的配置文件,然后在 Broxy 扩展里从文件导入
导入完毕,点击启动,即可获取 MCP 服务地址去使用
注意事项
小红书接口请求频繁或
xsec_token参数不匹配会触发风控,导致账号异常退出。 请避免 AI 助手调用过于频繁,不要编造不存在的笔记/用户 ID 或xsec_token。
联系我们
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 181
- Language
- JavaScript
- Last push
- 2026-03-13
- Forks
- 26
- Topics
- xhs, xhs-mcp, xiaohongshu, xiaohongshu-mcp, xhs-mcp-server, xiaohongshu-mcp-server
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k


