Use vatcheckapi with AI agents (MCP)
vatcheckapi ships a hosted Model Context Protocol (MCP) server. AI agents and assistants — Claude, Cursor, VS Code and any other MCP-capable client — can call the API as native tools, no SDK or glue code required.
https://api.vatcheckapi.com/mcp
Connect in seconds
Using Claude Code:
claude mcp add --transport http vatcheckapi https://api.vatcheckapi.com/mcp --header "apikey: YOUR_API_KEY"
Or add it to any MCP client configuration:
{
"mcpServers": {
"vatcheckapi": {
"url": "https://api.vatcheckapi.com/mcp",
"headers": { "apikey": "YOUR_API_KEY" }
}
}
}
With the configuration above, every request needs your API key, including the MCP handshake and listing the tools. Sign up for a free API key and send it as the apikey header.
Sign in instead of an API key
MCP clients that support sign-in (OAuth), such as Claude’s custom connectors, can sign in instead of sending a key. In Claude, open Settings → Connectors → Add custom connector and enter https://api.vatcheckapi.com/mcp. The client opens a sign-in page on app.vatcheckapi.com: sign in or sign up, and approve the connection (as the team’s owner or an admin). The client then holds a key of your team that lasts an hour and renews itself; its tool calls count against your plan like any other request. You can disconnect it at any time under API keys → Connected apps in the dashboard. For your own code, use an API key.
Available tools
| Tool | Endpoint | Description |
|---|---|---|
check | GET /v2/check | Check a VAT number |
checkEori | GET /v2/eori | Check an EORI number |
checkIban | GET /v2/iban | Validate an IBAN |
checkIbanBatch | POST /v2/iban/batch | Validate up to 100 IBANs |
validateEinvoice | POST /v2/einvoice/validate | Validate an XRechnung, ZUGFeRD / Factur-X or EN 16931 e-invoice (the file base64-encoded) |
getStatus | GET /v2/status | Account quota status |
getViesStatus | GET /v2/vies-status | Whether VIES can check each EU member state right now (free) |
getVatRates | GET /v2/rates | VAT rates of an EU member state or the UK on a date (standard, reduced, super-reduced, parking and regional) |
calculateVatPrice | GET /v2/rates/price | Net, VAT and gross of an amount at a country’s VAT rate on a date |
Tool calls are metered like regular API requests and return the same machine-readable errors, so your agent always knows how to proceed. Full details in the MCP documentation.