# 公众号、视频号 MCP：在 Claude、Cursor 里查微信数据（2026）

DataXAPI 的 MCP 服务能读公众号文章全文、阅读数、评论，视频号作品和评论，以及微信搜一搜：公众号 8 个、视频号 15 个、搜一搜 6 个接口。接进 Claude、Cursor 或 ChatGPT 后用一句话查，不用你的微信号，一次 $0.0200 起。 免费试用，最多 333 次；失败不收费。

更新于 2026-11-06

## 怎么接？

接法：把这句贴给你的 AI 助手：“读 https://dataxapi.com/agents.md，在这里帮我接好 DataXAPI。我的 API Key 是 dx_…，之后所有 DataXAPI 的调用都用它。”支持远程 MCP 的客户端，也可以直接填地址 `https://api.dataxapi.com/mcp`，请求头带 `Authorization: Bearer <key>`。

## 在 AI 里能问微信的什么？

公众号文章用链接指定，公众号用 gh_ 开头的原始编号；只知道名字，AI 会先用搜一搜找出编号。

| 你说 | 它调的接口 |
| --- | --- |
| 某个公众号最近 20 篇文章，列标题和阅读数 | `wechat.accounts.search`、`wechat_mp.accounts.articles.list`、`wechat_mp.articles.metrics` |
| 把这篇文章（贴链接）的正文和精选评论总结一下 | `wechat_mp.articles.get`、`wechat_mp.articles.comments.list` |
| 搜一搜里最近一周讲“AI 眼镜”的文章和视频 | `wechat.posts.search` |
| 这个视频号最近的作品和评论 | `wechat_channels.users.videos.list`、`wechat_channels.videos.comments.list` |

## 要知道的

阅读数要用文章的长链接。只读公开数据，不能发文章、留言或回复。找接口、看价格不收费，失败不收费。

## 为什么用 DataXAPI

- 稳定：近 30 天接口可用 99.9%，状态页公开，可以自己核对。
- 快：近 7 天付费调用的中位耗时 3.5 秒（2026-11-06 统计）。
- 省 token：微信公众号的 8 个接口各取一份录制的真实返回，平台原始 JSON 合计 2.1 万 token，AI 通过 DataXAPI 的 MCP 读到的只有 4,494 token，少 79%；直接调接口拿到的 JSON 也少 70%（2026-11-06 统计）。所有平台同一种格式：作者在 `author`，互动数在 `metrics`，翻页用 `page.next_cursor`，换平台不用重写解析。
- 先看再用：每个接口的页面上都有一份录制的真实返回，字段一目了然。
- 花钱可控：失败不收费；每把 Key 能设金额上限，`X-Max-Price` 限定一次最多花多少，同一个 `Idempotency-Key` 24 小时内不重复扣费。
- 接 AI 方便：远程 MCP 服务已在 MCP 官方登记处登记（`com.dataxapi/mcp`），Claude、Cursor、ChatGPT 都能直接用。
- 免费试用，最多 333 次，不用绑卡。

## 用到的接口

