claude-whatsapp-mcp
Provides tools for interacting with WhatsApp, allowing users to read chat messages, send text and file messages, search contacts, and monitor connection status.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-whatsapp-mcpsend a message to Sarah saying I'll be 10 minutes late"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-whatsapp-mcp
WhatsApp MCP server for Claude Code. Read messages, send replies, search contacts — all from your terminal.
Built with whatsapp-web.js and the Model Context Protocol.
What it does
Give Claude Code direct access to your WhatsApp:
Read chats — "check my unreads", "what did Ali say?"
Send messages — "send John the proposal PDF"
Search contacts — "find Sarah's number"
Connection management — QR code auth, session persistence
Related MCP server: whatsapp-claude-code
Setup
1. Clone and install
git clone https://github.com/ferazfhansurie/claude-whatsapp-mcp.git
cd claude-whatsapp-mcp
npm install2. Add to Claude Code
Add this to your Claude Code MCP settings (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"whatsapp": {
"command": "node",
"args": ["/path/to/claude-whatsapp-mcp/src/index.js"]
}
}
}3. Connect WhatsApp
In Claude Code, just say:
connect to whatsappClaude will initialize the server and show you a QR code. Scan it with your phone (WhatsApp > Settings > Linked Devices > Link a Device).
Your session persists in .wwebjs_auth/ — you only need to scan once.
Tools
Tool | Description |
| Connect to WhatsApp or check status. Shows QR if needed. |
| Send text + optional file attachment |
| List recent chats with unread counts |
| Read messages from a specific chat |
| Search contacts by name or number |
| Connection status + unread summary |
Usage examples
# Check unreads
"do I have any unread WhatsApp messages?"
# Read a specific chat
"what's the latest in my family group?"
# Send a message
"send Ali a message saying the meeting is at 3pm"
# Send a file
"send the invoice PDF to +60123456789"
# Search contacts
"find contacts named Sarah"Requirements
Node.js 18+
Claude Code with MCP support
A WhatsApp account
How it works
The server runs whatsapp-web.js locally on your machine — the same tech as WhatsApp Web. Your messages stay on your device. Nothing is sent to any external server.
On first run, it generates a QR code for linking. After that, the session is cached and reconnects automatically.
License
MIT
Built by Adletic Agency
This server cannot be deployed
Maintenance
Related MCP Connectors
- WhatSyncOAuthapp.whatsync
WhatsApp for Claude, ChatGPT or any AI agent: search, reply and send. Personal or Business API.
Let Claude or ChatGPT search, read and send your WhatsApp messages over MCP. OAuth sign-in.
Your own WhatsApp in Claude and ChatGPT: read chats, draft replies, send messages you approve.
Ask questions across your WhatsApp inbox from Claude, ChatGPT, Cursor or any MCP client.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables Claude to interact with WhatsApp on macOS through the Model Context Protocol. It allows reading messages, searching contacts, listing chats, and sending replies via natural conversation.841 PyPI2MIT
- AlicenseNot gradedqualityDmaintenanceEnables bidirectional communication with Claude via WhatsApp, allowing commands, file sharing, and persistent context without needing Claude Code open.5 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Code to interact with WhatsApp, allowing reading messages, sending messages, and daily summaries using a local WhatsApp Web session.-
- AlicenseNot gradedqualityDmaintenanceConnects WhatsApp to Claude Code, enabling message reading, audio transcription, image analysis, and message sending with full codebase context.36 npmMIT