WhatsApp MCP Server provides a secure bridge to your personal WhatsApp account, enabling AI assistants to search messages, manage contacts, and send messages through standardized tools. The implementation uses a two-component architecture with a Go-based WhatsApp bridge that connects to the WhatsApp web API via the whatsmeow library, storing all messages locally in SQLite, and a Python MCP server that exposes functionality through nine specialized tools. Designed for privacy, it keeps your message history on your device while allowing controlled AI access to your conversations for tasks like finding past information or sending new messages.
Search for contacts by name or phone number.
Retrieve messages with optional filters and context.
List available chats with metadata.
Get information about a specific chat.
Find a direct chat with a specific contact.
List all chats involving a specific contact.
Get the most recent message with a contact.
Retrieve context around a specific message.
Send a WhatsApp message to a specified phone number or group JID.
Send a file (image, video, raw audio, document) to a specified recipient.
Send an audio file as a WhatsApp voice message (requires the file to be an .ogg opus file or ffmpeg must be installed).
Download media from a WhatsApp message and get the local file path.
No reviews yet. Be the first to review!
Sign in to join the conversation