Server data from the Official MCP Registry
Hosted read-only Xiaohongshu (RedNote) data MCP. No XHS account or cookies required.
About
Hosted read-only Xiaohongshu (RedNote) data MCP. No XHS account or cookies required.
Remote endpoints: streamable-http: https://dataflowserver.org/mcp
Security Report
Valid MCP server (3 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
8 tools verified · Open access · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"io-github-submato-apiserver-xhs-mcp": {
"url": "https://dataflowserver.org/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}This server needs this header. Replace each <YOUR_...> placeholder with your own value:
Authorization(required): DataFlow API token formatted as 'Bearer YOUR_DATAFLOW_TOKEN'. Register at https://dataflowserver.org/register/ and obtain your token at https://dataflowserver.org/login/.
Documentation
View on GitHubFrom the project's GitHub README.
小红书MCP(xiaohongshu-mcp 免登录云端版)| DataFlow XHS MCP
apiserver-xhs-mcp 是面向 Cursor、Claude Code、Cherry Studio、Trae、Codex 及其他 AI Agent 的小红书MCP(Xiaohongshu / RedNote MCP)云端免登录服务,同时也开源支持本地自托管。
为什么需要它? 如果你在用本地
xiaohongshu-mcp/ Playwright 爬虫时经常遇到 扫码登录失效、Cookie 过期、多端踢下线或账号被风控,可以直接切换到本云端只读 MCP:零安装、无需小红书账号、无需 Cookie、不碰你自己的账号,单次调用 45–60 Token(约 ¥0.045–¥0.06/次,支持支付宝直充)。
English: Hosted & self-hostable Xiaohongshu (RedNote) MCP server (
xiaohongshu-mcpwithout login) for Cursor, Claude Code, and AI Agents — search notes, fetch note details, comments, subcomments, user profiles, and user posts via Streamable HTTP. Zero XHS account, zero cookies, zero local Playwright/browser automation required.
- 云端托管 MCP 地址(零安装直连):
https://dataflowserver.org/mcp - 一句话让 AI 自动接入:把
https://dataflowserver.org/agents.md发给 Claude Code / Cursor / Codex - 注册并获取 DataFlow Token:注册 DataFlow · 登录与充值
- 攻略与发现:免登录小红书 MCP 替代方案 · Cursor/Claude 接入教程 · Apifox 文档 · Server Card · Official MCP Registry · Glama · llms.txt
DataFlow 是独立第三方数据接口服务,与小红书没有隶属、赞助或官方合作关系。本项目仅提供只读数据查询,不用于发布内容、登录账号或绕过平台权限。使用者应遵守适用法律、平台规则和数据保护要求。
快速开始:云端直连(推荐,30 秒零安装)
无需 git clone、无需装 Node.js / Playwright、无需扫码登录小红书账号。只需一个 DataFlow Token,把下面配置粘贴到你的 AI 客户端即可:
1. Cursor / Windsurf / Trae / Cline(mcp.json)
{
"mcpServers": {
"xiaohongshu": {
"url": "https://dataflowserver.org/mcp",
"headers": {
"Authorization": "Bearer YOUR_DATAFLOW_TOKEN"
}
}
}
}
2. Claude Code(一行命令)
claude mcp add --transport http xiaohongshu https://dataflowserver.org/mcp \
--header "Authorization: Bearer YOUR_DATAFLOW_TOKEN"
3. Cherry Studio / 支持自定义请求头的客户端
- 类型(Transport):
Streamable HTTP - URL:
https://dataflowserver.org/mcp - 请求头(Headers):
Authorization: Bearer YOUR_DATAFLOW_TOKEN(也支持X-API-Key: YOUR_DATAFLOW_TOKEN)
提示:MCP
initialize和tools/list支持免鉴权发现,客户端接入后可立即看到全部 8 个工具;实际调用工具时再校验 DataFlow Token。
与本地小红书爬虫 MCP 的区别
| 对比项 | DataFlow 云端小红书 MCP | 本地浏览器 / 账号爬虫 MCP |
|---|---|---|
| 本地安装 | 不需要(填入 HTTPS URL 即可) | 需要装 Python/Node + Playwright/浏览器 |
| 小红书账号 | 不需要 | 需要扫码登录个人账号 |
| Cookie / 验证码 / 封号风险 | 无(不碰你的小红书账号) | Cookie 易过期,高频容易触发风控封号 |
| 协议支持 | 标准 Streamable HTTP(无状态) | 多为本地 stdio,难给团队/云端 Agent 共享 |
| 数据范围 | 8 个只读 XHS V2 查询工具 | 取决于本地逆向与脚本维护状态 |
支持哪些 MCP 工具?
当前版本(v0.3.0)提供 8 个只读工具,全部路由至 DataFlow XHS V2 数据接口:
| MCP 工具 | 能力说明 | 单次价格 |
|---|---|---|
xhs_v2_search_notes | 搜索笔记,支持排序(综合/最新/最多点赞/评论/收藏/英文优先)、类型和时间筛选 | 60 Token |
xhs_v2_get_note | 获取适配后的笔记详情 | 45 Token |
xhs_v2_get_full_note | 获取完整笔记详情 | 60 Token |
xhs_v2_get_comments | 获取一级评论,支持按最新或最热排序及分页 | 45 Token |
xhs_v2_get_subcomments | 获取某条一级评论的二级回复及分页 | 45 Token |
xhs_v2_get_user | 获取适配后的用户资料 | 45 Token |
xhs_v2_get_full_user | 获取完整用户资料 | 60 Token |
xhs_v2_list_user_notes | 获取用户发布的笔记列表,支持 cursor 翻页 | 60 Token |
充值比例 1 元 = 1,000 DataFlow Token(45 Token ≈ ¥0.045/次,60 Token ≈ ¥0.06/次,支持支付宝直充)。DataFlow Token 是站内接口计费单位,不是大语言模型上下文 Token。最新参数、错误码和退费规则以 DataFlow Apifox 文档 为准。
典型使用场景
- AI 选品与舆情研究:让 Cursor / Claude 搜索某个品类的爆款笔记并批量汇总评论区痛点;
- 竞品与品牌口碑监控:跟踪品牌或竞品在小红书上的最新讨论与正负面反馈;
- 达人初筛与内容复盘:批量查看达人资料与近期作品互动表现;
- 工作流与 Agent 集成:在各类支持 Streamable HTTP MCP 的 Agent 框架中直接挂接只读小红书数据源。
如果需求是自动发布、点赞、收藏、私信或账号运营自动化,本项目不适用。
方式二:本地自托管部署(可选)
如果你希望在自己的服务器或本地运行本 MCP 网关(Node.js 20+):
git clone https://github.com/submato/apiserver-xhs-mcp.git
cd apiserver-xhs-mcp
npm install
cp .env.example .env
npm run build
npm start
默认端点:
- MCP:
http://localhost:3000/mcp - 健康检查:
http://localhost:3000/mcp/health(兼容/health) - Server Card:
http://localhost:3000/.well-known/mcp/server-card.json
也支持使用根目录的 Dockerfile 容器化运行。
English Summary
DataFlow Xiaohongshu (RedNote) MCP (apiserver-xhs-mcp) is a hosted, stateless Streamable HTTP MCP server providing read-only access to public Xiaohongshu (RedNote) data — note search, note details, comments, subcomments, user profiles, and user posts — without requiring a Xiaohongshu account, login cookies, CAPTCHAs, or local Playwright automation.
- Hosted Remote Endpoint:
https://dataflowserver.org/mcp - Transport: Streamable HTTP (
POST /mcp) - Authentication:
Authorization: Bearer YOUR_DATAFLOW_TOKENorX-API-Key: YOUR_DATAFLOW_TOKEN(unauthenticatedinitializeandtools/listsupported for client/registry discovery) - Get a Token: Register · Console & Billing
- Server Card:
https://dataflowserver.org/.well-known/mcp/server-card.json
{
"mcpServers": {
"xiaohongshu": {
"url": "https://dataflowserver.org/mcp",
"headers": {
"Authorization": "Bearer YOUR_DATAFLOW_TOKEN"
}
}
}
}
常见问题
使用云端 MCP 需要提供小红书账号或 Cookie 吗?
不需要。你只需要在 DataFlow 注册并获取 DataFlow Token,全程不接触你的小红书账号。
DataFlow Token 会发给大模型吗?
不会。Token 放在 HTTP Authorization 或 X-API-Key 请求头中,不属于工具入参,模型对话不会看到你的 Token。
上游异常或失败怎么处理?
上游数据受第三方平台可用性和网络波动影响,服务不保证 100% 实时可用。具体错误码与计费/退费规则详见 DataFlow 文档。
项目信息
- 版本:
v0.3.0 - 协议:Model Context Protocol(Streamable HTTP)
- 云端端点:
https://dataflowserver.org/mcp - 开源协议:MIT
- 安全反馈:SECURITY.md · 贡献指南:CONTRIBUTING.md
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
