Install
openclaw skills install readgzh让 AI 读懂微信公众号。自研 7 阶段提取管线,99.89% 穿透反爬,Token 消耗降低 50–87%。支持 ChatGPT、Claude、Perplexity、Gemini 等平台无缝引用。| Let AI read and understand WeChat Official Accounts. Sel...
openclaw skills install readgzhReadGZH 是一款专为 AI 智能体设计的微信公众号内容解析工具。它通过服务端 API 将复杂的公众号 HTML 转换为纯净、结构化的 Markdown 内容,大幅节省 Token 消耗。
直接对你的 AI 助手下令:
"帮我读一下这篇微信公众号文章:[链接]"
| 工具 | 说明 |
|---|---|
| readgzh.read | 通过 URL 读取微信文章全文 |
| readgzh.get | 通过 slug 获取已缓存文章(支持分页和摘要) |
| readgzh.search | 按关键词搜索已缓存文章 |
| readgzh.list | 列出最近缓存的文章 |
| 参数 | 说明 |
|---|---|
| url | 微信文章链接(mp.weixin.qq.com) |
| s | 文章 slug(用于读取已缓存文章) |
| part | 分块编号(长文章自动拆分约 40KB/块,从 1 开始) |
| format | 设为 text 返回纯 Markdown(推荐 AI 使用) |
| mode | 设为 summary 返回 AI 结构化摘要(Pro 专属) |
检查 API 服务是否在线:
HEAD https://api.readgzh.site/rd
返回 200 OK 即表示服务正常。
在 OpenClaw 配置中添加:
{
"mcpServers": {
"readgzh": {
"url": "https://api.readgzh.site/mcp-server"
}
}
}
# 方式一:GET 直接抓取(推荐 AI 使用)
curl "https://api.readgzh.site/rd?url=https://mp.weixin.qq.com/s/xxxxx" \
-H "Authorization: Bearer <YOUR_API_KEY>"
# 方式二:POST 抓取并缓存
curl -X POST "https://api.readgzh.site/rd" \
-H "Content-Type: application/json" \
-d '{"url": "https://mp.weixin.qq.com/s/xxxxx"}'
# 读取已缓存文章(Markdown 格式)
curl "https://api.readgzh.site/rd?s=article-slug&format=text" \
-H "Authorization: Bearer <YOUR_API_KEY>"
# 长文分页读取(第 2 部分)
curl "https://api.readgzh.site/rd?s=article-slug&part=2" \
-H "Authorization: Bearer <YOUR_API_KEY>"
# AI 智能摘要(Pro 专属)
curl "https://api.readgzh.site/rd?s=article-slug&mode=summary" \
-H "Authorization: Bearer <YOUR_API_KEY>"
| 类型 | 消耗 |
|---|---|
| 简单文章(< 5 图) | 1 credit |
| 复杂文章(≥ 5 图) | 2 credits |
| 缓存文章读取 | 免费 |
| 免费额度 | 每日 30 credits(需在控制台点击「领取今日积分」) |
| Pro 订阅 | 每月最高 2,000 credits(自动发放) |
| 状态码 | 含义 |
|---|---|
| 401 | 未提供 API Key 或 Key 无效 |
| 402 | API Key 积分已用完,响应包含 pricing_url 引导充值 |
| 403 | 功能需要 Pro 套餐(如 ?mode=summary) |
| 429 | 超出频率限制(匿名用户每日 10 次) |
ReadGZH is a WeChat article parsing tool designed for AI agents. It converts complex WeChat HTML into clean, structured Markdown, reducing Token consumption by 50-87%.
Just tell your AI assistant:
"Read this WeChat article: [link]"
| Tool | Description |
|---|---|
| readgzh.read | Read a WeChat article by URL |
| readgzh.get | Get a cached article by slug (supports pagination and summary) |
| readgzh.search | Search cached articles by keyword |
| readgzh.list | List recently cached articles |
| Parameter | Description |
|---|---|
| url | WeChat article URL (mp.weixin.qq.com) |
| s | Article slug (for cached articles) |
| part | Chunk number (long articles auto-split ~40KB/chunk, starting from 1) |
| format | Set to text for plain Markdown (recommended for AI) |
| mode | Set to summary for AI-generated structured summary (Pro only) |
Check if the API service is online:
HEAD https://api.readgzh.site/rd
Returns 200 OK when service is operational.
Add to OpenClaw config:
{
"mcpServers": {
"readgzh": {
"url": "https://api.readgzh.site/mcp-server"
}
}
}
# Method 1: GET direct fetch (recommended for AI)
curl "https://api.readgzh.site/rd?url=https://mp.weixin.qq.com/s/xxxxx" \
-H "Authorization: Bearer <YOUR_API_KEY>"
# Method 2: POST scrape and cache
curl -X POST "https://api.readgzh.site/rd" \
-H "Content-Type: application/json" \
-d '{"url": "https://mp.weixin.qq.com/s/xxxxx"}'
# Read cached article (Markdown format)
curl "https://api.readgzh.site/rd?s=article-slug&format=text" \
-H "Authorization: Bearer <YOUR_API_KEY>"
# Paginated reading (part 2 of long article)
curl "https://api.readgzh.site/rd?s=article-slug&part=2" \
-H "Authorization: Bearer <YOUR_API_KEY>"
# AI summary (Pro only)
curl "https://api.readgzh.site/rd?s=article-slug&mode=summary" \
-H "Authorization: Bearer <YOUR_API_KEY>"
| Type | Cost |
|---|---|
| Simple article (< 5 images) | 1 credit |
| Complex article (>= 5 images) | 2 credits |
| Cached article read | Free |
| Free tier | 30 credits/day (must click "Claim Today's Credits" in dashboard) |
| Pro subscription | Up to 2,000 credits/month (auto-issued) |
| Status | Meaning |
|---|---|
| 401 | Missing or invalid API Key |
| 402 | API Key credits exhausted (response includes pricing_url) |
| 403 | Pro feature required (e.g., ?mode=summary) |
| 429 | Rate limit exceeded (10/day for unauthenticated) |