wx-cli
View on GitHubWeChat macOS database decryption and query tool
Rust CLI and local REST/SSE service that decrypts and queries the macOS WeChat database, exposing chat history, contacts, search and live message events to agents. Ships an Agent Skill for Claude Code, Codex and Cursor; keys stay local and SIP must be disabled.
Use Cases
Give agents long-term WeChat chat memory and contact contextFull-text search across all WeChat conversationsSubscribe to new messages in real time via CLI watch or SSEExport conversations to JSON/text for archiving and reportingBuild personal/team WeChat knowledge base, CRM or sales assistantExtract todos, promises and follow-ups from chatsAuto-generate daily/weekly reports and client meeting notesKeyword or contact monitoring to trigger alerts and workflowsBatch timeline reads for memory backfill and archivalDecrypt and read WeChat images, voice and video media
Built With
- Language
- Rust
- Frameworks
- Claude Code · Codex · Cursor
Tags
wechat · macos · sqlcipher · cli · rust · agent-skill · sse · rest-api · local-first · privacy · chat-search · real-time-monitoring · sqlite · contacts · media-decryption · llm-memory