DataCastle EU Compliance & Customs

v1.0.0
io.github.GhazwanAlemara/datacastle Checked 2 hours ago Published 13 days ago

EU AI Act risk classifier, TARIC code validator, and 3-way freight reconciliation MCP server.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

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.

ParameterTypeDescription
documentText *stringRaw text content of the customs document, CMR note, or commercial invoice to audit.
documentTypestringType of document. Options: 'CMR', 'SAD_DECLARATION', 'COMMERCIAL_INVOICE', 'AUTO_DETECT'. Defaults to 'AUTO_DETECT'.

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.

ParameterTypeDescription
invoiceItems *arrayList of items as stated on the commercial invoice.
shippingItems *arrayList of items as recorded on the transport waybill or physical packing list.
declaredCurrencystringISO currency code (e.g. 'EUR', 'SEK', 'USD'). Default: 'EUR'.

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.

ParameterTypeDescription
goodsDescription *stringCommercial description of the imported/exported merchandise.
tariffCode *stringThe 8-digit CN or 10-digit TARIC code (e.g. '8481.20.90' or '8481209000').

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.

ParameterTypeDescription
systemDescription *stringDetailed description of the AI system, autonomous agent, or model use case.
systemRolestringPrimary domain of the AI system.