Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
whatsapp, messaging, chat-bridge, remote-control, permission-relay, notifications, baileys, channel ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A custom Claude Code Channels plugin that adds WhatsApp as a messaging channel, using Baileys v7 (WhatsApp Web Multi-Device protocol).
Note: This is a personal project that I've open-sourced for the community. It works for my 24/7 setup and I'm sharing it as-is. PRs are welcome.
WhatsApp (phone)
↕ Baileys v7.0.0-rc.9 (Multi-Device protocol)
server.cjs (MCP server with channel + permission relay capabilities)
↕ notifications/claude/channel
Claude Code (receives and responds to WhatsApp messages)
The plugin runs as an MCP server that connects to WhatsApp via Baileys, receives incoming messages, and pushes them to Claude Code as channel notifications. Claude can reply using the reply tool.
git clone https://github.com/diogo85/claude-code-whatsapp.git
cd claude-code-whatsapp
npm install
Add to your project's .mcp.json:
{
"mcpServers": {
"whatsapp": {
"command": "node",
"args": ["/path/to/claude-code-whatsapp/server.cjs"],
"env": {
"WHATSAPP_STATE_DIR": "~/.claude/channels/whatsapp"
}
}
}
}
mkdir -p ~/.claude/channels/whatsapp/auth
WHATSAPP_STATE_DIR=~/.claude/channels/whatsapp node pair.cjs
The script shows both a QR code and a pairing code. On your phone:
Wait for "✅ WhatsApp connected!" before closing.
WHATSAPP_STATE_DIR=~/.claude/channels/whatsapp \
claude --dangerously-load-development-channels "server:whatsapp"
On the first run, select "I am using this for local development" when prompted.
Create ~/.claude/channels/whatsapp/access.json:
{
"allowFrom": ["5511999999999"],
"allowGroups": false,
"allowedGroups": [],
"requireAllowFromInGroups": false
}
allowFrom: [] (empty) = accept messages from anyoneallowFrom: ["5511999999999"] = only from this numberallowGroups: true + allowedGroups: ["[email protected]"] = specific groups| Tool | Description |
|---|---|
reply | Send text + file attachments (images, audio, video, documents) |
react | Add an emoji reaction to a message |
download_attachment | Download media from a received message |
fetch_messages | List recent messages from session cache |
When Claude Code needs permission to run a tool, it can send the request to your WhatsApp:
🔐 Permission request [tbxkq]
Bash: rm -rf /tmp/foo
Reply "yes tbxkq" or "no tbxkq"
Reply from your phone and Claude Code will proceed (or stop). The plugin reacts with ✅ or ❌ to confirm.
Requires Claude Code v2.1.81+ and the claude/channel/permission capability (enabled by default in v0.0.3).
This plugin was rewritten based on analysis of OpenClaw's WhatsApp extension, which runs 24/7 without issues. Key patterns:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (diogo85/claude-code-whatsapp) — no native marketplace selected
npx claudepluginhub p/diogo85-whatsappPlugins from other owners that cover similar ground