All How-To Guides

2 Ways to Use WhatsApp with Claude Code

How to use WhatsApp with Claude Code?

2 MCP servers featured

WhatsApp is one of the most popular messaging platforms worldwide. MCP servers can connect Claude to your WhatsApp for searching messages, accessing contacts, and sending content. Here are the options for WhatsApp integration.

Recommended MCP Servers

WhatsApp MCP

lharries/whatsapp-mcp

>200

Search personal WhatsApp messages, contacts, and send messages to individuals or groups.

Key Features

  • Search messages
  • Access contacts
  • Send messages
  • Group messaging

Installation

npx whatsapp-mcp

The WhatsApp MCP provides access to your personal WhatsApp messages and contacts. Search through conversation history, send messages, and automate common WhatsApp tasks.

Best for: Personal WhatsApp automation View on GitHub

Fetch MCP + WhatsApp Business API

anthropics/mcp-server-fetch

>2k

Use the official WhatsApp Business API for business messaging.

Key Features

  • Official Business API
  • Template messages
  • Customer messaging
  • Verified sender

Installation

npx @modelcontextprotocol/server-fetch

For business use cases, the WhatsApp Business API provides official, verified messaging. Use Fetch MCP to call the API for customer notifications, support messages, and business communication.

Best for: Business messaging View on GitHub

Quick Comparison

MCPStarsBest ForProsCons
WhatsApp MCP>200Personal useFull message accessUnofficial
Business API>2kBusinessOfficial, verifiedBusiness setup required

Getting Started

To use WhatsApp with Claude Code:

  1. For personal WhatsApp, install WhatsApp MCP:

    npx whatsapp-mcp
    
  2. For business use, set up the WhatsApp Business API and use Fetch MCP.

Example prompt: "Search my WhatsApp messages for conversations about the meeting next week."

Related Guides