Skip to main content
Glama
VIES VAT Checker MCP Server

VIES VAT Checker MCP Server

by ShepDogSk
README.md
# VIES VAT Checker MCP Server

MCP server pre overenie platnosti IČ DPH v členských štátoch Európskej únie pomocou služby VIES (VAT Information Exchange System).

## Funkcie / Features

- **Validácia IČ DPH** - Overenie platnosti IČ DPH v reálnom čase
- **Testovacia služba** - Testovanie integrácie pomocou testovacích IČ DPH
- **Kontrola stavu** - Monitoring dostupnosti služby VIES a jednotlivých členských štátov
- **Viacjazyčná podpora** - Slovenčina a angličtina
- **Predspracovanie** - Automatické opravy bežných chýb v IČ DPH

## Inštalácia / Installation

```bash
# Klonujte repozitár
git clone <repository-url>
cd check-vat-vies-mcp

# Nainštalujte závislosti
npm install

# Skompilujte TypeScript
npm run build
```

## Konfigurácia / Configuration

### Claude Desktop

Pridajte do `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "vies-vat-checker": {
      "command": "node",
      "args": ["/absolute/path/to/check-vat-vies-mcp/dist/index.js"],
      "env": {},
      "description": "EU VAT number validation using VIES service"
    }
  }
}
```

### Augment

Pridajte do konfigurácie:

```json
{
  "mcpServers": {
    "vies-vat-checker": {
      "command": "node",
      "args": ["./dist/index.js"],
      "cwd": "/path/to/check-vat-vies-mcp",
      "env": {},
      "description": "EU VAT number validation using VIES service"
    }
  }
}
```

## Použitie / Usage

### Dostupné nástroje / Available Tools

1. **check_vat_number** - Validácia IČ DPH
   - `countryCode`: Kód členského štátu EÚ (napr. SK, CZ, DE)
   - `vatNumber`: IČ DPH bez predpony krajiny

2. **check_vat_test_service** - Testovacia služba
   - `countryCode`: Kód členského štátu EÚ
   - `vatNumber`: Testové IČ DPH (100 = platné, 200 = neplatné)

3. **check_vies_status** - Kontrola stavu služby
   - Žiadne parametre

4. **list_eu_member_states** - Zoznam členských štátov EÚ
   - Žiadne parametre

### Príklady / Examples

```typescript
// Validácia slovenského IČ DPH
{
  "countryCode": "SK",
  "vatNumber": "2020000000"
}

// Test služby
{
  "countryCode": "SK", 
  "vatNumber": "100"
}
```

## Podporované krajiny / Supported Countries

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

## Vývoj / Development

```bash
# Vývojový režim s watch
npm run dev

# Spustenie testov
npm run test

# Linting
npm run lint
npm run lint:fix
```

## API Dokumentácia

Server používa oficiálne VIES REST API:
- Base URL: `https://ec.europa.eu/taxation_customs/vies/rest-api`
- Dokumentácia: [VIES REST API](https://ec.europa.eu/taxation_customs/vies/swagger_publicVAT.yaml)

## Licencia / License

MIT

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation4/5

The core validation, service status, and reference-data tools are clearly distinct. The only mild overlap is between check_vat_number and check_vat_test_service, but their descriptions make the real-vs-test distinction explicit.

Naming Consistency5/5

All tool names use a consistent snake_case verb_noun pattern, with clear verbs such as check and list. No mixed conventions or ambiguous naming styles appear.

Tool Count5/5

Four tools is well-scoped for a narrow VIES VAT validation service. Each tool covers a distinct aspect of validation, testing, status checking, or reference lookup.

Completeness5/5

The surface covers the full lifecycle for this domain: validating VAT numbers, testing service integration, checking service availability, and retrieving EU member state codes. No obvious operational gaps remain.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues