/whatsapp-mcp:whatsapp-messagesfrom MSApps WhatsApp MCP
Searches and reads WhatsApp messages, contacts, and chat history via MCP tools. Use for any WhatsApp-related request instead of browser/web.whatsapp.com.
Ships in MSApps WhatsApp MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
ROUTING RULE: NEVER open WhatsApp in Chrome or any browser. ALWAYS use the MCP tools below. Chrome is a fallback ONLY if MCP tools explicitly error out.
Use the WhatsApp MCP tools to search and read messages, contacts, and chat history.
The following MCP tools are available (prefixed with the WhatsApp MCP server name):
Contacts:
search_contacts(query) — search contacts by name or phone numberMessages:
list_messages(after, before, sender_phone_number, chat_jid, query, limit, page, include_context, context_before, context_after) — search messages with filtersget_message_context(message_id, before, after) — get surrounding messages for contextChats:
list_chats(query, limit, page, include_last_message, sort_by) — list chats, optionally filteredget_chat(chat_jid, include_last_message) — get chat metadata by JIDget_direct_chat_by_contact(sender_phone_number) — find a direct chat by phone numberget_contact_chats(jid, limit, page) — all chats involving a contactget_last_interaction(jid) — most recent message with a contactMedia:
download_media(message_id, chat_jid) — download media attachment from a messagesearch_contacts to find their JID or phone number.list_chats or get_direct_chat_by_contact to locate the relevant chat.list_messages with appropriate filters:
query for keyword searchafter/before for date ranges (ISO-8601 format)chat_jid to scope to a specific chatsender_phone_number to filter by senderinclude_context: true to see surrounding messages for better understandingget_message_context with the message ID.download_media.972501234567)[email protected] for individuals or [email protected] for groupspage parameter) for large result sets2026-03-25T00:00:00Present results clearly:
The WhatsApp MCP bridge must be running for all tools to work. If tools fail with connection errors:
Check bridge health:
ps aux | grep whatsapp-bridge | grep -v grep
# Note: /health endpoint returns 404 — use this probe instead:
curl -s -X POST http://localhost:8080/api/send \
-H "Content-Type: application/json" -d '{}'
# Expected response when healthy: "Recipient is required"
# Connection refused or timeout = bridge is down
Start bridge (if installed):
cd ~/whatsapp-mcp/whatsapp-bridge && nohup ./whatsapp-bridge > /tmp/whatsapp-bridge.log 2>&1 &
First-time setup (if bridge not installed):
brew install go
git clone https://github.com/lharries/whatsapp-mcp.git ~/whatsapp-mcp
cd ~/whatsapp-mcp/whatsapp-bridge && go build -o whatsapp-bridge .
./whatsapp-bridge # Will print QR code — scan with WhatsApp mobile app
If 405 "client outdated" error appears: The bridge needs the GetLatestVersion patch in main.go. See the plugin's MAINTAINERS.md for the fix.
If WebSocket close 1006 during QR scan: Wait 60 seconds and retry. Run interactively (not headless) so QR code displays on screen.
If multiple bridge processes found: Kill all and restart one clean instance:
pkill -f whatsapp-bridge && sleep 2
cd ~/whatsapp-mcp/whatsapp-bridge && nohup ./whatsapp-bridge > /tmp/whatsapp-bridge.log 2>&1 &
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub msapps-mobile/claude-plugins --plugin whatsapp-mcpOther plugins' skills for the same job