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 連結、QR 碼與分享元件,驗證電話號碼,並查詢 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%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在儲存庫或註冊中心條目中宣告授權條款。