Sign up and contact support to get 100 free checks.Sign up free
WA Lookup workflow illustration for Check a Small WhatsApp List Through an MCP Client
A visual overview of the workflow discussed in this WA Lookup article.

How do I check WhatsApp numbers through MCP?

Add the WA Lookup MCP server, https://api.walookup.com/mcp, to an MCP client such as Claude Code, Claude Desktop or Cursor, with your API key sent as an Authorization Bearer header. The assistant can then call check_number for one number or check_numbers for up to 100, and the results come back in the same conversation, using the same products and balance as the REST API.

To check WhatsApp numbers through MCP, add the WA Lookup server at https://api.walookup.com/mcp to your MCP client and send your API key as Authorization: Bearer YOUR_API_KEY. Your assistant can then check one number, or a list of up to 100, when you ask in plain language, and it reads the result in the same conversation. MCP uses the same products, balance and result meanings as the REST API; it is a different way in, not a different checker.

What MCP adds

The Model Context Protocol is an open standard that lets AI applications call outside tools during a conversation. With the WA Lookup server connected, you can paste a few numbers from an email or spreadsheet and ask "which of these are on WhatsApp?" without writing an integration. It suits small, interactive jobs: checking a lead before a call, reviewing a short list from a colleague, or looking up a handful of CRM records.

Step 1: Get your API key

Create or copy an API key in your WA Lookup account settings. MCP uses the same key as the REST API. Only the header changes:

Interface Header
REST API X-API-Key: sk_your_api_key
MCP server Authorization: Bearer YOUR_API_KEY

Put the key in your client's configuration, never in a chat prompt, a shared file or source control. Anyone with the key can spend your balance. After registering, contact support to request the standard trial credit.

Step 2: Connect your client

The server uses Streamable HTTP, so nothing needs to run on your machine. The name walookup below is just a label you choose for the server.

Claude Code (from your terminal):

claude mcp add --transport http walookup https://api.walookup.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Cursor or Claude Desktop (add to the client's MCP configuration):

{
  "mcpServers": {
    "walookup": {
      "url": "https://api.walookup.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Other MCP clients: use the URL https://api.walookup.com/mcp with Streamable HTTP and the same Bearer header.

Step 3: Know the four tools

Once connected, the assistant can call these tools. You do not call them by name; you ask, and the assistant picks one.

Tool Parameters What it does
list_products none Lists the products available to your key, with prices and response fields. Useful to find valid service_type codes.
check_number service_type, identifier Checks one number synchronously.
check_numbers service_type, identifiers (up to 100) Checks 1 to 100 numbers with one product. Results keep the input order, and one failed number does not stop the rest.
get_balance none Reads your balance. It does not run a check or charge anything.

The service_type is a product code: ws for registration, ws_avatar for the avatar check, ws_profile for avatar analysis, ws_business for the business account check, and ws_active for activity days.

Step 4: Ask in plain language

Example prompts that work once the server is connected:

  • "Check whether +12345678900 is registered on WhatsApp."
  • "Check these 20 numbers and summarize which are registered and which are not."
  • "Which of these numbers use a WhatsApp Business account?" (the assistant uses ws_business)
  • "How much balance is left before I run this list?"

Write numbers with the country code, for example +4915123456789 rather than 0151 2345 6789. The assistant can help reformat a pasted list, but check its output before you send it.

How to read the results

For each number that produced a result, the assistant sees the same fields as the REST API: service_type, identifier and registered, plus the product's extra field, such as business or activedays.

  • registered: true: a WhatsApp account existed on that number when it was checked. It does not identify the person, prove consent, or show that a message will be delivered or answered.
  • registered: false: no WhatsApp account existed at check time.
  • No result: in a check_numbers response, an item with exists: false had an invalid format, could not be decided, or failed. It has no registered field. A single check that cannot be decided returns code 42200 and is not charged. Treat both as "check again later", not as "not registered".

Ask the assistant to keep these three groups separate in its summary, so undecided numbers are not counted as negatives.

Errors you may see

Tool failures come back marked as errors, with the same code and msg as the API, so the assistant can explain what happened:

Code Meaning What to do
40002 Invalid number format Fix the country code or remove extra characters
40100 Missing or invalid API key Check the Bearer header and that the key is active
40200 Insufficient balance The whole list is rejected before processing; top up or send fewer numbers
42200 Undetermined Not charged; try again later
42901 Concurrency limit Five requests are already in flight, or a multi check is already running on your account. Wait for it to finish
50400 Timed out Not charged; a timed-out multi check fails as a whole and is refunded

Only one check_numbers call runs per account at a time, so ask for one list, wait for it, then send the next.

When to use something other than MCP

MCP is for conversations and short lists. If you need to check numbers on a schedule or inside your own application, call the REST endpoints directly. For lists far larger than 100 numbers, the bulk file tasks in the API documentation accept a TXT or CSV upload and return a result file once processing ends.

FAQ

Which MCP clients work with WA Lookup?

Claude Code, Claude Desktop, Cursor and any other client that supports Streamable HTTP with a custom header.

Does MCP cost more than the REST API?

No. It uses the same products, prices and balance. Current prices are on the pricing page, or ask the assistant to run list_products.

How many numbers can I check in one request?

Up to 100 with check_numbers. Split longer lists into several requests and send them one after another.

Is my API key shared with the AI model?

The key belongs in your client's configuration, where the client sends it as a header to the WA Lookup server. Do not paste it into the conversation itself.

Sources