Skip to main content
Glama
Jazib-but

VAT Validation MCP Server

by Jazib-but

list_eu_member_states

Retrieve all EU member state codes required for validating VAT numbers through the official VIES service.

Instructions

List all EU member state codes for VAT validation / Zobraziť všetky kódy členských štátov EÚ pre validáciu IČ DPH

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler that maps EU_MEMBER_STATES to bilingual names and returns formatted text list.
    case 'list_eu_member_states': {
      const memberStates = EU_MEMBER_STATES.map(code => {
        const countryNames: Record<string, string> = {
          'AT': 'Austria / Rakúsko',
          'BE': 'Belgium / Belgicko',
          'BG': 'Bulgaria / Bulharsko',
          'CY': 'Cyprus / Cyprus',
          'CZ': 'Czech Republic / Česká republika',
          'DE': 'Germany / Nemecko',
          'DK': 'Denmark / Dánsko',
          'EE': 'Estonia / Estónsko',
          'EL': 'Greece / Grécko',
          'ES': 'Spain / Španielsko',
          'FI': 'Finland / Fínsko',
          'FR': 'France / Francúzsko',
          'HR': 'Croatia / Chorvátsko',
          'HU': 'Hungary / Maďarsko',
          'IE': 'Ireland / Írsko',
          'IT': 'Italy / Taliansko',
          'LT': 'Lithuania / Litva',
          'LU': 'Luxembourg / Luxembursko',
          'LV': 'Latvia / Lotyšsko',
          'MT': 'Malta / Malta',
          'NL': 'Netherlands / Holandsko',
          'PL': 'Poland / Poľsko',
          'PT': 'Portugal / Portugalsko',
          'RO': 'Romania / Rumunsko',
          'SE': 'Sweden / Švédsko',
          'SI': 'Slovenia / Slovinsko',
          'SK': 'Slovakia / Slovensko',
        };
        return `${code}: ${countryNames[code] || code}`;
      });
    
      return {
        content: [
          {
            type: 'text',
            text: `EU Member States for VAT Validation / Členské štáty EÚ pre validáciu IČ DPH:\n\n${memberStates.join('\n')}`,
          },
        ],
      };
    }
  • src/index.ts:84-91 (registration)
    Tool registration in ListToolsRequestSchema handler, including name, description, and empty input schema.
    {
      name: 'list_eu_member_states',
      description: 'List all EU member state codes for VAT validation / Zobraziť všetky kódy členských štátov EÚ pre validáciu IČ DPH',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Constant array of EU member state codes used by the handler.
    export const EU_MEMBER_STATES = [
      'AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'EL', 'ES', 'FI', 'FR',
      'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO',
      'SE', 'SI', 'SK'
    ] as const;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jazib-but/check-vat-vies-mcp-Jazib'

If you have feedback or need assistance with the MCP directory API, please join our Discord server