惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
L
LangChain Blog
博客园_首页
Recent Announcements
Recent Announcements
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
博客园 - 叶小钗
博客园 - 【当耐特】
The Cloudflare Blog
J
Java Code Geeks
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Validate EU VAT Numbers in Claude Desktop, Cursor, and Ch...
Iurii Roguli · 2026-05-27 · via DEV Community

Originally published at vatnode.dev. The version on vatnode.dev is the canonical source — refer to it for the latest content.

Your AI assistant can now check if a VAT number is real, pull the registered company name, and look up VAT rates for every EU country — all without leaving the chat. We just released vatnode-mcp, the official Model Context Protocol (MCP) server for vatnode.

This post covers what MCP is in 30 seconds, how to install the vatnode server in Claude Desktop / Cursor / ChatGPT, and a few concrete examples of why this is useful for anyone doing EU B2B work.

What MCP is (in 30 seconds)

Model Context Protocol is an open standard from Anthropic for connecting AI assistants to external tools and data sources. An MCP server exposes a small set of tools — named functions with described inputs — and the AI model picks the right one based on what the user is asking.

Think of it as the "USB-C of AI integrations": write one MCP server and any compatible client (Claude Desktop, Cursor, ChatGPT's custom-connectors, Cline, Continue, and more) can use it. The user just edits a config file once — no per-app integration work.

The five tools

vatnode-mcp ships five tools, four of them fully offline and free:

  • get_country_vat_rates — standard, reduced, super-reduced and parking rates for a single country, plus the VAT number format and regex. Covers 45 European jurisdictions.
  • list_eu_vat_rates — all 27 EU member states (plus XI for Northern Ireland) at once.
  • check_vat_format — offline syntactic check of a VAT number against the country regex. Does not call VIES; great for a quick sanity check before burning quota.
  • list_supported_countries — which countries support full VIES validation vs rate-lookup-only.
  • validate_vat_number — live VIES validation. Returns validity, registered company name, address, registration date, and (when a requester VAT is configured on your vatnode account) a VIES consultation number for audit proof. Requires a free vatnode API key.

Why four free tools? Because the data is bundled into the package via eu-vat-rates-data (also open source) — there's nothing to charge for. The paid tool is the one that calls real VIES infrastructure.

Install

One config file edit. Open claude_desktop_config.json (on macOS: ~/Library/Application Support/Claude/) and add:

{
  "mcpServers": {
    "vatnode": {
      "command": "npx",
      "args": ["-y", "vatnode-mcp"],
      "env": {
        "VATNODE_API_KEY": "vat_live_..."
      }
    }
  }
}

Enter fullscreen mode Exit fullscreen mode

Restart Claude Desktop. That's it. The vatnode tools appear in the tool picker. For Cursor, paste the same JSON in Settings → MCP → Add new server. ChatGPT custom connectors and other MCP clients (Continue, Cline) follow the same pattern.

The VATNODE_API_KEY is optional — without it you still get all four free tools. To enable live VIES validation, grab a free API key (no credit card; the free tier includes a monthly request quota).

What it actually looks like

A few real example exchanges (you don't have to name the tool — Claude picks it from the description):

You: What's the standard VAT rate in Finland and Germany?

(Claude calls get_country_vat_rates for FI and DE — free, no key needed.)

Claude: Finland's standard VAT rate is 25.5% (raised from 24% in September 2024). Germany's is 19%. Finland also has reduced rates of 13.5% and 10%; Germany has 7%.

You: Is IE6388047V a valid VAT?

(Claude calls validate_vat_number — uses your API key.)

Claude: Yes, IE6388047V is valid. It belongs to GOOGLE IRELAND LIMITED, registered at Gordon House, Barrow Street, Dublin 4, Ireland.

You: I have a list of 12 European customers. Tell me which countries have reduced VAT rates for restaurant services.

(Claude calls list_eu_vat_rates, processes the result and answers in context.)

Claude: France (10% reduced), Spain (10%), Italy (10%), Portugal (13% intermediate)... [the model interprets the data for the user's actual question]

The point isn't that Claude does VAT lookup faster than a Google search. It's that the result lands in the same conversation where you're drafting an invoice, double-checking a supplier, or writing checkout code — no context switch.

When this is genuinely useful

  • Drafting invoices in chat: "Generate an invoice for this German customer — VAT ID DE123456789, rate to apply, reverse-charge note." Claude validates, looks up the rate, structures the document.
  • Supplier due diligence: Paste a VAT number, get the registered company name and address. No tab switches to VIES.
  • Writing tax-aware code: "Add VAT calculation for these countries to my checkout" — Claude pulls real rates and writes them into your code, not guesses from training data.
  • Cross-border B2B onboarding: Drop a list of customer VATs, ask Claude to flag the invalid ones and pull company names for the rest.
  • Auditing existing invoices: "Is the VAT on this 2024 invoice still valid?" — Claude re-checks now, you decide whether to chase the customer for an update.

Why use the official server

Third-party MCP marketplaces sometimes ship VAT-validation wrappers built around our public API. Using vatnode-mcp directly is the only way to:

  • Keep your API key on your own machine — it never touches a hosted middle-tier
  • Get tool descriptions that track the real API release-by-release (we're the ones shipping both)
  • Skip an extra subscription tier on top of your vatnode plan
  • Read the source — it's open and every release is signed with npm provenance — a cryptographic proof that the npm package was built from a specific commit in our public GitHub repo

What's next

The current release ships five tools. Coming soon: bulk_validate for processing lists in one call, subscribe_to_vat_changes for monitoring (so the agent can warn you if a known-good VAT later de-registers), and a vies_consultation_number tool that returns the audit token VIES issues when a requester VAT is configured.

If you have a specific use case the current tools don't cover, open an issue on GitHub — tool descriptions are tuned based on what people actually try, so feedback directly shapes the next release.

Try it now

  1. Sign up for a free vatnode account (optional — needed only for live VIES validation)
  2. Paste the config block above into your claude_desktop_config.json
  3. Restart Claude Desktop and ask it a VAT question

Full docs: vatnode.dev/docs/mcp