wechat-download-api

MCP.Pizza Chef: tmwgsicp

This tool pulls full articles from any WeChat public account, images included, and lets your AI assistant search for, subscribe to, and read them right inside Claude, Cursor, or Cline. You can also package an entire account's back catalog into Markdown, Word, PDF, EPUB, Excel, or JSON files for offline reading or for feeding into another app. Setup requires installing the service yourself on a computer or server you control (using Docker), creating your own security token, and logging in with a WeChat account.

Files/PDF
Notes
Web/Research

Use This MCP server To

Ask my AI to summarize the newest posts from a WeChat account Subscribe to a WeChat public account and get new articles automatically Download an entire WeChat account's articles into one file Turn WeChat posts into an EPUB I can read on my phone Search for a WeChat public account by name Read a WeChat article's full text without opening the app Bring WeChat articles into my RSS reader

README

WeChat Download API

微信公众号文章获取 · RSS 订阅 · 多格式导出

完全开源 | 免费部署 | RSS 订阅 | 文章抓取 | 多格式导出 | 反风控

GitHub stars License Docker Pulls Python FastAPI

100% 开源,100% 免费。 代码完全公开,私有化部署无任何限制,不搞"开源"之名行收费之实。


功能特性

  • RSS 订阅 — 订阅任意公众号,自动定时拉取新文章(包含完整文章内容和图片),生成标准 RSS 2.0 源,接入 FreshRSS / Feedly 等阅读器即可使用;支持批量添加(粘多个公众号名称一次性订阅)
  • MCP · AI 客户端接入 — 内置 MCP 服务,Claude / Codex / Cline / Cursor 等 AI 客户端可直接搜索、订阅、读文章(6 个工具,静态 Token 鉴权,单用户自托管无需 OAuth)
  • 文章内容获取 — 通过 URL 获取文章完整内容(标题、作者、正文 HTML / 纯文本、图片列表)
  • 多格式导出 — 单篇 markdown 增量同步(带 YAML frontmatter,导入 Obsidian / Logseq);整号文章一键打包成 Markdown / HTML / Word / PDF / EPUB / Excel / JSON 7 种格式(Word/PDF/EPUB 图片内嵌离线可看),纯读本地库、不触发抓取
  • 反风控体系 — Chrome TLS 指纹模拟 + SOCKS5 代理池轮转 + 三层自动限频,有效对抗微信封控
  • 文章列表 & 搜索 — 获取任意公众号历史文章列表,支持分页和关键词搜索
  • 公众号搜索 — 按名称搜索公众号,获取 FakeID
  • 公众号主体信息 — 获取公众号认证主体、认证状态、原创文章数等详细信息
  • 扫码登录 — 微信公众平台扫码登录,凭证自动保存,4 天有效期
  • 图片代理 — 代理微信 CDN 图片,解决防盗链问题
  • Webhook 通知 — 登录过期提醒(提前24h/6h预警+已过期通知)、触发验证等事件自动推送(支持企业微信机器人)
  • API 文档 — 自动生成 Swagger UI / ReDoc,在线调试所有接口

wechat-download-api FAQ

Can I use this to summarize new WeChat posts automatically?
Yes — once you subscribe to an account, your AI assistant (Claude, Cursor, or Cline) can pull the newest articles and summarize them for you on request.
Can I use this to save WeChat articles for offline reading?
Yes — you can package an entire account's articles into a Word, PDF, or EPUB file with the pictures built in, so you can read it without an internet connection.
Which apps does this work with?
It connects to AI assistants like Claude, Cursor, and Cline, and its RSS feeds work with reader apps such as Feedly, Inoreader, or NetNewsWire.
Do I need an account or API key?
Yes — you need your own WeChat public account to log in with, plus a security code (called a token) that you create yourself during setup.
How hard is it to set up?
It takes some technical comfort. You, or someone helping you, need to install the service using Docker on a computer or server, then scan a WeChat QR code to log in.
Do I need my own website or server?
No — you can run it on your own computer and use it right away. You only need a public server if you want to check your subscriptions remotely, such as from your phone.
Will my login stay active forever?
No — the login lasts about four days. After that, you scan the WeChat QR code again to reconnect.
Can I use this to read a WeChat article's full text without opening WeChat?
Yes — you can pull an article's full text, author, and pictures by pasting its link into the tool or asking your AI to fetch it.