MCP Catalogs
Home

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.

communicationproductivityai-llm
19
Forks
18
Open issues
4 mo ago
Last commit
2d ago
Indexed

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:

you:Search across all WhatsApp messages for specific people or topics
you:Have AI assistants summarize or analyze conversations
you:Let AI draft and send WhatsApp messages on behalf of users
you:Integrate WhatsApp data into broader AI workflows
you:Is this WhatsApp official?
you:Where are messages stored?
you:How does the authentication work?

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 README
  • list_chats

    Browse WhatsApp conversations ordered by recent activity

  • get_chat_messages

    Read messages from a specific chat with pagination and sender filtering

  • search_messages

    Search across all chats with pattern matching and wildcards

  • find_chat

    Locate a chat by name with fuzzy search support

  • send_message

    Send WhatsApp messages to any chat or group

  • load_more_messages

    Fetch older message history from WhatsApp servers on demand

  • get_my_info

    Get your WhatsApp profile information including JID, name, status, and picture

Comparable tools

telegram-mcpsignal-mcpwhatsapp-web-apimcp-server-for-messaging

Installation

Docker Installation (Recommended)

  1. Clone and configure:
git clone https://github.com/felipeadeildo/whatsapp-mcp
cd whatsapp-mcp
cp .env.example .env
# Edit .env with your settings
  1. Start the server:
docker compose up -d
  1. Link WhatsApp (scan QR code from logs)
  1. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.