abstractphone_validate

Pack: abstract-phone · Endpoint: https://gateway.pipeworx.io/abstract-phone/mcp

Validate and enrich a phone number: returns whether it is valid, international/national formats, carrier, line type (mobile/landline/voip), and country/location. Example: abstractphone_validate({ phone: “14152007986”, _apiKey: “your-key” })

Parameters

NameTypeRequiredDescription
phonestringyesPhone number to validate. Include the country code for best results, e.g. “14152007986” or “+14152007986”. If omitted, pass country (ISO2) so the number can be interpreted.
countrystringnoOptional ISO 3166-1 alpha-2 country code (e.g. “US”, “GB”) to help interpret a number given without a country code.
_apiKeystringyesAbstract API key for the Phone Validation API. Get one free at https://www.abstractapi.com/api/phone-validation-api (key is on the dashboard).

Example call

Arguments

{
  "phone": "14152007986",
  "_apiKey": "your-abstract-phone-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/abstract-phone/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"abstractphone_validate","arguments":{"phone":"14152007986","_apiKey":"your-abstract-phone-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('abstractphone_validate', {
  "phone": "14152007986",
  "_apiKey": "your-abstract-phone-api-key"
});

More examples

{
  "phone": "2025551234",
  "country": "US",
  "_apiKey": "your-abstract-phone-api-key"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "abstract-phone": {
      "url": "https://gateway.pipeworx.io/abstract-phone/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 29, 2026