Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Weflow CLI

MCP server by zhuobichen Verified · npm:weflow-cli

WeFlow CLI reads WeChat chat records, favorites and official account articles from the local machine on Windows and Linux. It exposes these data sources through MCP so AI editors such as Claude Code can query them.

  • Score 82
  • 217 stars
  • 2.8k a week
  • MIT
  • Updated

Install Weflow CLI

Built from the published package, never by AI.

claude mcp add weflow-cli -- npx -y weflow-cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Weflow CLI in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the weflow-cli block.

About

WeFlow CLI is a command-line tool and MCP server that works with WeChat data stored on the user's own computer. It can list sessions, query chat messages, export conversations to HTML, Excel, TXT, JSON or Markdown, and read WeChat favorites. It can also build a daily digest of official account articles with optional AI summaries, and create a local knowledge base that supports semantic search and RAG question answering.

The project states that it works locally by default and includes no telemetry. Network requests happen only when the user enables an online service or a cloud AI provider. The source says the database is opened read-only and is never uploaded as a whole. It is aimed at users who want to query their own WeChat history, and the source restricts use to data the user owns or is authorized to access.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Chat recordsLists sessions and contacts, and queries chat messages from the local WeChat database.
  • Chat exportExports conversations to Markdown, JSON, TXT, HTML or Excel, with images and files where available.
  • WeChat favoritesReads saved favorites and supports type filters and keyword search.
  • Official account dailyBuilds a daily digest of official account articles with AI summaries and categories.
  • Knowledge baseSupports semantic search, RAG question answering and a concept wiki built from notes.
  • Moments and readingQueries a local cache of Moments posts and WeChat Reading shelf and notes.
  • Todos and memoryLists extracted todos and reads the assistant's long-term memory entries.
  • Write actions with confirmWrite-type calls require an explicit confirm. The source states that sending messages, publishing articles and changing config have no tools.

What you need

  • Node.js 22.13 or newer
  • Python 3.10 or newer
  • Logged-in WeChat desktop client (Windows verified, Linux with a login authorization step)
  • DeepSeek API key or another OpenAI-compatible endpoint, for AI features

Try asking

  • 我最近都在忙什么?
  • 总结我和 XX 的聊天
  • 收藏里有哪些关于 AI 的文章?

Good to know

  • The source says it is not purely read-only because some write-type calls exist, though they require confirm.
  • macOS initialization has not been verified on a real device.
  • Other Linux distributions and WeChat 4.2 or newer are not verified and are not guaranteed to work.
  • Third-party tools may trigger WeChat account risk controls, restrictions or bans, according to the source.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Weflow CLI

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Weflow CLI: common questions

Does WeFlow CLI upload my chat records?

The source says data is not uploaded automatically. Local processing is the default, and only features the user enables, such as cloud AI or the official account fetch, make network requests.

Does WeFlow CLI need root or administrator rights?

The source says reading, querying, exporting and daily digests do not need root or administrator rights. On Linux, the passphrase capture step asks for sudo once, and --no-sudo can disable it.

Which WeChat versions are verified?

The source lists WeChat 4.1.15.56 on Windows 10 and 11 x64, and WeChat 4.1.13.26 on Ubuntu 24.04. Other versions, including 4.2 and newer, are not verified.

How do I install Weflow CLI?

In Claude Code run claude mcp add weflow-cli -- npx -y weflow-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Weflow CLI the official server?

Weflow CLI is published by npm:weflow-cli from its verified domain in the official MCP Registry.

Is Weflow CLI free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Weflow CLI safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Weflow CLI?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Weflow CLI work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Weflow CLI Install

Add to stack

Loading.