Für Entwickler und KI-Agenten
Verbinde wha.tools mit deinem KI-Assistenten
WhaTools liefert einen kostenlosen Model-Context-Protocol-(MCP-)Server, sodass ein KI-Assistent WhatsApp-Click-to-Chat-Links, QR-Codes und Teilen-Widgets bauen, Telefonnummern prüfen, die Kosten der WhatsApp-Business-API schätzen und die aktuelle Preistabelle und Limit-Tabelle lesen kann: dieselben Tools, die diese Seite anbietet, lokal auf dem Server ausgeführt. Schreibgeschützt, ohne Schlüssel, es wird nichts gesendet.
https://wha.tools/api/mcpIn deinem Client einrichten
Füg den Server einmal hinzu, dann kann dein Assistent seine Tools aufrufen. Jede Anleitung nutzt denselben Endpunkt oben.
Claude Code
Führ das einmal im Terminal aus: Die CLI speichert den Server für dich.
claude mcp add --transport http wha-tools https://wha.tools/api/mcpClaude Desktop
Füg es unter Einstellungen → Entwickler → Konfiguration bearbeiten (claude_desktop_config.json) hinzu. Die mcp-remote-Brücke lässt einen Desktop-Client einen entfernten HTTP-Server erreichen.
{
"mcpServers": {
"wha-tools": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://wha.tools/api/mcp"]
}
}
}Cursor
Füg es in ~/.cursor/mcp.json (global) oder .cursor/mcp.json (pro Projekt) hinzu.
{
"mcpServers": {
"wha-tools": {
"url": "https://wha.tools/api/mcp"
}
}
}VS Code (GitHub Copilot)
Füg es in .vscode/mcp.json in deinem Workspace hinzu.
{
"servers": {
"wha-tools": {
"type": "http",
"url": "https://wha.tools/api/mcp"
}
}
}Jeder andere MCP-Client
Richte ihn auf den Endpunkt als Streamable-HTTP-(Remote-)Server. Es ist kein Authentifizierungs-Header erforderlich.
https://wha.tools/api/mcpWas dein Assistent kann
8 Tools, alle lokal und schreibgeschützt. Diese Liste wird vom Server selbst erzeugt, sie entspricht also immer dem, was der Endpunkt anbietet.
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.
Maschinenlesbare Erkennung
Für Verzeichnisse, Registries und Agenten, die Server selbst finden.
- MCP Server Card
/.well-known/mcp/server-card.jsonDer Endpunkt, die Protokollversion und die Tool-Liste (Entwurf SEP-1649): wie ein Client diesen Server automatisch erkennt.
- OpenAPI 3.1
/openapi.jsonBeschreibung der öffentlichen HTTP-API (Health, offene Daten, Link-Vorschau und der MCP-Verweis).
- API-Katalog
/.well-known/api-catalogRFC-9727-Linkset, das jede maschinenlesbare Ressource der Seite indexiert.
- llms.txt
/llms.txtKuratierter Markdown-Index der Seite für LLMs und Agenten.
- Offene Daten (JSON)
/api/dataDie Preistabelle, die Limit-Tabelle und das Preisänderungs-Ledger unter CC BY 4.0: dieselben Daten, die die beiden Daten-Tools zurückgeben.
- Health
/api/healthVerfügbarkeit und laufende Version.
Häufige Fragen
wa.me-Link, ein QR-Bild, Widget-HTML oder JSON. Es wird nie etwas an WhatsApp gesendet; ein Mensch tippt weiterhin auf Senden.mcp-remote), Cursor und VS Code sind oben gezeigt, und andere MCP-Clients funktionieren genauso, indem sie auf den Endpunkt zeigen.