MCP server
Let an agent call the same operations through the Model Context Protocol.
The hosted MCP server exposes 12 tools. Each tool forwards to the public REST API at https://api.vat.tools, which remains authoritative for authentication, isolation, scopes, quota settlement, evidence, and replay. The MCP process stores no customer state.
Tools
| Tool | Purpose | Required scope | Meter |
|---|---|---|---|
verify_vat | Verify VAT registration | vat:validate | vat_validation |
search_companies | Find company candidates & exact profiles | company:search | company_search |
calculate_vat | Get the GB or XI (Northern Ireland) VAT rate card | vat:validate | none |
check_company_identifiers | Check national, EUID, D-U-N-S, LEI, EORI & Peppol identifiers | company:search | company_search |
assess_tax | Assess supported service tax treatment | tax:assess | none |
review_bulk_job | Review saved bulk rows | bulk:read | none |
create_monitor | Create a monitor | monitors:write | none |
list_monitors | List monitors | monitors:read | none |
list_monitor_changes | List observed monitor changes | monitors:read | none |
explain_monitor_change | Explain an observed monitor change | monitors:read | none |
check_customer_vat | Customer VAT check | reconciliation:run | per_component |
get_customer_vat_check | Read a customer VAT check | history:read | per_component |
Tool results
A successful result carries the complete public result as structuredContent. Its text content starts with a summary and ends with the compact JSON of structuredContent. When that JSON exceeds 16 KB, and always for review_bulk_job, the last text item is a fixed vat_tools_mcp_json_omitted object that points to structuredContent instead. A failed call returns one JSON text item.
Connect with OAuth
OAuth is enabled on the hosted server and is the recommended way to connect interactive AI clients. Start your client's OAuth connection with https://mcp.vat.tools/mcp, or use https://mcp.vat.tools/mcp/readonly for read-only tools. These resources have separate audiences: a token for one cannot authenticate to the other. Discovery filters tools by granted scopes and, for the read-only resource, their read-only annotations.
Sign in to VAT Tools as a verified member whose role allows MCP connections, choose the organization and environment, review the requested access and approve. Every pre-built role except Billing, Viewer and Auditor allows MCP. The consent screen offers only the environments your role allows and only the scopes it holds; requested scopes your role lacks are dropped and named. Sandbox is selected by default; choose Live explicitly when you want to check real businesses. The resulting Connector grant stays bound to that organization and environment.
Connect Claude (web, desktop and Claude Code)
- In Claude (web or desktop), open Customize, then Connectors, and choose Add custom connector. On Team and Enterprise plans, an organization owner adds the custom web connector under Organization settings so each member signs in individually.
- Name it
VAT Toolsand set the remote MCP server URL tohttps://mcp.vat.tools/mcp(orhttps://mcp.vat.tools/mcp/readonlyfor read-only access). Leave request headers empty and use OAuth. - Approve the connection in the VAT Tools consent screen, selecting your organization and Sandbox or Live.
- In Claude Code, run
claude mcp add --transport http vat-tools https://mcp.vat.tools/mcp, then run/mcpand select Authenticate.
Connect ChatGPT
- In ChatGPT, open Settings, then Apps & Connectors (or Connectors in workspace settings) and add a custom MCP server.
- Enter the server URL
https://mcp.vat.tools/mcp(orhttps://mcp.vat.tools/mcp/readonlyfor read-only tools) and select OAuth authentication. - Sign in to VAT Tools when prompted, pick the organization and environment (Sandbox by default, or Live for real numbers), review the scopes and approve.
The connection acts for you. Each tool call can use only the granted scopes your current role still holds, so tools your role loses stop working. The connection is revoked at once when you leave or are removed from the organization, when your access end date passes, or when your role changes to one without MCP or without the connection's environment.
Revoke access in Connected apps for the selected organization and environment. Every member manages their own connections, and an owner or admin can revoke anyone's. Revocation denies the next API-backed tool call and the next refresh. See OAuth authentication for consent, replacement grants and client revocation limits, and Team members and roles for what each role allows.
Developer key (scripts and CI)
For headless scripts, CI or MCP clients that do not support interactive OAuth, point the client at the hosted Streamable HTTP endpoint with a developer key. Use a sandbox key first and choose only the scopes the tools you call require; a developer key acts for the organization, not for an individual member.
{
"mcpServers": {
"vat-tools": {
"url": "https://mcp.vat.tools/mcp",
"headers": { "Authorization": "Bearer vat_REPLACE_WITH_A_SANDBOX_KEY" }
}
}
}Idempotency and replay
Supply an Idempotency-Key header on an MCP call when the client supports per-request headers, and reuse the same key and tool input after an uncertain response. Keys are unique across operation kinds within an organization and environment.
Monitor tools
The hosted server lists the four monitor tools and offers the monitors:read and monitors:write scopes. Over OAuth, a connection sees a monitor tool only when its grant holds the scope that tool requires.
monitors:read permits reading saved monitors and observed changes; monitors:write permits create_monitor. With monitors:read, the OAuth read-only resource exposes list_monitors, list_monitor_changes and explain_monitor_change. It excludes create_monitor; monitors:write alone cannot authenticate there. These restrictions apply to OAuth connections. A developer-key connection lists every monitor tool, and the API checks the key's scopes on each call.
create_monitor forwards to POST /v1/monitors. Retry with the same Idempotency-Key and input to create one monitor. MCP forwards the caller's key for OAuth and developer-key connections and never invents one. Use a new key for a different logical create.
list_monitors reads saved monitors. list_monitor_changes reads saved observed changes with monitor, fact, counterparty and date filters. Pass nextCursor unchanged to continue either list. explain_monitor_change reads a saved change and returns a deterministic summary containing subject, fact, complete before and after values, outcomes, observedAt, detectedAt and run IDs. These reads make no new source calls or operation charge. An unavailable outcome does not mean invalid or changed.
The API enforces monitor slots, cadence and enabled subject/environment support; refusals return as tool errors. MCP defaults mode to sandbox, and the API checks it against the credential's environment. Monitors run in sandbox and live. Live monitors watch VAT validity and company facts within your plan's monitor slots and cadences, and monitor runs are not charged. Sandbox monitors are observed from fixtures.
Only reviewed government/public-authority services are named as sources; other remote evidence uses anonymous categories and bounded partial correlation assessments.
Customer VAT check tools
The hosted server lists check_customer_vat and get_customer_vat_check.
check_customer_vat forwards to POST /v1/customer-vat-checks and requires reconciliation:run. get_customer_vat_check forwards to GET /v1/customer-vat-checks/{rowOperationId} and requires history:read. Neither tool records review decisions.