WhatsApp MCP server. Send and read WhatsApp messages from any AI assistant that supports MCP — Claude desktop, Claude Code, OpenClaw, and more.
macOS / Linux:
curl -sSL https://raw.githubusercontent.com/toloco/whasapo/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/toloco/whasapo/main/install.ps1 | iexThis will:
- Download the latest binary for your platform
- Configure the Claude desktop app
- Walk you through linking your WhatsApp account (QR code scan)
After install, restart your AI app.
The installer configures this automatically. If you need to do it manually, add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"whatsapp": {
"command": "~/.whasapo/whasapo",
"args": ["serve"]
}
}
}Restart Claude Desktop. The WhatsApp tools will be available immediately.
Add the MCP server to your project or global settings:
claude mcp add whatsapp ~/.whasapo/whasapo serveOr add to ~/.claude/settings.json:
{
"mcpServers": {
"whatsapp": {
"command": "~/.whasapo/whasapo",
"args": ["serve"]
}
}
}In OpenClaw settings, add a new MCP server:
- Name: whatsapp
- Command:
~/.whasapo/whasapo - Arguments:
serve
Or add to your OpenClaw config file:
{
"mcpServers": {
"whatsapp": {
"command": "~/.whasapo/whasapo",
"args": ["serve"]
}
}
}Whasapo is a standard MCP server using stdio transport. Point any MCP client at:
command: ~/.whasapo/whasapo
args: serve
Ask your AI assistant things like:
- "Show me my recent WhatsApp messages"
- "Send a WhatsApp message to John saying I'll be 10 minutes late"
- "What messages did I get in the family group?"
- "Find my contact named Sarah"
- "Reply to Mom's last message saying thanks"
- "Summarize what I missed in the work group chat"
| Tool | Description |
|---|---|
send_message |
Send a text message to a contact or group |
list_chats |
List recent chats with last message preview |
get_messages |
Get messages, optionally filtered by chat |
search_contacts |
Search contacts by name or phone number |
whasapo pair Link your WhatsApp account (QR code)
whasapo serve Start the MCP server (your AI app does this automatically)
whasapo status Check if everything is working
whasapo update Update to the latest version
whasapo uninstall Remove whasapo completely
whasapo version Print version
"Claude doesn't show WhatsApp tools" Restart the app after installing.
"Can't be opened because Apple cannot check it for malicious software" Run this, then try again:
xattr -d com.apple.quarantine ~/.whasapo/whasapo"Connection failed" or "not paired" Your WhatsApp link may have expired. Re-pair:
whasapo pair"No messages found" Messages from before the first install won't appear. Once installed, messages are stored persistently and survive restarts.
whasapo uninstallOr remotely:
curl -sSL https://raw.githubusercontent.com/toloco/whasapo/main/install.sh | bash -s -- --uninstallRequires Go 1.23+.
make build # build for your machine → bin/whasapo
make release # macOS universal binary → dist/whasapo-VERSION-macos.zip
make release-all # all platforms → dist/whasapo-VERSION-{macos,linux,windows}.*Whasapo is an MCP server that connects to WhatsApp using the whatsmeow library — the same protocol the official WhatsApp apps use.
Your WhatsApp session is stored locally in ~/.whasapo/session.db. Messages are persisted in SQLite so they survive restarts. No data is sent to any third-party server.