PlugWiki
whatsapp-mcp logo

WhatsApp MCP Server by lharries: Setup for Claude, Cursor and Other Apps

CommunityLocal

Not the official WhatsApp MCP server. This one is built by the community. WhatsApp makes its own: WhatsApp Business Tools MCP →

Lets Claude or Cursor search your personal WhatsApp messages and contacts, and send messages and files from your own account.

This is a community server, not made by WhatsApp. It links to your personal WhatsApp account through a small Go program, called the bridge, that you run on your own computer. You scan a QR code with your phone once, and your messages are saved in a local database.

Claude or Cursor then reads that database and can send messages and files as you. Setup means cloning the repository and keeping the bridge running, so it suits people who are comfortable in a terminal. The README warns that a malicious message could trick the assistant into leaking private data.

Good for

  • Developers comfortable with Go and Python who want WhatsApp in their assistant
  • People who want to search years of personal chats by asking questions
  • Anyone who wants an assistant to draft and send WhatsApp replies for them

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install whatsapp MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the whatsapp MCP server to Claude Code. Run this command:
    
    claude mcp add whatsapp -- {{PATH_TO_UV}} --directory {{PATH_TO_SRC}}/whatsapp-mcp/whatsapp-mcp-server run main.py
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Go, uv, Python 3.11+.

Optional: FFmpeg, only to send non-Opus audio as voice messages. On Windows, enable CGO and install a C compiler before running the bridge. After about 20 days you may need to scan the QR code again.

Built from the package data we hold. Not yet tested by us. Source.

Tools

  • Finds contacts by name or phone number

    Looks up people in your WhatsApp contacts by name or number and returns their identifiers (JIDs) for use in other requests.

    Try: “Find the contact for Maria Lopez.”

    Read · search_contacts

  • Searches your messages by text, sender, chat or date

    Returns messages that match any mix of text, sender number, chat, and a before or after date. It can also return the messages around each match, 20 per page by default.

    Try: “Find messages in the Family group from last week that mention dinner.”

    Read · list_messages

  • Lists your chats, optionally filtered by name

    Returns your chats with details such as the latest message. You can filter by name and page through results.

    Try: “Show my 10 most recent chats.”

    Read · list_chats

  • Shows details for one chat

    Returns the details of a single chat for an ID you give it, with its last message if you want it.

    Try: “Show me details for the chat with the ID I just found.”

    Read · get_chat

  • Finds your one-to-one chat with a phone number

    Looks up your direct chat with the person who has a given phone number.

    Try: “Find my direct chat with 15551234567.”

    Read · get_direct_chat_by_contact

  • Lists every chat a contact is part of

    Returns all chats that include a given contact, including groups, with paging.

    Try: “Which chats is Sam in?”

    Read · get_contact_chats

  • Shows the latest message with a contact

    Returns the most recent message that involves a given contact.

    Try: “What was the last thing Sam and I talked about?”

    Read · get_last_interaction

  • Shows the messages around one message

    Returns the messages sent just before and after a message you point to, so you can follow the conversation.

    Try: “Show me what was said around that message.”

    Read · get_message_context

  • Sends a WhatsApp message to a person or group

    Sends a text message from your WhatsApp account to a phone number or group ID. The message goes out right away.

    Try: “Send "Running 10 minutes late" to Maria.”

    Write · send_message

  • Sends a picture, video, document or audio file

    Reads a file from a path on your computer and sends it to a person or group from your account.

    Try: “Send ~/Documents/menu.pdf to the Family group.”

    Write · send_file

  • Sends an audio file as a voice message

    Sends a file from your computer as a playable voice message. Files that are not .ogg Opus are converted first, which needs FFmpeg.

    Try: “Send ~/voice-note.mp3 to Sam as a voice message.”

    Write · send_audio_message

  • Saves a photo, video, audio or document from a message

    Downloads the media attached to a message and saves it on your computer under the bridge folder, then returns the file path.

    Try: “Download the photo from that message.”

    Write · download_media

Read from the source code

Permissions

high risk · 5 things to watch

High risk

It can read your personal chats and send messages and files as you. The bridge API on port 8080 has no login and listens on every interface, and a hostile message in a chat could steer the assistant.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • Message text can steer the assistant

    The README warns about prompt injection with private data. Do not let it send messages or files without your approval. github.com

  • The bridge API is open to your whole network, without a login

    The bridge starts its REST API with ListenAndServe on ":8080", which binds every network interface, and checks no credentials. Another device on your Wi-Fi or LAN can call /api/send to message anyone as you, including attaching any file path on your computer. Block port 8080 with a firewall. github.com

  • It sends messages as you

    Messages and files go out from your own account the moment the tool runs. Check the recipient before you approve. github.com

  • send_file reads any path you give it

    The send tools take a file path on your computer and upload that file to WhatsApp. Check the path and the recipient. github.com

  • Uses your personal account, not the business API

    It signs in as you through the WhatsApp web multi-device API, with an unofficial library. Treat it as access to your whole account. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Talks toWhatsApp (through the local bridge). Bridge REST API on port 8080, listening on all network interfaces
Sign-in and keysA QR-code login to your WhatsApp account, stored by the local bridge. Messages are kept in a SQLite database under whatsapp-bridge/store/.

Questions

Is this the official WhatsApp MCP server?

No. It is a community project by lharries and WhatsApp has no part in it. It signs in to your personal account through the open source whatsmeow library.

Does it need an API key?

No. You sign in by scanning a QR code with your phone when you first run the bridge. You may need to scan again after about 20 days.

Does it run locally?

Yes. The bridge and the server both run on your computer, and messages are saved in a local SQLite file. The bridge API on port 8080 listens on all network interfaces with no login, so block that port from other devices. Message text is sent to your AI app only when a tool reads it.

Can it send messages?

Yes. It can send text, files and voice messages from your account. It has no tool to delete chats or messages, and no read-only setting.

Which tools does it need installed?

Go, uv and Python 3.11 or newer. FFmpeg is optional and only needed to convert audio into voice messages.

How do I add it to Claude Desktop or Cursor?

Follow the install box above. Start the bridge first and keep it running, then add the config and restart the app.

Information

updated Nov 2, 2026

Publisher
Community
Transport
stdio
Auth
None
License
MIT
Last commit
Jul 13, 2025
Open issues
96

WebsiteGitHubChangelogIssues

Other WhatsApp MCP servers

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. github.com · github.com
  2. github.com · github.com
  3. github.com · github.com
  4. github.com · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.