check_eori

Pack: vies-eu · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/check_eori for the schema, then POST the same URL with its arguments for the data.

Validate an EU EORI number (Economic Operators Registration and Identification, the customs trader ID) against the European Commission EORI validation service. Returns whether the EORI is registered, plus the trader name and address when the member state publishes them (many states return only valid/not valid). An unregistered EORI is refused with a not_found error, not an empty success. Covers EORIs issued by EU member states; UK and other non-EU numbers are not covered. A malformed number is refused with a user_error saying what to pass.

Parameters

NameTypeRequiredDescription
eoristringyesThe full EORI including the 2-letter country prefix, e.g. “SE5560125790” (Volvo) or “FR552032534” (Danone). Spaces are ignored.

Example call

Arguments

{
  "eori": "SE5560125790"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('check_eori', {
  "eori": "SE5560125790"
});

Response shape

Always returns: eori, valid, country_code

FieldTypeDescription
eoristringThe EORI as checked, upper-cased.
validbooleanAlways true on a returned result; an unregistered EORI is refused with not_found.
country_codestring2-letter prefix of the EORI.
namestring | nullRegistered trader name when published by the member state.
addressstring | nullStreet, postal code, city and country when published.
checked_onstringDate of the check as reported by the service.
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "eori": {
      "type": "string",
      "description": "The EORI as checked, upper-cased."
    },
    "valid": {
      "type": "boolean",
      "description": "Always true on a returned result; an unregistered EORI is refused with not_found."
    },
    "country_code": {
      "type": "string",
      "description": "2-letter prefix of the EORI."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Registered trader name when published by the member state."
    },
    "address": {
      "type": [
        "string",
        "null"
      ],
      "description": "Street, postal code, city and country when published."
    },
    "checked_on": {
      "type": "string",
      "description": "Date of the check as reported by the service."
    },
    "source": {
      "type": "string"
    }
  },
  "required": [
    "eori",
    "valid",
    "country_code"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the vies-eu pack
{
  "mcpServers": {
    "vies-eu": {
      "url": "https://gateway.pipeworx.io/vies-eu/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 2, 2026