Wechat-CLI
Accesses and decrypts local WeChat 4.x data on macOS and Windows to provide structured chat history, contacts, media, and more for agents and users.
Wechat-CLI provides a powerful command-line interface (CLI) and an MCP server for macOS and Windows agents, designed to unlock and structure your local WeChat 4.x data. It securely reads messages, contacts, group chats, media, Moments (朋友圈), favorites, transfers, and red packets directly from your computer's WeChat database, outputting them as clean, structured JSON. Critically, all data processing occurs locally, ensuring no information is uploaded to the cloud, making it ideal for privacy-conscious users and AI agents requiring rich, on-device context.
Key Features
01Local data processing ensures privacy; no data is uploaded to the cloud
0239 GitHub stars
03Perform cross-session full-text search on local WeChat data
04Support for macOS and Windows with simple installation scripts
05Output structured JSON data for easy programmatic consumption
06Read WeChat chat history, contacts, groups, media, Moments, favorites, transfers, and red packets
Use Cases
01Enable power users to access and analyze their personal WeChat history and media
02Export specific chat sessions to formats like JSONL, Markdown, or HTML
03Provide rich, local WeChat data context to AI agents