# WhaTools — WhatsApp tools [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/procom-dev/whatools  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whatools-whatsapp-tools-2

## Description
WhatsApp tools: wa.me links, QR codes, share widgets, phone validation, API rate card & limits.

## Tools
Capabilities this server exposes over MCP:

- **generate_whatsapp_link** — Generate a WhatsApp click-to-chat (wa.me) link with an optional phone number and pre-filled message. Runs locally; no message is sent.
- **generate_bulk_whatsapp_links** — Generate personalized WhatsApp click-to-chat (wa.me) links for a list of contacts from one message template. Everything uses a single {{…}} syntax: {{field}} placeholders are replaced per contact; {{field|fallback}} supplies a default for empty/missing fields; {{FirstName}} is derived from a name field; and {{option a|option b}} spintax (a group whose first option is not a field) picks one variation per contact (stable per number) so messages are not identical. Returns a JSON array of {phone, message, link}. Runs locally; no message is sent: each link opens WhatsApp with the text pre-filled and a human taps send.
- **validate_phone_number** — Validate and inspect a phone number with libphonenumber: whether it is valid (a real, allocated number) and/or possible (right length), its country, calling code, line type (mobile / landline / VoIP / toll-free / …) and every standard format (E.164, international, national) plus a wa.me link. Runs locally and offline. Does NOT check whether the number is registered on WhatsApp. There is no such API here.
- **generate_whatsapp_qr** — Generate a scannable QR code (as an SVG) for a WhatsApp click-to-chat link with an optional phone number and pre-filled message.
- **build_whatsapp_share_widget** — Build embeddable "Share on WhatsApp" widget HTML (web and email variants) with a link preview card and a pre-filled message. Returns self-contained HTML.
- **estimate_whatsapp_api_cost** — Estimate the monthly WhatsApp Business (Cloud) API cost under Meta's per-message pricing (in effect since 1 July 2025). Given a country/market and monthly volumes of marketing, utility, authentication and (optionally) service messages, returns an itemized breakdown and total in USD. Marketing is always billed; utility and authentication are billed with volume-tier discounts in many markets. As of 1 October 2026 utility is billed even inside the customer-service window (previously free there), and service messages are billed at the utility rate with the first 1,000 per phone number each month free. Pass `service` to include them; omit it to leave service out. Runs locally. This is Meta's platform fee only: a BSP/provider adds its own fee on top, so treat it as a floor, not a quote.
- **get_whatsapp_rates** — Look up Meta's official WhatsApp Business (Cloud) API per-message rates from the site's dated rate card, the same figures the pricing calculator uses, so prefer this over recalling or guessing prices. Give a market to get one row, or omit it for every market in the chosen currency. Returns the current list price per template category (marketing, utility, authentication, and authentication-international where a market has one), the currency, the effective and last-verified dates, the source link and the CC BY licence. Optionally include the published volume-tier thresholds and rates for a single market. This is Meta's platform fee only: a BSP/provider adds its own fee on top, so treat it as a floor. Runs locally.
- **get_whatsapp_limits** — Look up WhatsApp's current limits and rules from the site's dated reference table: group and community size, broadcast lists, message and media/file sizes, character counts, forwarding, calls, Channels, linked devices, and WhatsApp Business app and Business API limits. Each value is single-sourced and dated. Returns the limits (optionally filtered to one area), the last-verified date, the source and the CC BY licence. Prefer this over recalling limits from memory. They change over time. Runs locally.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "whatools-whatsapp-tools": {
    "url": "https://wha.tools/api/mcp"
  }
}
```

## Documentation

## What WhaTools — WhatsApp tools does

WhaTools provides MCP tools for preparing WhatsApp click-to-chat assets and consulting WhatsApp-related reference data. It can create a `wa.me` link with an optional phone number and pre-filled message, generate many personalized links from a contact list, render a link as an SVG QR code, and produce self-contained HTML for a WhatsApp sharing widget.

The server also validates phone numbers with libphonenumber, returning validity and possibility checks, country, calling code, line type, standard number formats, and a corresponding `wa.me` link. Its validation is offline and does not determine whether a number is registered with WhatsApp.

For WhatsApp Business Cloud API planning, WhaTools estimates monthly Meta platform costs and retrieves dated rate-card data. It also looks up dated WhatsApp limits and rules covering areas such as groups, broadcasts, media sizes, character counts, calls, Channels, linked devices, and Business products.

## How it works

The MCP service is available at `https://wha.tools/api/mcp` using JSON-RPC over Streamable HTTP. It is listed in the MCP Registry as `tools.wha/whatsapp-tools`.

Link generation, bulk-link creation, phone validation, QR generation, cost estimation, and the reference lookups run locally from the tool’s perspective. Generated links only open WhatsApp with text pre-filled; a person must tap Send. Bulk output is a JSON array containing `phone`, `message`, and `link` values.

Bulk templates support `{{field}}` substitution, `{{field|fallback}}` defaults, a derived `{{FirstName}}` value from a name field, and spintax such as `{{option a|option b}}`. Spintax selects one variation per contact, stable by phone number.

## Setup and configuration

Connect an MCP client to the Streamable HTTP endpoint:

`https://wha.tools/api/mcp`

The project also provides a human setup page at `https://wha.tools/connect`. No environment variables or sign-up are required for the documented service.

## Tools and capabilities

- `generate_whatsapp_link`: Create a single click-to-chat link with an optional number and message.
- `generate_bulk_whatsapp_links`: Produce personalized links from contacts and one message template.
- `validate_phone_number`: Inspect a number’s validity, region, type, formats, and WhatsApp link.
- `generate_whatsapp_qr`: Return an SVG QR code for a click-to-chat link.
- `build_whatsapp_share_widget`: Generate self-contained web or email widget HTML with a preview card and pre-filled message.
- `estimate_whatsapp_api_cost`: Calculate an itemized monthly USD estimate by market and message category.
- `get_whatsapp_rates`: Retrieve dated Meta Cloud API rates, currencies, effective dates, sources, and optional volume tiers.
- `get_whatsapp_limits`: Retrieve dated WhatsApp limits and rules, optionally filtered by area.

Cost estimates cover Meta’s platform fee, not an additional BSP or provider charge. Rate and limit results include their source, verification date, and CC BY attribution information.

## Limitations and notes

The link and bulk tools do not send WhatsApp messages. Phone validation checks numbering characteristics, including whether a number is valid or possible, but it cannot verify WhatsApp registration. API cost results are a floor because a provider may add its own fee.

Rates and limits are time-sensitive reference data. The pricing tools account for category and market differences, including volume tiers where published. Service-message estimates can be included explicitly; the service category has its own pricing treatment and monthly free allowance described by the tool.

WhaTools is an independent project and is not affiliated with or endorsed by WhatsApp or Meta. The project’s compiled documentation and open-data presentation use CC BY 4.0 with attribution to “WhaTools (wha.tools)”.

_Full upstream README: https://allmcps.com/mcp/whatools-whatsapp-tools-2/readme_

