WhatsApp MCP Server

Communicationstdio
Репозиторий

Community MCP server that connects a personal WhatsApp account to AI assistants. Using the WhatsApp multi-device web API, it lets agents search and read your messages and contacts and send messages, including media. Messages are stored locally in SQLite and only shared with the model when the agent accesses them through tools, keeping data on your machine.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

{
  "mcpServers": {
    "whatsapp": {
      "command": "npx",
      "args": []
    }
  }
}

Инструменты (3)

search_messages

Search local WhatsApp message history by text, contact, or chat.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Text to search for"
    },
    "contact": {
      "type": "string",
      "description": "Optional contact or chat to scope the search"
    }
  }
}

send_message

Send a WhatsApp message to a contact or group.

{
  "type": "object",
  "required": [
    "recipient",
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "description": "Message text to send"
    },
    "recipient": {
      "type": "string",
      "description": "Phone number or chat ID of the recipient"
    }
  }
}

list_contacts

List WhatsApp contacts available in the local database.

{
  "type": "object",
  "properties": {}
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
Luke Harries (@lharries)
Репозиторий
https://github.com/lharries/whatsapp-mcp
Звёзды
0
Последнее обновление
12 июля 2026 г.