- [微信公众号实时查找](https://dataxapi.com/zh/apis/wechat/accounts/search/) ($0.0200 / 一次): 按搜索词在微信搜一搜里找公众号和服务号，最像的排前面，后面可能跟着不太相关的账号：原始编号、微信号、名称、简介、头像、是否认证、主体名称、原创文章数。按次计费；不带粉丝和阅读数，要这些的估计值用 wechat_mp.accounts.search。
- [微信公众号文章列表](https://dataxapi.com/zh/apis/wechat_mp/accounts/articles/list/) ($0.0200 / 一次): 按公众号原始编号取一页它发布的文章，从新到旧：标题、摘要、链接、发布时间。
- [微信公众号文章详情](https://dataxapi.com/zh/apis/wechat_mp/articles/get/) ($0.0200 / 一次): 按文章链接取一篇公众号文章：标题、正文、发布时间、公众号的名称和编号。
- [微信公众号文章互动数据](https://dataxapi.com/zh/apis/wechat_mp/articles/metrics/) ($0.0200 / 一次): 按文章长链接取这篇公众号文章此刻的数字：阅读、点赞、推荐、分享、收藏、评论。
- [微信公众号文章评论](https://dataxapi.com/zh/apis/wechat_mp/articles/comments/list/) ($0.0200 / 一次): 按文章链接取一页公众号文章的精选评论：正文、评论者、点赞数、回复数、发布时间、IP 属地。
- [微信搜一搜综合搜索](https://dataxapi.com/zh/apis/wechat/posts/search/) ($0.0200 / 一次): 按搜索词在微信搜一搜里取一页结果，公众号文章和视频号视频混在一起，每条用 type 标明是文章还是视频；可按相关、最新或最热排、按发布时间筛：标题或文案、来源账号名称、发布时间，文章带链接，视频带点赞和收藏数。搜一搜不给账号编号。
- [微信视频号用户作品](https://dataxapi.com/zh/apis/wechat_channels/users/videos/list/) ($0.0200 / 一次): 按视频号账号编号取一页它发布的视频，从新到旧：文案、发布时间、点赞、评论、转发、收藏数。
- [微信视频号作品评论](https://dataxapi.com/zh/apis/wechat_channels/videos/comments/list/) ($0.0200 / 一次): 按作品编号取一页视频号作品的一级评论：正文、评论者、点赞数、发布时间、IP 属地。

## 怎么做

- [公众号文章有 API 吗？用 Python 批量取历史文章和阅读数（2026）](https://dataxapi.com/zh/guides/wechat-official-account-api-python/)
- [视频号有 API 吗？用 Python 取账号作品和评论（2026）](https://dataxapi.com/zh/guides/wechat-channels-api-python/)

## 微信公众号的更多内容

- [微信搜一搜 API](https://dataxapi.com/zh/apis/wechat/)
- [微信公众号 API](https://dataxapi.com/zh/apis/wechat_mp/)
- [微信视频号 API](https://dataxapi.com/zh/apis/wechat_channels/)
- [公众号文章能用 API 读取吗？](https://dataxapi.com/zh/answers/is-there-an-api-for-wechat-official-account-articles/)
- [视频号数据怎么获取？](https://dataxapi.com/zh/answers/how-to-get-wechat-channels-data/)
- [公众号文章链接里的 __biz 是什么？](https://dataxapi.com/zh/answers/wechat-official-account-biz/)
- [公众号文章链接里的 mid、idx、sn 是什么意思？](https://dataxapi.com/zh/answers/wechat-article-link-mid-idx-sn/)
- [公众号原始 ID（gh_ 开头）是什么？](https://dataxapi.com/zh/answers/wechat-official-account-original-id/)
- [视频号的 …@finder 账号编号和 export 编号是什么？](https://dataxapi.com/zh/answers/wechat-channels-finder-id/)
- [微信数据接口有哪些？公众号、视频号、搜一搜能取什么（2026）](https://dataxapi.com/zh/answers/wechat-data-apis/)
- [公众号数据 API 有哪些？历史文章、全文、阅读数、评论都能取吗（2026）](https://dataxapi.com/zh/answers/wechat-official-account-data-apis/)
- [公众号接口报 ret=200013 freq control 怎么办（2026 年 7 月之后）](https://dataxapi.com/zh/answers/wechat-ret-200013-freq-control/)
- [wechat-article-exporter 停了，还能用什么批量导出公众号文章（2026）](https://dataxapi.com/zh/answers/wechat-article-exporter-alternative/)
- [公众号历史文章怎么批量导出（2026）](https://dataxapi.com/zh/answers/export-wechat-history-articles/)
- [DataXAPI 和阿里的 DataX 是一回事吗（2026）](https://dataxapi.com/zh/answers/dataxapi-is-not-datax/)
- [怎么让 AI 读公众号（ChatGPT、Claude、Codex，2026）](https://dataxapi.com/zh/answers/let-your-ai-read-wechat/)
- [不开年费，怎么让 AI 每周盯同行的公众号、小红书和抖音（2026）](https://dataxapi.com/zh/answers/track-competitors-with-ai-pay-per-lookup/)
- [公众号怎么转 RSS（公众号 RSS，2026）](https://dataxapi.com/zh/answers/wechat-official-account-rss/)
- [wewe-rss 失效了怎么办（2026）](https://dataxapi.com/zh/answers/wewe-rss-not-working/)
- [监控几十个公众号，有更新推到飞书，怎么做（2026）](https://dataxapi.com/zh/answers/monitor-wechat-accounts-feishu/)
- [视频号账号全部作品怎么导出（2026）](https://dataxapi.com/zh/answers/export-wechat-channels-account-videos/)
- [TrendRadar 怎么加公众号、小红书数据（2026）](https://dataxapi.com/zh/answers/trendradar-wechat-xiaohongshu/)
- [we-mp-rss 容器里发现挖矿程序，公众号 RSS 现在怎么办（2026）](https://dataxapi.com/zh/answers/we-mp-rss-mining-alternative/)
- [公众号历史读完后，每天只取新文章怎么做：去重和算账（2026）](https://dataxapi.com/zh/answers/wechat-backfill-then-new-articles/)
- [不写代码，怎么让 AI 帮你取公众号、小红书、抖音数据（可复制的话，2026）](https://dataxapi.com/zh/answers/get-social-data-with-ai-no-code/)
- [公众号 fakeid 是什么（2026）](https://dataxapi.com/zh/answers/wechat-fakeid/)
- [n8n 怎么自动采集公众号文章（2026）](https://dataxapi.com/zh/answers/wechat-official-account-n8n/)
- [飞书多维表格怎么同步公众号文章数据（2026）](https://dataxapi.com/zh/answers/wechat-official-account-feishu-base/)
- [扣子怎么接公众号数据（2026）](https://dataxapi.com/zh/answers/wechat-official-account-coze/)
- [如何查看某个行业的公众号爆款文章（2026）](https://dataxapi.com/zh/answers/wechat-official-account-hit-articles-by-industry/)
- [公众号文章怎么自动导入 ima 知识库（2026）](https://dataxapi.com/zh/answers/wechat-articles-to-ima-knowledge-base/)
- [公众号文章怎么自动存进 Obsidian（2026）](https://dataxapi.com/zh/answers/wechat-articles-to-obsidian/)
- [视频号数据怎么导出（2026）](https://dataxapi.com/zh/answers/export-wechat-channels-data/)
- [微信视频号评论可以导出吗（2026）](https://dataxapi.com/zh/answers/export-wechat-channels-comments/)
- [微信指数怎么查趋势，能批量取吗（2026）](https://dataxapi.com/zh/answers/wechat-index-keyword-trends/)
- [Dify 怎么接公众号数据（MCP，2026）](https://dataxapi.com/zh/answers/wechat-official-account-dify/)
- [怎么用 Skill 和飞书 CLI 让 AI 把公众号文章写进多维表格（2026）](https://dataxapi.com/zh/answers/skill-feishu-cli-write-base/)
- [微信搜一搜联想词（下拉词）怎么批量取？（2026）](https://dataxapi.com/zh/answers/wechat-search-suggestions-api/)
- [给 AI 和 agent 用的公众号数据接口：返回省 token、Claude 和 Cursor 直接调（2026）](https://dataxapi.com/zh/answers/wechat-official-account-api-for-ai-agents/)
- [给 AI 和 agent 用的视频号数据接口：返回省 token、Claude 和 Cursor 直接调（2026）](https://dataxapi.com/zh/answers/wechat-channels-api-for-ai-agents/)
- [如何获取公众号历史文章列表](https://dataxapi.com/zh/guides/wechat-official-account-articles/)
- [如何获取公众号文章阅读数和点赞数](https://dataxapi.com/zh/guides/wechat-article-reads-and-likes/)
- [如何获取视频号视频评论](https://dataxapi.com/zh/guides/wechat-channels-video-comments/)
- [如何获取视频号账号的全部作品](https://dataxapi.com/zh/guides/wechat-channels-user-videos/)
- [如何用接口查微信搜一搜的结果](https://dataxapi.com/zh/guides/wechat-search-posts/)
- [公众号数据接口怎么选（2026）](https://dataxapi.com/zh/compare/wechat-official-account-data-apis/)
- [红狐 RedFox 替代：实时取数的社媒数据接口](https://dataxapi.com/zh/compare/redfox-alternative/)

---

目录修订号 9d3b7fa5a896745d。 [网页版](https://dataxapi.com/zh/answers/wechat-mcp/)
