whatsapp-mcp

Search, read, and send WhatsApp messages through an MCP server

Local

Install

See setup instructions on x.com

What it does

This is a Model Context Protocol server that connects to a personal WhatsApp account through the WhatsApp web multidevice API. It lets a compatible MCP client search contacts, list and read chats and messages, and retrieve context around a specific message. It can also send text messages, files, and voice notes to individuals or groups, and download media referenced in messages.

It is aimed at people who want an AI assistant to work with their own WhatsApp history while keeping the data on their machine. Message history is stored in a local SQLite database; data reaches the model only when tools are invoked. Setup has two parts: a Go bridge that handles QR-code login, and a Python server launched by the client. Supported clients listed are Claude Desktop and Cursor. Audio sending works best with .ogg Opus files, and FFmpeg is optional for conversion.

Limitations include periodic re-authentication roughly every 20 days, a WhatsApp linked-device limit, and slow initial history loading. On Windows, CGO and a C compiler are required. The documentation warns that prompt injection could expose private data.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
6,944
Last push
Jul 13, 2025
License
MIT
Archived
No

Other WhatsApp MCP servers

Compare servers
  • Run AI agent teams locally or offline, with MCP support for your own clients.

    • Discord
    • Ollama
    • Slack
    Updated
  • One fast workspace for email, chat, docs, tasks, calls, CRM, and agents

    • GitHub
    • WhatsApp
    Updated
  • ChatbotX

    MCPRemote

    Self-hosted omnichannel chat marketing platform with MCP access

    • Telegram
    • WhatsApp
    • n8n
    Updated
  • Self-hostable multi-tenant WhatsApp and Instagram messaging API with MCP server

    • WhatsApp
    Updated
  • A lean, single-binary AI bot with end-to-end encryption and an MCP server.

    • Discord
    • Slack
    • Telegram
    Updated
  • Read, search, and send WhatsApp messages from MCP clients like Claude Desktop and Cursor

    • WhatsApp
    Updated

FAQ

What license does whatsapp-mcp use?
MIT
Does whatsapp-mcp run locally or remotely?
It runs locally.
Is whatsapp-mcp an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/whatsapp-mcp-9"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options