whatsapp-mcp
by felipeadeildo·★ 70·Score 45
WhatsApp MCP server integrates WhatsApp conversations with AI assistants through MCP tools, enabling message reading, searching, and sending.
Overview
This MCP server bridges WhatsApp and AI assistants by exposing 7 tools, 4 prompts, and 4 resources through the Model Context Protocol. It connects to WhatsApp Web via the unofficial whatsmeow library, storing all messages locally in SQLite. The server provides comprehensive search capabilities, timezone support, and secure API key authentication. With both Docker and local installation options, it integrates seamlessly with MCP-compatible clients like Claude Desktop.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
Choose this server when you need AI assistance to interact with your WhatsApp conversations, especially for summarizing, searching, or automating responses across multiple chats.
When NOT to choose this
Avoid this if you need enterprise-level WhatsApp integration, official API support, or if you're concerned about using unofficial WhatsApp APIs that may violate terms of service.
Tools this server exposes
7 tools extracted from the READMElist_chatsBrowse WhatsApp conversations ordered by recent activity
get_chat_messagesRead messages from a specific chat with pagination and sender filtering
search_messagesSearch across all chats with pattern matching and wildcards
find_chatLocate a chat by name with fuzzy search support
send_messageSend WhatsApp messages to any chat or group
load_more_messagesFetch older message history from WhatsApp servers on demand
get_my_infoGet your WhatsApp profile information including JID, name, status, and picture
Comparable tools
Installation
Docker Installation (Recommended)
- Clone and configure:
git clone https://github.com/felipeadeildo/whatsapp-mcp
cd whatsapp-mcp
cp .env.example .env
# Edit .env with your settings- Start the server:
docker compose up -d- Link WhatsApp (scan QR code from logs)
- Connect to Claude Desktop:
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"whatsapp": {
"url": "http://localhost:8080/mcp/your-secret-api-key",
"transport": "http"
}
}
}FAQ
- Is this WhatsApp official?
- No, this is an unofficial project using WhatsApp's unofficial Web API. It's not affiliated with WhatsApp or Meta.
- Where are messages stored?
- All messages are stored locally in SQLite databases in the ./data/ directory. Media files are stored in ./data/media/
- How does the authentication work?
- You scan a QR code with WhatsApp to link the device, then use an API key for MCP client authentication.
Compare whatsapp-mcp with
Last updated · Auto-generated from public README + GitHub signals.