# DataCastle EU Compliance & Customs

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

- name: io.github.GhazwanAlemara/datacastle
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 82/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.GhazwanAlemara%2Fdatacastle
- tools: https://api.protogrid.dev/v1/servers/io.github.GhazwanAlemara%2Fdatacastle/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

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


## Trust

- hygiene: 100
- liveness: 99
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-98% +updated-11d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 82/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2024-11-05; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 78 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: datacastle_audit_customs_document (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); datacastle_reconcile_freight_discrepancy (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); datacastle_verify_taric_code (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 803 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 803 tokens to load them all
- tool set hash: df26bc5c2e988da891a99a01a0e4a489
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.GhazwanAlemara/datacastle.svg)](https://protogrid.dev/servers/io.github.GhazwanAlemara/datacastle)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://datacastle.eu/api/mcp (streamable-http, auth none, reachable true, uptime30d 0.9767442)

## Packages

_none_

## Tools (4)

- `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_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.
- `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.
