Skip to main content
Glama

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

Related MCP server: usitc-tariffs-mcp-server

Available tools

Tool

Purpose

get_uk_tariff_heading

Fetch a 4-digit UK Trade Tariff heading with its description and declarable commodity codes

get_uk_commodity_duties

Retrieve a 10-digit UK commodity code with import duty expressions, VAT flags, and geographical measures

search_uk_trade_tariff

Search the UK HMRC Trade Tariff by product keyword or HS code prefix

get_tariff_sections_and_chapters

List 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.

Available Tools

4 tools
get_tariff_sections_and_chaptersGet UK tariff sections and chaptersA
Read-onlyIdempotent
Inspect

List all 21 Harmonized System tariff sections, or pass section_id (1 to 21) to inspect chapters inside a specific section.

Inputs: section_id.

get_uk_commodity_dutiesGet UK commodity customs dutiesB
Read-onlyIdempotent
Inspect

Retrieve a 10-digit UK commodity code with basic duty rate, import/export measures, VAT/excise flags, and geographical area applicability.

Inputs: commodity_code (required), limit.

get_uk_tariff_headingGet UK Trade Tariff headingA
Read-onlyIdempotent
Inspect

Fetch a 4-digit UK HMRC Trade Tariff heading, its plain-text description, validity dates, and declarable child commodity codes.

Inputs: heading_code (required), limit.

search_uk_trade_tariffSearch UK Trade TariffA
Read-onlyIdempotent
Inspect

Search the UK HMRC Trade Tariff by product keyword or HS code prefix to find matching headings and commodity codes.

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools target distinct stages of the tariff hierarchy: section/chapter browsing, heading lookup, commodity duty lookup, and keyword/HS-prefix search. Search slightly overlaps with the exact-code retrieval tools, but input types make the boundaries mostly clear.

    Naming Consistency4/5

    All names use snake_case and verb-first construction, with get_* for retrieval and search_* for search. Minor inconsistency in noun prefixes (tariff_sections, uk_tariff_heading, uk_commodity_duties, uk_trade_tariff) keeps it from being fully predictable.

    Tool Count5/5

    Four tools is well-scoped for a read-only tariff reference server, covering browse, lookup, detail, and search without redundant operations.

    Completeness4/5

    The core tariff lookup lifecycle is covered: sections/chapters, headings, commodity duties, and search. Minor gaps may exist around dedicated chapter detail retrieval and supplementary measure metadata, but common workflows are supported.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables looking up UK commodity codes and their full tariff details, including duty rates by origin, VAT, excise, import/export conditions, and live quota balances.
      43 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching U.S. Harmonized Tariff Schedule commodity descriptions and code prefixes, inspecting classification headings and ancestry, browsing chapters, and retrieving published duty-rate columns and partial Chapter 99 evidence via MCP.
      232 npm
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables MCP clients to query public ICEGATE customs data without login, including shipping bill status, import duty calculations, CBIC exchange rates, code and trade-guide lookups, and GSTIN status.
      GPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to look up US import tariff layers for an HTS code and origin, compare origins side by side, search HTSUS lines by keyword or partial code, and calculate full landed costs for 70+ countries. Every answer is date-stamped and tied to a named HTSUS revision, and three of the four tools work without an account or API key.
      4
      MIT