# Claude Whatsapp Mcp

> WhatsApp MCP server for Claude Code — chat, send messages, and manage WhatsApp directly from your terminal.

- **Type:** MCP server
- **Install:** `agentstack add mcp-ferazfhansurie-claude-whatsapp-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ferazfhansurie](https://agentstack.voostack.com/s/ferazfhansurie)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ferazfhansurie](https://github.com/ferazfhansurie)
- **Source:** https://github.com/ferazfhansurie/claude-whatsapp-mcp

## Install

```sh
agentstack add mcp-ferazfhansurie-claude-whatsapp-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# claude-whatsapp-mcp

WhatsApp MCP server for Claude Code. Read messages, send replies, search contacts — all from your terminal.

Built with [whatsapp-web.js](https://github.com/pedroslopez/whatsapp-web.js) and the [Model Context Protocol](https://modelcontextprotocol.io).

## What it does

Give Claude Code direct access to your WhatsApp:

- **Read chats** — "check my unreads", "what did Ali say?"
- **Send messages** — "send John the proposal PDF"
- **Search contacts** — "find Sarah's number"
- **Connection management** — QR code auth, session persistence

## Setup

### 1. Clone and install

```bash
git clone https://github.com/ferazfhansurie/claude-whatsapp-mcp.git
cd claude-whatsapp-mcp
npm install
```

### 2. Add to Claude Code

Add this to your Claude Code MCP settings (`~/.claude.json` or project `.mcp.json`):

```json
{
  "mcpServers": {
    "whatsapp": {
      "command": "node",
      "args": ["/path/to/claude-whatsapp-mcp/src/index.js"]
    }
  }
}
```

### 3. Connect WhatsApp

In Claude Code, just say:

```
connect to whatsapp
```

Claude will initialize the server and show you a QR code. Scan it with your phone (WhatsApp > Settings > Linked Devices > Link a Device).

Your session persists in `.wwebjs_auth/` — you only need to scan once.

## Tools

| Tool | Description |
|------|-------------|
| `whatsapp_connect` | Connect to WhatsApp or check status. Shows QR if needed. |
| `whatsapp_send_message` | Send text + optional file attachment |
| `whatsapp_list_chats` | List recent chats with unread counts |
| `whatsapp_read_chat` | Read messages from a specific chat |
| `whatsapp_search_contacts` | Search contacts by name or number |
| `whatsapp_status` | Connection status + unread summary |

## Usage examples

```
# Check unreads
"do I have any unread WhatsApp messages?"

# Read a specific chat
"what's the latest in my family group?"

# Send a message
"send Ali a message saying the meeting is at 3pm"

# Send a file
"send the invoice PDF to +60123456789"

# Search contacts
"find contacts named Sarah"
```

## Requirements

- Node.js 18+
- Claude Code with MCP support
- A WhatsApp account

## How it works

The server runs `whatsapp-web.js` locally on your machine — the same tech as WhatsApp Web. Your messages stay on your device. Nothing is sent to any external server.

On first run, it generates a QR code for linking. After that, the session is cached and reconnects automatically.

## License

MIT

---

Built by [Adletic Agency](https://adleticagency.com)

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ferazfhansurie](https://github.com/ferazfhansurie)
- **Source:** [ferazfhansurie/claude-whatsapp-mcp](https://github.com/ferazfhansurie/claude-whatsapp-mcp)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-ferazfhansurie-claude-whatsapp-mcp
- Seller: https://agentstack.voostack.com/s/ferazfhansurie
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
