claude-channel-weixin
Enables Claude Code to receive and reply to WeChat messages via the WeChat iLink Bot API, using long-polling without requiring a public webhook.
README
claude-channel-weixin
WeChat (微信) channel plugin for Claude Code — receive and reply to WeChat messages directly in your terminal.
Uses the WeChat iLink Bot API with HTTP long-poll. No public webhook needed.
Prerequisites
- Claude Code v2.1.80+
- Bun runtime
Install
# Add the marketplace (one-time)
claude plugin marketplace add m1heng/claude-plugins
# Install the plugin
claude plugin install weixin@m1heng-plugins
Configure
Login with QR code
In Claude Code, run:
/weixin:configure login
This will fetch a QR code from the WeChat iLink Bot API. Scan it with WeChat and confirm on your phone. Credentials are saved automatically.
Start with channels
claude --dangerously-load-development-channels plugin:weixin@m1heng-plugins
The
--dangerously-load-development-channelsflag is required during the channels research preview for non-official plugins.
Pair your WeChat account
- Send a message to the bot on WeChat — it replies with a pairing code
- In Claude Code, run
/weixin:access pair <code>to approve
Skills
| Skill | Description |
|---|---|
/weixin:configure |
QR code login, check channel status |
/weixin:access |
Manage pairing, allowlists, DM policy |
How it works
The plugin runs a local MCP server that long-polls the WeChat iLink Bot API for new messages. No public URL or webhook needed — everything runs locally. Messages from allowed senders are forwarded to your Claude Code session; Claude replies back through the same API.
Key difference from Telegram/Feishu
WeChat requires a context_token to be passed back when replying. This token comes from the inbound message and is automatically included in the channel notification metadata. Claude passes it back through the reply tool.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.