EU VAT Validator (VIES)

EU VAT Validator (VIES)

Validates EU and Northern Ireland VAT numbers against the official VIES service, returning validity, company name and address, and distinguishing invalid from unavailable. Supports bulk checking up to 100 VAT IDs.

Category
访问服务器

README

EU VAT Validator (VIES): Verify & Bulk-Check VAT IDs

Validate any EU VAT number — plus Northern Ireland (XI) — straight against the official, free VIES (VAT Information Exchange System) service. Get a real valid/invalid answer, the registered company name and address when the country exposes them, and bulk-check up to 100 VAT IDs in one call.

An MCP server hosted on MCPize. Also published as an Apify Actor with the same VIES core.

What it does

EU VAT Validator checks any EU (or Northern Ireland) VAT number against the live European Commission VIES service and tells you three things a naive checker can't: whether the number is currently valid, the registered business name and address when the member state publishes them, and — critically — whether a failed check means the number is genuinely invalid or the member state's own system is just temporarily unavailable. Most VAT checkers collapse those last two into one generic "failed" result. This one doesn't, because for compliance and invoicing decisions the difference matters.

Who it's for: finance and AP/AR teams validating VAT numbers on invoices, e-commerce and marketplace platforms doing reverse-charge B2B checks at checkout, onboarding/KYB teams verifying a new business customer or supplier, and AI agents that need a VAT-validation step inside a larger workflow.

Why it's built this way

  • Official VIES data, not a guess — every check hits the European Commission's own VIES REST API. No scraping, no third-party VAT number checker database, no stale cache.
  • Free, no API key — VIES is a free public EU service and this server needs no credentials to use it.
  • Company name & address lookup — when a member state publishes it, validate_vat returns the registered business name and address, not just true/false.
  • Down vs. invalid, correctly separated — VIES member states go offline often. This tool reads VIES's own error codes so MS_UNAVAILABLE (retry later) is never confused with INVALID (the number doesn't exist).
  • Bulk-ready — check up to 100 VAT IDs in one call, processed 5-at-a-time so one slow member state never stalls the batch, with a pass/fail summary.
  • EU + Northern Ireland (XI) — covers all 27 EU member states plus the XI prefix used for Northern Ireland VAT numbers post-Brexit.
  • Nothing stored — VAT IDs and results are never logged or retained beyond the response.

VIES vs. a manual VAT check

Checking a VAT number by hand on the official VIES web page works for one number at a time, gives you no structured output, and gives no way to tell "invalid" apart from "the site's timing out again." This server wraps the same official VIES REST API an AI agent or app can call directly — structured JSON in, structured JSON out, with the invalid/unavailable distinction VIES's own website doesn't surface — and does 100 numbers as easily as one.

Use cases

  • Invoicing — confirm a customer's VAT number before you issue a zero-rated intra-EU invoice.
  • Reverse-charge B2B — verify the buyer's VAT ID at checkout to correctly apply (or withhold) reverse-charge VAT treatment.
  • Onboarding / KYB — check a new business counterparty's VAT registration and registered address as part of know-your-business checks.
  • Bulk customer-list cleaning — run a CRM or billing export through bulk_check_vat to find dead, mistyped, or deregistered VAT numbers.

Tools

validate_vat

Verify one EU/XI VAT number against VIES; returns validity, company name/address, and a status that separates invalid from temporarily-unavailable.

Input Type Description
vat_id string (required) Full VAT id including country prefix, e.g. "IE6388047V" or "DE 811.569.869".

Example call:

{ "vat_id": "IE6388047V" }

Example output:

{
  "input": "IE6388047V",
  "countryCode": "IE",
  "vatNumber": "6388047V",
  "valid": true,
  "status": "VALID",
  "businessName": "GOOGLE IRELAND LIMITED",
  "businessAddress": "3RD FLOOR, GORDON HOUSE, BARROW STREET, DUBLIN 4",
  "requestDate": "2026-07-22T19:36:51.094Z",
  "consultationNumber": null
}

bulk_check_vat

Verify up to 100 VAT numbers in one call, processed 5-at-a-time; returns one result per id plus a pass/fail summary. A single bad id never fails the batch.

Input Type Description
vat_ids string[] (required) 1-100 VAT ids, each including its country prefix.

Example call:

{ "vat_ids": ["IE6388047V", "DE811569869", "FRXX999999999"] }

Output: { results: [ per-id objects shaped like validate_vat ], summary: { total, valid, invalid, invalid_input, unavailable } }.

check_vies_status

Report each EU member state's current VIES availability, so you can tell whether an MS_UNAVAILABLE result is worth retrying right now. Takes no input.

Example call:

{}

FAQ

How do I know if a VAT number is valid? Call validate_vat with the full number including its country prefix (e.g. IE6388047V). It returns valid: true/false plus a status field — check status, not just valid, since a false result can also mean the check couldn't complete.

Can I bulk validate a list of VAT numbers? Yes — bulk_check_vat accepts up to 100 VAT IDs per call and checks them 5 at a time. For larger lists, split into batches of 100.

What if VIES is down or a member state isn't responding? You'll get status: "MS_UNAVAILABLE" (that specific country's system is down) or "SERVICE_UNAVAILABLE" (VIES itself is unreachable) instead of a false "invalid." Call check_vies_status to see which countries are currently reachable before retrying.

Does it return the company name? Yes, when the member state publishes it via VIES — businessName and businessAddress come back on a valid check. Some member states don't expose this data through VIES; in that case both fields are null even though the number is valid.

Does it work for UK VAT numbers? Only Northern Ireland (XI) numbers — the rest of the UK left VIES after Brexit and isn't covered by this or any VIES-based tool.

Do I need an API key? No. VIES is a free official EU service and this server calls it directly with no credentials.

Trust & compliance

Checks against the official European Commission VIES service only — no third-party VAT database, no scraping, no aggregation. Nothing is stored: VAT IDs and results are never logged or retained beyond the response. This is a verification aid, not legal or tax advice — the compliance decision is yours.

Configuration (optional)

requesterVatId — your own EU VAT number. When set, it's sent to VIES as the requester identity so every response includes an official consultationNumber (a proof-of-check reference useful for audit trails). Leave it unset and everything else works exactly the same.

Using this from an AI agent (MCP)

// validate_vat
{ "vat_id": "IE6388047V" }

// bulk_check_vat
{ "vat_ids": ["IE6388047V", "DE811569869"] }

// check_vies_status
{}

Local development

npm install
npm run dev     # http://localhost:8080/mcp, hot reload
npm test        # vitest
npm run build   # tsc

Deployment

mcpize login
mcpize deploy
mcpize publish --show

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选