Skip to content
MCP server

US & UK Import Tariffs and Duty Rates

MCP server looking up US and UK import tariff codes, duty rates and landed-cost estimates

Runs locally
Install
Pricing
Open source
Platforms
CLI, self-hosted, API
Runs
Locally
Version
0.1.0
Listing updated
today

Similar MCP servers

About US & UK Import Tariffs and Duty Rates

US & UK Import Tariffs and Duty Rates is an open-source MCP server for compliance and regulation. It runs locally on your machine and is started by your AI client.

This server gives AI clients live access to the US Harmonized Tariff Schedule and the UK Trade Tariff, two official public tariff databases. An agent can search for a commodity code from a plain product description, then pull the duty rate for that code given a country of origin. Rates that depend on a free trade agreement are shown alongside the general rate where the origin maps to one.

The README says the tools also produce rough landed-cost estimates for a single shipment line. For the US this covers the merchandise processing and harbor maintenance fees; for the UK it covers duty on the CIF value and import VAT. Each response carries a disclaimer, and the author stresses that it is reference data rather than customs advice.

The server is aimed at developers building trade or sourcing assistants and at people who want an AI assistant to check tariff lines before importing goods. Known gaps include US Section 301 and other Chapter 99 additional duties, which are referenced but not calculated.

Install

Run in a terminal

claude mcp add tariff-duty-mcp -- npx -y https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb

Add to claude_desktop_config.json

{
  "mcpServers": {
    "tariff-duty-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tariff-duty-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "tariff-duty-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tariff-duty-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "tariff-duty-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

search_hs_code
Candidate tariff codes for a product description, with the parent-heading path and US General rate.
get_duty_rate
Rates for one code by market and country of origin, including preference and VAT information.
estimate_landed_cost
Duty, US MPF/HMF or UK import VAT, and total landed cost for one shipment line.

What it does

Commodity code search
Finds candidate US HTS or UK tariff codes from a free-text product description.
Duty rates by origin
Returns general, special-program and column 2 rates for US codes, or third-country and preference rates for UK codes, based on country of origin.
Landed-cost estimate
Estimates duty, US fees or UK import VAT, and total landed cost for one shipment line with assumptions and warnings.
Live official data
Queries the USITC and UK Trade Tariff APIs on each call without requiring an API key.
Stdio and HTTP transports
Runs locally over stdio for desktop clients or as a streamable HTTP server.

Good for

  • Checking the likely duty on a product before placing an import order
  • Comparing duty rates for the same product from different countries of origin
  • Finding the HTS or UK commodity code for a product description
  • Estimating landed cost for a shipment to add to a sourcing spreadsheet

Pricing

Open source

MIT licensed, self-run; no paid hosted plan mentioned.

US & UK Import Tariffs and Duty Rates FAQ

Does it include US Section 301 tariffs on Chinese goods?

No. The README says Chapter 99 additional duties such as Section 301 are not computed; the tool returns footnote references and a warning instead.

Does it require an API key?

No. The README states that both the USITC and UK Trade Tariff APIs are keyless and that no environment variable is needed.

Which countries get preferential US rates?

The README lists mapped free trade partners including AU, BH, CA, CL, CO, IL, JO, JP, KR, MA, MX, OM, PA, PE, SG and CAFTA-DR. Other preference programs are listed but not applied.

Is the output legal customs advice?

No. The README says results are reference data and estimates, and that users should confirm with a licensed customs broker or the official tariff.

Is US & UK Import Tariffs and Duty Rates free?

Yes. US & UK Import Tariffs and Duty Rates is open source, so you can use and self-host it for free.

How do I add US & UK Import Tariffs and Duty Rates to Claude Code?

Run this command in your terminal: claude mcp add tariff-duty-mcp -- npx -y https://github.com/santex85/tariff-duty-mcp/releases/download/v0.1.0/tariff-duty-mcp.mcpb

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers