Whatsapp Messaging Api
FreeMaintainedSend WhatsApp messages from Claude and any MCP client. No Meta Business approval or WhatsApp Business account.
About
Send WhatsApp messages from Claude and any MCP client. No Meta Business approval or WhatsApp Business account.
README
Send WhatsApp messages from Claude, Cursor, or any MCP client. Create a session, scan a QR code, and send text, images and files — no Meta Business approval and no WhatsApp Business account required.
Wraps the WhatsApp Messaging API.
Quick start
Get a free API key from RapidAPI — no credit card.
Add this to your MCP client config (Claude Desktop:
claude_desktop_config.json):{ "mcpServers": { "whatsapp": { "command": "npx", "args": ["-y", "whatsapp-messaging-api-mcp"], "env": { "WHATSAPP_API_KEY": "your-rapidapi-key" } } } }Restart the client. Ask it to create a WhatsApp session and show you the QR code.
Nothing to install or build — npx fetches the package on first run.
Tools
| Tool | Description |
|---|---|
list_sessions |
List all sessions on this API key |
create_session |
Create a new session |
get_session_status |
Check a session's current status |
get_qr_code |
Get the QR code to authenticate a session |
request_pairing_code |
Get an 8-digit pairing code instead of a QR |
check_contact_exists |
Check if a phone number is on WhatsApp before sending |
send_text_message |
Send a text message |
send_image |
Send an image via URL |
send_file |
Send a file (PDF, document) via URL |
Typical flow
create_session→get_qr_code→ scan with WhatsApp (Settings → Linked Devices)get_session_statusuntil it reportsWORKINGcheck_contact_exists, thensend_text_message/send_image/send_file
Sessions stay authenticated between runs, so steps 1-2 are one-time per number.
Configuration
| Variable | Required | Description |
|---|---|---|
WHATSAPP_API_KEY |
yes | Your RapidAPI key. The server exits on startup if it is missing. |
The key is read from the environment and sent only to the API host. It is never logged.
Local development
git clone https://github.com/jevil25/whatsapp-messaging-api-mcp.git
cd whatsapp-messaging-api-mcp
npm install
npm run dev # runs src/index.ts directly via tsx, no build step
npm run build # compile to dist/
npm test # boots the built server and drives a real MCP handshake
npm test needs no credentials — it passes a dummy key, which gets far enough to
list tools because nothing in the handshake makes an API call.
To point an MCP client at your local build, use "command": "node" with
"args": ["/absolute/path/to/dist/index.js"].
See DEVELOPING.md for the release process.
Links
- npm package
- MCP registry entry —
io.github.jevil25/whatsapp-messaging-api-mcp - WhatsApp Messaging API docs
License
MIT
Install Whatsapp Messaging Api in Claude Desktop, Claude Code & Cursor
unyly install whatsapp-messaging-apiInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add whatsapp-messaging-api --env WHATSAPP_API_KEY="" -- npx -y whatsapp-messaging-api-mcpStep-by-step: how to install Whatsapp Messaging Api
FAQ
Is Whatsapp Messaging Api MCP free?
Yes, Whatsapp Messaging Api MCP is free — one-click install via Unyly at no cost.
Does Whatsapp Messaging Api need an API key?
Yes, it requires environment variables: WHATSAPP_API_KEY. Unyly injects them into the config during install.
Is Whatsapp Messaging Api hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Whatsapp Messaging Api in Claude Desktop, Claude Code or Cursor?
Open Whatsapp Messaging Api on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
Compare Whatsapp Messaging Api with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
