---
title: "小红书 MCP（托管版）：不扫码不用 Cookie · SocialToAI"
canonical: https://socialtoai.app/zh/mcp/xiaohongshu/
updated: 2026-11-20
---

# 小红书 MCP 服务器

SocialToAI 是一个托管的 MCP 服务，让你的 AI 直接读小红书：搜笔记，读笔记详情、评论、账号资料、账号发布的笔记和热榜。在 Claude、ChatGPT 或 Cursor 里填一个地址就能用，不用小红书账号，不用提供 Cookie，本机也不用装任何东西。每次调用 12 积分（低至 $0.024），失败不扣。最近实测：2026-11-19。

- 页面：https://socialtoai.app/zh/mcp/xiaohongshu/
- 最近更新：2026-11-20
- 最近实测：2026-11-19

## 接入 SocialToAI

地址：`https://socialtoai.app/mcp`

在你的 AI 里添加 MCP 服务器，填这个地址。弹出登录页就用邮箱登录、点“允许”。需要填 Key 的工具，去控制台复制一把 Key，放进请求头：`Authorization: Bearer <YOUR_API_KEY>`。 [去拿 Key](https://socialtoai.app/console/keys/)

在终端里：运行命令，再登录：

Claude Code：

```
claude mcp add --transport http socialtoai https://socialtoai.app/mcp
```

然后在 Claude Code 里输入 /mcp，选 socialtoai，登录。

Codex：

```
codex mcp add socialtoai --url https://socialtoai.app/mcp
```

然后在打开的浏览器里登录。

写程序直接调接口：用 Key，见 [API 文档](https://socialtoai.app/zh/docs.md)。

## 按客户端看详细步骤

同一个地址。每个客户端一页，写明在哪里填、怎么登录，以及接好后可以先问什么。

- [Claude Code](https://socialtoai.app/zh/connect/claude-code.md)：运行命令，再登录、点“允许”
- [Claude app](https://socialtoai.app/zh/connect/claude.md)：粘贴地址，登录后点“允许”
- [ChatGPT](https://socialtoai.app/zh/connect/chatgpt.md)：粘贴地址，登录后点“允许”
- [Cursor](https://socialtoai.app/zh/connect/cursor.md)：填地址，登录后点“允许”
- [Codex](https://socialtoai.app/zh/connect/codex.md)：运行命令，再登录、点“允许”
- [Trae](https://socialtoai.app/zh/connect/trae.md)：几行配置加一把 Key
- [Cherry Studio](https://socialtoai.app/zh/connect/cherry-studio.md)：表单里填地址和 Key
- [Dify](https://socialtoai.app/zh/connect/dify.md)：表单里填地址和 Key
- [n8n](https://socialtoai.app/zh/connect/n8n.md)：表单里填地址和 Key

MCP 页：https://socialtoai.app/zh/mcp.md

## 你的 AI 在小红书上能调用什么

| 工具 | 返回什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `search` | 按关键词找笔记：正文、作者、点赞数、评论数和发布时间。 | `xiaohongshu.search` | 12 | https://socialtoai.app/zh/xiaohongshu-search-api.md |
| `trending` | 现在的热榜：标题、名次和热度。 | `xiaohongshu.trending` | 12 | https://socialtoai.app/zh/xiaohongshu-trending-api.md |
| `detail` | 用编号或链接取一条笔记：正文、作者、点赞数、评论数和发布时间。 | `xiaohongshu.detail` | 12 | https://socialtoai.app/zh/xiaohongshu-detail-api.md |
| `comments` | 一条笔记下的评论：正文、点赞数、回复数和时间。 | `xiaohongshu.comments` | 12 | https://socialtoai.app/zh/xiaohongshu-comments-api.md |
| `user_profile` | 一个账号：名称、简介、粉丝数、关注数和作品数。 | `xiaohongshu.user_profile` | 12 | https://socialtoai.app/zh/xiaohongshu-user-profile-api.md |
| `user_posts` | 一个账号最近发布的笔记。 | `xiaohongshu.user_posts` | 12 | https://socialtoai.app/zh/xiaohongshu-user-posts-api.md |

### 小红书独有的接口（通过 call 工具）

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `kol_search` | 按搜索词找蒲公英上的小红书博主（按博主写的内容匹配）。 | `xiaohongshu.kol_search` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-search-api.md |
| `kol_profile` | 按蒲公英博主编号取这位小红书博主在蒲公英上的资料。 | `xiaohongshu.kol_profile` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-profile-api.md |
| `kol_audience` | 按蒲公英博主编号取这位小红书博主的粉丝画像。 | `xiaohongshu.kol_audience` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-audience-api.md |
| `kol_performance` | 按蒲公英博主编号取这位小红书博主近 30 天或 90 天日常笔记或合作笔记的数据表现。 | `xiaohongshu.kol_performance` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-performance-api.md |
| `keyword_history` | 按一个关键词取它在小红书上最近约三个月逐日的搜索指数（蒲公英），并带每天和这个词有关的笔记数、曝光数、阅读数和互动数。 | `xiaohongshu.keyword_history` | 24 | https://socialtoai.app/zh/xiaohongshu-keyword-history-api.md |
| `product_search` | 按搜索词取一页小红书商城的商品。 | `xiaohongshu.product_search` | 12 | https://socialtoai.app/zh/xiaohongshu-product-search-api.md |
| `product_detail` | 按商品编号取小红书商城的一件商品。 | `xiaohongshu.product_detail` | 12 | https://socialtoai.app/zh/xiaohongshu-product-detail-api.md |
| `product_reviews` | 按商品编号取小红书商城这件商品排在最前的一页买家评价。 | `xiaohongshu.product_reviews` | 12 | https://socialtoai.app/zh/xiaohongshu-product-reviews-api.md |
| `kol_notes` | 按蒲公英博主编号取一页这位小红书博主的笔记（蒲公英的“笔记案例”），带蒲公英给的数据。 | `xiaohongshu.kol_notes` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-notes-api.md |
| `topic_notes` | 按话题页编号取该话题下的热门笔记。 | `xiaohongshu.topic_notes` | 12 | https://socialtoai.app/zh/xiaohongshu-topic-notes-api.md |
| `keyword_related` | 按一个关键词取小红书用户搜它之前和之后还会搜的词（蒲公英），各带相关度名次、搜索指数、相关笔记数和阅读数，用来拓词选题。 | `xiaohongshu.keyword_related` | 24 | https://socialtoai.app/zh/xiaohongshu-keyword-related-api.md |
| `topic` | 按话题页编号取一个小红书话题。 | `xiaohongshu.topic` | 12 | https://socialtoai.app/zh/xiaohongshu-topic-api.md |
| `search_suggestions` | 按关键词取小红书搜索框里输入这个词时给的联想词（下拉补全），按小红书列出的顺序排，一次约 10 个。 | `xiaohongshu.search_suggestions` | 12 | https://socialtoai.app/zh/xiaohongshu-search-suggestions-api.md |
| `video_detail` | 按笔记编号或链接取一篇小红书视频笔记。 | `xiaohongshu.video_detail` | 12 | https://socialtoai.app/zh/xiaohongshu-video-detail-api.md |
| `kol_follower_history` | 按蒲公英博主编号取这位小红书博主最近 30 天或 60 天每天的粉丝数，以及这段时间净增多少、涨了百分之几。 | `xiaohongshu.kol_follower_history` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-follower-history-api.md |
| `kol_similar` | 给一个蒲公英博主编号，取蒲公英推荐的和他相似的小红书博主。 | `xiaohongshu.kol_similar` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-similar-api.md |
| `kol_trending_notes` | 取蒲公英内容广场的热门笔记榜。 | `xiaohongshu.kol_trending_notes` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-trending-notes-api.md |
| `kol_costs` | 按蒲公英博主编号取这位小红书博主的合作成本。 | `xiaohongshu.kol_costs` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-costs-api.md |
| `kol_cost_history` | 按蒲公英博主编号取这位小红书博主最近 30 天或 90 天每天的核心数据。 | `xiaohongshu.kol_cost_history` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-cost-history-api.md |
| `kol_follower_quality` | 按蒲公英博主编号取这位小红书博主粉丝的质量。 | `xiaohongshu.kol_follower_quality` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-follower-quality-api.md |
| `kol_note_metrics` | 按笔记编号取蒲公英给品牌看的这篇小红书笔记的数据。 | `xiaohongshu.kol_note_metrics` | 24 | https://socialtoai.app/zh/xiaohongshu-kol-note-metrics-api.md |

## 一次录制的对话

### 小红书

> 小红书上大家怎么聊露营咖啡？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| 小红书 | [`brand_buzz`](https://socialtoai.app/zh/tools/brand-buzz.md) | `brand: "露营咖啡" · about: "户外露营时自己做咖啡" · platforms: ["xiaohongshu"] · window: "90d" · scale: "small"` | 1 | 13 篇笔记 | 36 |
| **合计** |  |  | 1 | 13 条 | **36** |

录制于 2026-10-18

找到的 13 条里有 8 条确实在说它：正面 100%，中性 0%，负面 0%。提到最多的是：

1. **功能** (38%，3 篇笔记)：[“泰摩手冲套装，户外也能稳定萃取”](https://www.xiaohongshu.com/discovery/item/6ace5030000000000202b50a?xsec_token=YBG8sJk5ubaOiy4IR4aWFju_M8woOWi5f596-EyQu89_I%3D&xsec_source=app_share)
2. **易用性** (25%，2 篇笔记)：[“意外比想象中方便。 撕开直接倒进水或牛奶里，冷水大约3秒就能化开”](https://www.xiaohongshu.com/discovery/item/6a7166a8000000002500db01?xsec_token=YBPlj8LOiespGe8OC5mJrELhKzAcNDnW_YlU9aDOcRrL0%3D&xsec_source=app_share)
3. **质量** (13%，1 篇笔记)：[“亲手萃取的温柔质感 是成年人超治愈的低成本快乐”](https://www.xiaohongshu.com/discovery/item/6a5f63d40000000001033a6e?xsec_token=YB4BbvhOU2v5iwKzbmgNXN3JuvanMCovT7SnEUZ4w3TH0%3D&xsec_source=app_share)

本次共 36 积分 · $0.12。每个结论都能点回原帖。

### 爆款内容

> 这个月小红书上哪些露营笔记火了？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| 小红书 | [`research viral_finder`](https://socialtoai.app/zh/tools/viral-finder.md) | `query: "露营" · window: "30d" · scale: "small"` | 1 | 14 篇笔记 | 54 |
| **合计** |  |  | 1 | 14 条 | **54** |

录制于 2026-10-18

找到 14 条，1 条达到平时的 3 倍以上。起量最多的几种形式，占比是占能判断形式的 14 条的比例：

1. **搞笑** (7%，1 篇笔记)：[“孩子期盼已久的露营，终于安排上了”](https://www.xiaohongshu.com/discovery/item/6accc58f000000001803899c?xsec_token=YBrpZDYeMwvWxiZ3xP2aQnayx1a9OTzYNWdEgZtGCiVlY%3D&xsec_source=app_share)
2. **故事** (36%，5 篇笔记)：其中 0 条达到平时的 3 倍以上
3. **展示** (21%，3 篇笔记)：其中 0 条达到平时的 3 倍以上

本次共 54 积分 · $0.18。每个结论都能点回原帖。

## 可以这样问

- 这周小红书上，家用咖啡和抹茶哪个更火？ → search, search：24 积分 ($0.08)
- 读一下这条小红书笔记的评论，告诉我大家在抱怨什么。 → detail, comments × 3：48 积分 ($0.16)
- 在小红书上找 5 个发露营咖啡内容的账号，看看他们最近发了什么。 → search, user_posts × 5：72 积分 ($0.24)

## 做不到什么

- **小红书给不了的字段**：这些字段返回 null，并列在返回的 unavailable 里，你的 AI 会把它读成“平台没给”，不会当成 0。 `author.verified`, `author.followers`, `metrics.views`, `metrics.reposts`, `hashtags`, `is_pinned`, `rank`, `url`, `author.username`
- **只读，不代你发布**：你的 AI 不能通过 SocialToAI 在小红书上发帖、评论、点赞、关注或发私信。
- **只有公开可见的内容**：小红书上任何人都能看到的内容和账号信息。登录后才看得到的都没有：私密账号、私信、你自己的推荐流。

## 常见问题

**小红书有官方 API 吗？这个 MCP 是官方的吗？**

没有读公开内容的接口：小红书开放平台目前只开放登录，文档里没有读取公开笔记或评论的接口。这个 MCP 服务由 SocialToAI 运行，不是平台官方的，和平台没有关联。来源：openaccount.xiaohongshu.com，核对于 2026-10-17。

**Claude 和 ChatGPT 能用吗？**

能。在 Claude 或 ChatGPT 的网页版或桌面版里，把上面的地址粘贴为自定义连接器，用邮箱验证码登录后点“允许”。Claude Code、Codex 是一条命令，Cursor 是一段配置，之后同样登录；只能填请求头的工具用一把 Key。

**要小红书账号吗？会牵连我的账号吗？**

不用。不用你的账号，不会牵连你的账号：不用登录小红书，不用 Cookie，本机不用装东西。它只读小红书上公开可见的内容，不能发布。

**多少钱？**

每次调用 12 积分起，按第一档约 ¥0.29（$0.04）。失败不扣，每次调用都写明扣了多少。注册送 100 积分，不用绑卡。

## 相关页面

- [小红书 API](https://socialtoai.app/zh/platforms/xiaohongshu.md)
- [怎么让 AI 读小红书上大家对一个话题怎么说？](https://socialtoai.app/zh/docs/guides/read-xiaohongshu-notes-on-a-topic.md)
- [怎么用 AI 找小红书上正在火的笔记？](https://socialtoai.app/zh/docs/guides/find-viral-notes-on-xiaohongshu.md)
- [TikTok MCP 服务器](https://socialtoai.app/zh/mcp/tiktok.md)
- [Instagram MCP 服务器](https://socialtoai.app/zh/mcp/instagram.md)
- [X MCP 服务器](https://socialtoai.app/zh/mcp/x.md)
- [Reddit MCP 服务器](https://socialtoai.app/zh/mcp/reddit.md)
- [YouTube MCP 服务器](https://socialtoai.app/zh/mcp/youtube.md)
- [Facebook MCP 服务器](https://socialtoai.app/zh/mcp/facebook.md)
- [LinkedIn MCP 服务器](https://socialtoai.app/zh/mcp/linkedin.md)
- [Threads MCP 服务器](https://socialtoai.app/zh/mcp/threads.md)
- [Telegram MCP 服务器](https://socialtoai.app/zh/mcp/telegram.md)
- [Pinterest MCP 服务器](https://socialtoai.app/zh/mcp/pinterest.md)
- [抖音 MCP 服务器](https://socialtoai.app/zh/mcp/douyin.md)
- [微博 MCP 服务器](https://socialtoai.app/zh/mcp/weibo.md)
- [公众号 MCP 服务器](https://socialtoai.app/zh/mcp/wechat.md)
- [B 站 MCP 服务器](https://socialtoai.app/zh/mcp/bilibili.md)
- [知乎 MCP 服务器](https://socialtoai.app/zh/mcp/zhihu.md)
- [快手 MCP 服务器](https://socialtoai.app/zh/mcp/kuaishou.md)
- [视频号 MCP 服务器](https://socialtoai.app/zh/mcp/wechat-channels.md)
