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.
phonemessage
tools.wha由 wha.tools 发布官方发布者v0.85.0更新于 Oct 27, 2026
WhatsApp tools: wa.me links, QR codes, share widgets, phone validation, API rate card & limits.
免费的 WhatsApp 工具服务器:生成 wa.me 链接、二维码和分享组件,校验电话号码,并查询 Business API 费率与限制。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/tools.wha%2Fwhatsapp-tools/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"whatools-whatsapp-tools": {
"type": "http",
"url": "https://wha.tools/api/mcp"
}
}
}wha.tools is a free toolkit of WhatsApp utilities and plain-language reference guides — link generators, a QR generator, a share-widget builder, a bulk sender helper, a phone-number validator, a link-preview debugger, and a WhatsApp Business API pricing calculator. No sign-up, and the interactive tools run entirely in your browser.
This repository is the public information hub for the project: what the tools are, and the machine-readable / agent-facing surfaces the site exposes. The web application's source lives in a separate private repository; nothing here is required to use the site.
Every page is available in English, Spanish, Brazilian Portuguese, Italian and
French (prefix the path with /es, /pt, /it, /fr).
The site is built to be usable by agents, not just browsers:
https://wha.tools/api/mcp
(JSON-RPC over Streamable HTTP). Human setup page: wha.tools/connect.
Listed in the official MCP Registry
as tools.wha/whatsapp-tools.Accept: text/markdown to get Markdown from the same URL.server.json in this repo is the MCP Registry descriptor for the server above.
Two of the site's reference tables are published as open data, kept current and dated, free to reuse with attribution:
These datasets and the documentation in this repository are licensed CC BY 4.0 — see LICENSE. Attribution: "WhaTools (wha.tools)" with a link back. The underlying facts (Meta's prices, WhatsApp's limits) are not owned by anyone and are not licensed; the licence covers this compilation and presentation.
WhaTools is an independent project and is not affiliated with, endorsed by, or sponsored by WhatsApp LLC or Meta Platforms, Inc. "WhatsApp" is a trademark of its respective owner.
Questions or corrections: wha.tools/contact.
来源:README.md,提交 cf25d92
Generate a WhatsApp click-to-chat (wa.me) link with an optional phone number and pre-filled message. Runs locally; no message is sent.
phonemessageGenerate 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.
contacts必填template必填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.
phone必填countryGenerate a scannable QR code (as an SVG) for a WhatsApp click-to-chat link with an optional phone number and pre-filled message.
phonemessageBuild embeddable "Share on WhatsApp" widget HTML (web and email variants) with a link preview card and a pre-filled message. Returns self-contained HTML.
url必填title必填domainthumbnailbuttonTextdescription必填includeCreditbuttonPlacementEstimate 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.
market必填serviceutilitymarketingauthenticationLook 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.
marketcurrencyinclude_tiersLook 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.
area已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在仓库或注册中心条目中声明许可证。