---
title: "微信公众号 MCP（托管版）：不用登录读文章和评论 · SocialToAI"
canonical: https://socialtoai.com/zh/mcp/wechat/
updated: 2026-11-05
---

# 公众号 MCP 服务器

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

- 页面：https://socialtoai.com/zh/mcp/wechat/
- 最近更新：2026-11-05
- 最近实测：2026-11-05

## 接入 SocialToAI

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

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

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

Claude Code：

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

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

Codex：

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

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

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

## 按客户端看详细步骤

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

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

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

## 你的 AI 在公众号上能调用什么

| 工具 | 返回什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `search` | 按关键词找文章：正文、作者、点赞数和发布时间。 | `wechat.search` | 12 | https://socialtoai.com/zh/wechat-search-api.md |
| `detail` | 用链接取一条文章：正文、作者和发布时间。 | `wechat.detail` | 12 | https://socialtoai.com/zh/wechat-detail-api.md |
| `comments` | 一条文章下的评论：正文、点赞数、回复数和时间。 | `wechat.comments` | 12 | https://socialtoai.com/zh/wechat-comments-api.md |
| `user_profile` | 一个账号：名称。 | `wechat.user_profile` | 12 | https://socialtoai.com/zh/wechat-user-profile-api.md |
| `user_posts` | 一个账号最近发布的文章。 | `wechat.user_posts` | 12 | https://socialtoai.com/zh/wechat-user-posts-api.md |

### 公众号独有的接口（通过 call 工具）

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `article_stats` | 按文章长链接取这篇公众号文章此刻的数字。 | `wechat.article_stats` | 12 | https://socialtoai.com/zh/wechat-article-stats-api.md |
| `account_owner` | 按公众号原始编号取它的主体（背后的公司、机构或个人）。 | `wechat.account_owner` | 60 | https://socialtoai.com/zh/wechat-account-owner-api.md |
| `keyword_history` | 按关键词取它最近 30 天的微信指数，一天一个数。 | `wechat.keyword_history` | 60 | https://socialtoai.com/zh/wechat-keyword-history-api.md |
| `keyword_related` | 按关键词取微信搜一搜在搜索框里给的联想推荐词，按搜一搜列出的顺序排，一次约 10 个。 | `wechat.keyword_related` | 60 | https://socialtoai.com/zh/wechat-keyword-related-api.md |
| `miniprogram_search` | 按搜索词在微信搜一搜里找小程序，取第一页（约 25 个）。 | `wechat.miniprogram_search` | 60 | https://socialtoai.com/zh/wechat-miniprogram-search-api.md |

## 一次录制的对话

> 这个月公众号上怎么说 iPhone 17 Pro？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| 公众号 | [`brand_buzz`](https://socialtoai.com/zh/tools/brand-buzz.md) | `brand: "iPhone 17 Pro" · about: "苹果公司的手机" · platforms: ["wechat"] · window: "30d" · scale: "small"` | 1 | 31 帖 | 36 |
| **合计** |  |  | 1 | 31 条 | **36** |

录制于 2026-11-05

找到的 31 条里有 28 条确实在说它：正面 61%，中性 29%，负面 11%。提到最多的是：

1. **价格** (82%，23 帖)：[“iPhone 17 Pro大降价1500元，有点性价比了！”](https://mp.weixin.qq.com/s?__biz=MzcwNjM4MjQyMQ==&mid=2247484286&idx=1&sn=340bae8e0d929503c2f2d6672fd40226&chksm=f53adc021c23157cd9507608914ae4a3edaa2bfe827905bda62f103aad7b6cb8e082f6a5bc36)
2. **功能** (21%，6 帖)：[“从7999跌至5699综合体验拉满！”](https://mp.weixin.qq.com/s?__biz=MzY5NzM0NzMxMg==&mid=2247484767&idx=5&sn=0c52ab6f91d1e32152669066b895cc4d&chksm=f56f5adcb1a3a2c43ba0bf2e53333e9ae921792ae6cb89ec9604c4f6564e7968a6d5a4119e19)
3. **与同类比较** (21%，6 帖)：[“今年反倒是上代的 iPhone 17 Pro 性价比更突出”](https://mp.weixin.qq.com/s?__biz=MzY4ODQ3NTMwMg==&mid=2247483712&idx=1&sn=0cf18d1e4a71460416bc7e9123a05d94&chksm=f2ba3dbc97b65d1caecb3e80b35ebc1c7efe31afb8ec9d6a77ea361205580708c27500ac4533)

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

## 可以这样问

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

## 做不到什么

- **公众号没有热榜**：公众号不支持这个动作。调用会返回“不支持”，不扣费。 `trending`
- **公众号给不了的字段**：这些字段返回 null，并列在返回的 unavailable 里，你的 AI 会把它读成“平台没给”，不会当成 0。 `author.id`, `author.username`, `author.verified`, `author.followers`, `metrics.comments`, `metrics.shares`, `metrics.views`, `metrics.reposts`, `images`, `hashtags`, `is_pinned`, `metrics.likes`, `metrics.collects`, `url`, `content_id`, `username`, `bio`, `verified`, `followers`, `following`, `posts_count`, `author.name`
- **只读，不代你发布**：你的 AI 不能通过 SocialToAI 在公众号上发帖、评论、点赞、关注或发私信。
- **只有公开可见的内容**：公众号上任何人都能看到的内容和账号信息。登录后才看得到的都没有：私密账号、私信、你自己的推荐流。

## 常见问题

**公众号有官方 API 吗？这个 MCP 是官方的吗？**

不能读其他公众号的文章：微信公众号接口只用于管理本账号的内容。这个 MCP 服务由 SocialToAI 运行，不是平台官方的，和平台没有关联。来源：developers.weixin.qq.com，核对于 2026-11-05。

**Claude 和 ChatGPT 能用吗？**

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

**要公众号账号吗？会牵连我的账号吗？**

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

**多少钱？**

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

## 相关页面

- [公众号 API](https://socialtoai.com/zh/platforms/wechat.md)
- [TikTok MCP 服务器](https://socialtoai.com/zh/mcp/tiktok.md)
- [Instagram MCP 服务器](https://socialtoai.com/zh/mcp/instagram.md)
- [X MCP 服务器](https://socialtoai.com/zh/mcp/x.md)
- [Reddit MCP 服务器](https://socialtoai.com/zh/mcp/reddit.md)
- [YouTube MCP 服务器](https://socialtoai.com/zh/mcp/youtube.md)
- [Facebook MCP 服务器](https://socialtoai.com/zh/mcp/facebook.md)
- [LinkedIn MCP 服务器](https://socialtoai.com/zh/mcp/linkedin.md)
- [Threads MCP 服务器](https://socialtoai.com/zh/mcp/threads.md)
- [Telegram MCP 服务器](https://socialtoai.com/zh/mcp/telegram.md)
- [Pinterest MCP 服务器](https://socialtoai.com/zh/mcp/pinterest.md)
- [小红书 MCP 服务器](https://socialtoai.com/zh/mcp/xiaohongshu.md)
- [抖音 MCP 服务器](https://socialtoai.com/zh/mcp/douyin.md)
- [微博 MCP 服务器](https://socialtoai.com/zh/mcp/weibo.md)
- [B 站 MCP 服务器](https://socialtoai.com/zh/mcp/bilibili.md)
- [知乎 MCP 服务器](https://socialtoai.com/zh/mcp/zhihu.md)
- [快手 MCP 服务器](https://socialtoai.com/zh/mcp/kuaishou.md)
- [视频号 MCP 服务器](https://socialtoai.com/zh/mcp/wechat-channels.md)
