# DataCastle EU Compliance & Customs

> DataCastle EU Compliance & Customs is a freemium MCP server for legal and government. EU customs, freight and AI Act compliance agents for European logistics teams. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, self-hosted, Web
- **Website:** https://datacastle.eu/open
- **Repository:** https://github.com/ghazwanalemara/datacastle-open
- **MCP Registry name:** io.github.GhazwanAlemara/datacastle
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-19

## About

The README describes the open-source datacastle-open engine as a self-hostable local tool that runs in Docker or Python, so supplier invoices, freight rates and customs declarations can stay inside a company's own network. The hosted DataCastle service adds EU cloud processing, AI-based PDF extraction and live TARIC duty lookups on top of that core.

The product targets document-heavy work in European logistics: parsing customs declarations, auditing CMR consignment notes and freight invoices, and checking bills of lading and packing lists. Its checks include TARIC and HS code validation, EORI cross-checking, gross versus net mass consistency, linehaul and fuel surcharge auditing, and dangerous goods verification.

The website also offers a 48-hour proof-of-value on a company's own redacted historical documents, with a signed bilateral DPA before any data is sent and a sandbox purge after seven days. The MCP server exposes a streamable-HTTP endpoint for AI clients and is described in its registry entry as covering EU AI Act risk classification, TARIC validation and three-way freight reconciliation.

## Features

- **Self-hosted local engine:** The open-source engine runs in Docker or as a Python CLI so documents can stay on the user's own infrastructure.
- **TARIC and HS code validation:** Checks TARIC and CN customs codes, with live duty lookups available on the hosted tier.
- **Three-way freight reconciliation:** Compares freight documents against each other to surface discrepancies in weights, codes and charges.
- **EU AI Act risk classification:** Classifies a described system under Regulation EU 2024/1689 by risk level.
- **EU-only data residency:** Hosted processing runs in EU cloud regions under a bilateral DPA signed before transfer.

## Good for

- Catching customs holds before border filing
- Auditing carrier freight invoices against contracted rate tables
- Validating TARIC and HS codes on customs declarations
- Classifying internal AI systems under the EU AI Act
- Reconciling shipment documents across commercial invoices, packing lists and CMR waybills

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http datacastle https://datacastle.eu/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://datacastle.eu/api/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "datacastle": {
      "url": "https://datacastle.eu/api/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "datacastle": {
      "type": "http",
      "url": "https://datacastle.eu/api/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "datacastle": {
      "serverUrl": "https://datacastle.eu/api/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://datacastle.eu/api/mcp
```

Enter a Name (for example "DataCastle EU Compliance & Customs"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "datacastle": {
      "type": "http",
      "url": "https://datacastle.eu/api/mcp"
    }
  }
}
```

## Tools

- `datacastle_audit_customs_document`: Performs deep audit and entity extraction on EU freight and customs documents (CMR Consignment Notes, Tullverket SAD Customs Declarations, Commercial Invoices). Extracts TARIC/HS codes, gross/net weights, Incoterms, currency, and cross-checks for discrepancy risks.
- `datacastle_reconcile_freight_discrepancy`: Performs deterministic reconciliation between commercial invoice items and packing list / waybill shipping manifests. Compares line-item quantities, gross/net weights, declared customs values, and flags variances exceeding legal tolerances.
- `datacastle_verify_taric_code`: Validates an EU 8-to-10 digit TARIC / HS Customs Classification Code. Verifies chapter hierarchy, numerical syntax, checks against EU customs nomenclature, and audits alignment with provided goods description.
- `datacastle_check_ai_act_compliance`: Evaluates enterprise AI architectures and logistics software against the EU AI Act (Regulation EU 2024/1689). Classifies risk tier (Prohibited, High-Risk, Transparency, Minimal), assesses Article 10 data governance compliance, and generates required technical documentation mandates.

## FAQ

### Is the open-source version free?

The README lists datacastle-open under the Apache-2.0 licence, with unlimited reconciliation, TARIC syntax checks and AI Act classification at no cost.

### What does the free community key add?

According to the README, a free community key adds three cloud AI PDF extractions and live EU TARIC lookups per month, plus cloud registry sync for seals.

### Where is data processed in the hosted service?

The website states that agent computation and document storage run exclusively in EU cloud regions, with historical sample files purged after seven days.

### Does the vendor train models on customer data?

The website says customer invoices, pricing schedules and identities are not used to train or fine-tune public foundation models.

### Is DataCastle EU Compliance & Customs free?

DataCastle EU Compliance & Customs has a free plan, with paid plans for more usage or features.

### How do I add DataCastle EU Compliance & Customs to Claude Code?

Run this command in your terminal: claude mcp add --transport http datacastle https://datacastle.eu/api/mcp

### What are the best alternatives to DataCastle EU Compliance & Customs?

The closest alternatives to DataCastle EU Compliance & Customs are DataX Germany & EU Official Registries, Eu Ai Act, DataX France & EU Official Registries, DataX Portugal & EU Official Registries and Spurvik EU AI Act.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [DataX Germany & EU Official Registries](https://ai-powered.com/mcp/datax-germany-and-eu-official-registries): DataX Germany & EU Official Registries is a freemium MCP server for legal and government.
- [Eu Ai Act](https://ai-powered.com/mcp/eu-ai-act): Eu Ai Act is a free MCP server for legal and government.
- [DataX France & EU Official Registries](https://ai-powered.com/mcp/datax-france-and-eu-official-registries): DataX France & EU Official Registries is a paid MCP server for legal and government.
- [DataX Portugal & EU Official Registries](https://ai-powered.com/mcp/datax-portugal-and-eu-official-registries): DataX Portugal & EU Official Registries is a freemium MCP server for legal and government.
- [Spurvik EU AI Act](https://ai-powered.com/mcp/spurvik-eu-ai-act): Spurvik EU AI Act is a freemium MCP server for security.
- [DataX Italy & EU Official Registries](https://ai-powered.com/mcp/datax-italy-and-eu-official-registries): DataX Italy & EU Official Registries is a freemium MCP server for legal and government.
- [Double AIgents DSAR service](https://ai-powered.com/mcp/double-aigents-dsar-service): Double AIgents DSAR service is an open-source MCP server for legal and government.
- [NovaPixel LexGrid](https://ai-powered.com/mcp/novapixel-lexgrid): NovaPixel LexGrid is a freemium MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/datacastle-eu-compliance-and-customs
