validate_vat

Pack: vat · Endpoint: https://gateway.pipeworx.io/vat/mcp

Validate the FORMAT of a VAT registration number for the EU (+ UK/CH/NO), keyless & offline. Accepts the number with its country prefix (“DE123456789”) or a national number plus country. Returns whether it matches the official country pattern. NOTE: format only — it does NOT confirm the VAT number is registered/active (use the EU VIES service for that).

Parameters

NameTypeRequiredDescription
vatstringyesA VAT number, e.g. “DE123456789” or “GB123456789”.
countrystringnoOptional 2-letter country code (EL for Greece, GB for UK) if vat has no prefix.

Example call

Arguments

{
  "vat": "DE123456789"
}

curl

curl -X POST https://gateway.pipeworx.io/vat/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"validate_vat","arguments":{"vat":"DE123456789"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('validate_vat', {
  "vat": "DE123456789"
});

More examples

{
  "vat": "123456789",
  "country": "FR"
}

Connect

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

{
  "mcpServers": {
    "vat": {
      "url": "https://gateway.pipeworx.io/vat/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 15, 2026