whatsapp-mcp
by verygoodplugins·★ 49·Score 45
WhatsApp MCP server enables Claude to read and send WhatsApp messages with full media support.
Overview
This MCP server provides comprehensive WhatsApp integration, allowing Claude to search contacts, read and send messages (text, images, videos, documents, and audio), manage chats, and download media. It consists of two components: a Go bridge that connects to WhatsApp and a Python MCP server that exposes the functionality to Claude. All messages are stored locally in SQLite and only shared with Claude when explicitly requested.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need to integrate WhatsApp functionality with Claude for automated messaging, archiving, or AI-powered communication workflows.
When NOT to choose this
Avoid this if you need end-to-end encryption assurance beyond local storage, or if you're looking for an enterprise-grade solution with multiple-user support.
Tools this server exposes
12 tools extracted from the READMEsearch_contactsquery: stringSearch contacts by name or phone number
get_contactidentifier: stringResolve a WhatsApp contact name from a phone number, LID, or full JID
list_messageschat_jid?: string, limit?: number, before_date?: string, after_date?: string, sort_by?: 'newest' | 'oldest'Get messages with filters, date ranges, and sorting
send_messagerecipient: string, message: stringSend a text message to a contact or group
send_filerecipient: string, file_path: string, caption?: stringSend a media file (image, video, document)
send_audio_messagerecipient: string, file_path: stringSend a voice message (automatically converts to Opus .ogg format)
download_mediamessage_id: string, chat_jid: stringDownload media from a received message
list_chatslimit?: numberList all chats with metadata
get_chatjid: stringGet specific chat metadata by JID
get_direct_chat_by_contactphone: stringFind a direct message chat with a contact
get_message_contextmessage_id: string, chat_jid: string, before?: number, after?: numberGet messages around a specific message for context
get_last_interactionphone: stringGet the last message exchanged with a contact
Comparable tools
Installation
Installation
- **Clone the repository**
``bash git clone https://github.com/verygoodplugins/whatsapp-mcp.git cd whatsapp-mcp ``
- **Start the WhatsApp bridge**
``bash cd whatsapp-bridge go run . `` Scan the QR code with WhatsApp on your phone to authenticate.
- **Configure Claude Desktop**
Add to ~/Library/Application Support/Claude/claude_desktop_config.json: ``json { "mcpServers": { "whatsapp": { "command": "uv", "args": [ "--directory", "/path/to/whatsapp-mcp/whatsapp-mcp-server", "run", "main.py" ] } } } ``
FAQ
- What type of messages can I read and send?
- You can read and send text messages, images, videos, documents, and audio messages. The server also supports voice messages that are automatically converted to Opus .ogg format.
- How are messages stored and secured?
- All messages are stored locally in SQLite. The bridge uses bearer token authentication for API calls and confines media file access to specified directories. Messages are only sent to Claude when you explicitly allow it.
Compare whatsapp-mcp with
Last updated · Auto-generated from public README + GitHub signals.