whatsapp-mcp

eddmann/whatsapp-mcp

3.2

If you are the rightful owner of whatsapp-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A Model Context Protocol (MCP) server for WhatsApp integration, enabling interaction with WhatsApp through Claude and other LLMs.

Tools

Functions exposed to the LLM to take actions

list_chats

List WhatsApp conversations with filtering, sorting, and pagination.

get_chat

Get detailed information about a specific chat by JID.

search_contacts

Search for contacts by name or phone number.

get_direct_chat_by_contact

Get direct message chat by phone number.

get_contact_chats

List all chats (DMs and groups) involving a specific contact.

list_messages

List messages with powerful filtering (date range, sender, chat, content).

get_message_context

Get surrounding messages around a specific message for conversation context.

get_last_interaction

Get the most recent message with a specific contact.

search_messages

Full-text search across all messages using FTS5 with advanced query syntax.

send_message

Send text, media, or both to contacts/groups (supports fuzzy name matching).

download_media

Download media files (image/video/audio/document) from messages to local storage.

get_connection_status

Check WhatsApp connection status, login state, and database statistics.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources