Repository avatar
Other Tools
v1.0.1
active

uk-trade-tariff-customs-mcp

io.github.theluckystrike/uk-trade-tariff-customs-mcp

UK HMRC Trade Tariff lookup for HS commodity codes, customs duty rates, VAT, and sections.

Documentation

uk-trade-tariff-customs-mcp

Live UK HMRC Trade Tariff and customs duty lookup over Model Context Protocol (MCP). Customs brokers, UK importers, global trade teams, and supply chain analysts can inspect 4-digit headings, 10-digit commodity codes, import duty rates, and HS sections with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://uk-trade-tariff-customs-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
get_uk_tariff_headingFetch a 4-digit UK Trade Tariff heading with its description and declarable commodity codes
get_uk_commodity_dutiesRetrieve a 10-digit UK commodity code with import duty expressions, VAT flags, and geographical measures
search_uk_trade_tariffSearch the UK HMRC Trade Tariff by product keyword or HS code prefix
get_tariff_sections_and_chaptersList all 21 Harmonized System tariff sections or inspect chapters inside a specific section

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "uk-trade-tariff": {
      "url": "https://uk-trade-tariff-customs-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries www.trade-tariff.service.gov.uk/api/v2/ with a polite User-Agent header (mcpstamp-uk-trade-tariff/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All four tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.