vies-vat-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
vies-vat-mcp
A Model Context Protocol server for VIES, the European Commission's VAT number validation service, which queries each member state's VAT register. It needs no API key and is read-only.
It is aimed at invoicing, customer onboarding and marketplace checks. The tools are shaped around those jobs rather than one tool per endpoint: bulk validation with malformed numbers caught locally, a clear split between "invalid" and "the member state's service is down", an optional consultation number for your records, and company name and address matching against the register.
Setup
Requires Python 3.12+ and uv.
git clone https://github.com/Ankur1911/vies-vat-mcp && cd vies-vat-mcp
uv sync
uv run vies-vat-mcp # stdio transportAdd it to any MCP client that launches stdio servers:
{
"mcpServers": {
"vies-vat": {
"command": "uv",
"args": ["run", "--directory", "/path/to/vies-vat-mcp", "vies-vat-mcp"]
}
}
}For HTTP instead of stdio: MCP_TRANSPORT=streamable-http MCP_HOST=127.0.0.1 MCP_PORT=8000 uv run vies-vat-mcp.
Related MCP server: Giltiq MCP Server
Tools
All tools are read-only.
Tool | What it returns |
| 1 to 25 VAT numbers in one call, in any spacing or punctuation ( |
| One number checked through the POST endpoint. Give your own EU VAT number as |
| Offline format check against each country's published pattern, with no request and no checksum. With no arguments it lists the expected format for every supported country. |
| Whether VIES and each member state's service is online. Use it when |
Country prefixes follow VIES: Greece is EL (GR is accepted and converted) and Northern Ireland is XI.
Configuration
All optional environment variables:
Variable | Default | Meaning |
|
| API root (for a proxy or test double) |
|
| Request timeout in seconds |
|
| Retries on HTTP 429, 502, 503, 504, timeouts and VIES busy/unavailable answers |
|
| Responses longer than this are cut with a notice |
|
|
|
Limits
Covers EU member states and Northern Ireland (
XI). Great Britain VAT numbers are not in VIES.VIES confirms that a number is registered. It does not give tax advice, and some member states (for example Germany and Spain) return
validwithout a name or address, so name matching is only useful where the register exposes those details.Member-state services go offline regularly. Those numbers come back as
unavailable; retry later or checkvies_status.The format check is a pattern check only; it does not verify check digits.
The consultation number is only issued when the requester number you supply is itself a valid EU VAT number. Whether it counts as proof for a given tax authority is a question for that authority.
The public service has usage limits and may block an address that sends too many requests. Bulk calls are capped at 25 numbers.
Development
uv sync
uv run pytestTests mock all HTTP traffic with respx; no network access is needed. The mocked response shapes were taken from live VIES answers (Ireland valid with name and address, Germany valid without details, France and the Netherlands invalid, an unknown country code, and the status endpoint). The trader-matching endpoint (POST /check-vat-number) is covered by mocks only.
Licence
MIT. Author: Ankur Kapuriya. Not affiliated with or endorsed by the European Commission. VIES data comes from the member states' registers; check the VIES terms before redistributing results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
SLA'd EU VAT validation on VIES. Honest 3-state result, never guesses. 100 free lookups.
Validate 200+ VAT/GST and company ID types; live EU VIES lookups return name and address.
1Validate EU/UK VAT numbers, Australian ABNs, NZ NZBNs and other tax IDs, one at a time or in bulk.
Live EU VAT number checks via VIES with company name/address, VAT formats and EU VAT rates
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables real-time validation of EU VAT numbers using the official VIES service. Supports all 27 EU member states with automatic country code detection and provides company information for valid VAT numbers.41MIT

Giltiq MCP Serverofficial
AlicenseAqualityNot gradedmaintenanceValidates EU VAT IDs using VIES and Germany's BZSt with automatic failover and legally binding qualified confirmations per §18e UStG, ensuring reliability even when VIES is down.2221 npmMIT- FlicenseNot gradedqualityDmaintenanceValidates 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.-
- AlicenseAqualityBmaintenanceEnables users to validate EU VAT numbers through the official VIES SOAP API, with free local format checks, caching, and bilingual error messages. Supports compliance workflows by returning structured results, supported countries, and error-code resources.4MIT