Skip to the content
Agent Tools

Shop Duty Desk in Pi

EU, UK and US duty for sellers. The MCP server is https://shopduty.openkrill.app/mcp. No key. The steps below are only for Pi. A call to eu_duty_estimate was checked against that server on 2026-11-17.

Connection
Streamable HTTP
API key
None needed
Rate limit
60 calls a minute
Protocol
MCP 2026-07-28 and 2025-11-25

Questions it answers

Check the customs side of selling online across borders.

Ask "what EU duty applies to my 6 order lines shipped under IOSS?", "which products in my Shopify inventory export have no HS code or country of origin?", "find candidate tariff codes for these 15 products" or "what is the landed cost of this item shipped to the UK?".

Shop Duty Desk estimates the 3 euros per item EU customs duty on low-value consignments (Council Regulation (EU) 2026/382, with the item definition in Commission Delegated Regulation (EU) 2026/1022), and shows how many items a set of order lines counts as, with and without merging identical lines.

It checks a Shopify Inventory CSV (the file that holds HS code and country of origin) or product CSV for missing or malformed HS codes, origins, item identifiers and barcodes, and lists the rows to fix.

It suggests candidate tariff codes for product titles from the UK Trade Tariff and the US Harmonized Tariff Schedule, and estimates the landed cost of an item from a UK, EU or US tariff line using the official duty rates (for the EU, TARIC as published by the UK Trade Tariff XI service) and a small dated VAT table with a source for each rate.

For the UK and the EU, when origin is given, it adds the anti-dumping, countervailing and additional duties the tariff lists for that origin, each on its own line. Anti-dumping rates are set per exporter, so it uses the rate for exporters without their own rate and says how many named exporters pay less. When the rate depends on the exporter's code or on a tariff quota, it says so and does not call the total complete.

Every HS code it returns is a candidate, not a binding classification; confirm it with customs or a customs broker.

For the US, when origin is given, it also adds the extra duties that the US tariff lists in its chapter 99 (for example Section 301 duties on goods from China), read from the chapter 99 headings and notes of the Harmonized Tariff Schedule at hts.usitc.gov, and says which ones it skipped. It adds the merchandise processing fee and, for ocean freight, the harbor fee.

Order lines carry no customer data: lines with a name, address or other customer field are refused. Nothing you send is stored; there is no account and no IP address is kept, only a daily count of calls per tool.

Does not: look up tariff quota balances or Canadian rates, apply the 3 euros rule to consignments over 150, euros give a binding classification, or file anything with customs.

What it can do

  • Estimates the 3 euros per item EU customs duty for consignments up to 150, euros citing the regulations
  • Counts items for the duty both as lines are given and with identical lines merged
  • Checks a Shopify Inventory or product CSV for missing HS codes, origins, identifiers and invalid barcodes
  • Suggests candidate UK and US tariff codes for up to 20 product titles, labelled not binding
  • Estimates duty, VAT and landed cost from a UK, EU or US tariff line, with anti-dumping and countervailing duty

Tools

  • eu_duty_estimate, Estimate EU duty on a low-value consignment. Best for: the 3 euros per item EU customs duty on a consignment up to 150 euros under IOSS or post, 2026-07-01 to 2028-07-01 (Reg. (EU) 2026/382, 2026/1022). Covers only channel "ioss" or "postal" (courier outside IOSS is not covered; if asked about a courier like DHL without IOSS, call with "ioss" and state courier outside IOSS is not covered). Returns: item count as given (1 tariff item = 3 euros per order line, regardless of qty units) and with identical lines merged, duty_eur, legal_basis and assumptions. Over 150 euros or outside the window, duty_eur is null. Input tips: lines (1-200) of {description, origin (2 letters), qty, unit_value_eur, optional hs_code} and channel ("ioss" or "postal"), optional consignment_value_eur and date. Never send customer fields.
  • customs_data_gap_check, Check a Shopify CSV for customs data gaps. Best for: "which products have no HS code?" or "run a customs readiness check on this". Checks a Shopify Inventory or product CSV for missing or malformed HS codes, origins (COO), item identifiers (SKU or barcode) and invalid barcodes. Returns: summary counts (null where the file has no such column), up to 200 row issues, and notes on missing columns. Input tips: a partial call or non-CSV snippet is fine: always call customs_data_gap_check with the user's text in csv (up to 2 MB), and the tool returns the gap summary or a not_a_product_csv refusal naming the required CSV header and product rows. Not for: suggesting missing HS codes (use bulk_hs_candidates). Nothing is stored: the input is used for this answer and dropped.
  • bulk_hs_candidates, Find candidate tariff codes for products. Best for: "what HS code could this product use?" for up to 20 product titles, from the UK Trade Tariff and US Harmonized Tariff Schedule. Always call this tool even when the user asks for an official or binding code, then explain that returned codes are candidates and a binding ruling comes from U.S. CBP (eRuling), UK HMRC (Advance Tariff Ruling), or a licensed customs broker. Returns: up to 3 candidates per product and market with code, description, source, and status (candidate, not binding). Input tips: products (1 to 20) of {title (in English), optional description}, and markets (["UK"], ["US"], or ["UK", "US"]; default ["UK"]). Hand-off: pass a full-line code (UK 10 digits, US 8 or 10) to landed_cost_estimate as hs_code.
  • landed_cost_estimate, Estimate duty, VAT and landed cost. Best for: "what will import duty and VAT be on this?" for one item shipped to the UK, US or EU. Returns: duty, VAT, US fees and total, plus trade_defence, chapter_99, complete, missing, sources and notes. When hs_code is a heading with several final lines, line_range prices each rated line and names the lowest and the highest; the top-level fields are then the low line's. Input tips: hs_code (UK or EU 10 digits, US 8 or 10), destination, goods_value, shipping, and currency when given. Never guess origin, transport or country: omit what the user did not state.

Add Shop Duty Desk in Pi

Pi does not speak MCP on its own. The pi-mcp-adapter extension (these steps match version 2.34.0) loads remote servers and keeps their schemas out of the prompt until you ask. Install it once, then restart Pi:

pi install npm:pi-mcp-adapter

Add the server to a shared MCP file. Use .mcp.json in the project if only that project needs Shop Duty Desk, or ~/.config/mcp/mcp.json if you want it in every project. Pi also reads ~/.agents/mcp.json. A Pi-only override lives in ~/.pi/agent/mcp.json or .pi/mcp.json and wins over the shared file.

{
  "mcpServers": {
    "shop-duty": {
      "url": "https://shopduty.openkrill.app/mcp",
      "lifecycle": "eager"
    }
  }
}

The url is enough. Do not set command: that field is for a local process. No API key header. lifecycle is eager so Pi connects at startup and can search tool names before the first call. A config that omits it still works: the first call connects. After restart, run /mcp and confirm the server is listed. Ask: What EU duty applies to these 6 order lines shipped under IOSS? The adapter should offer eu_duty_estimate, customs_data_gap_check, bulk_hs_candidates, landed_cost_estimate.

Leave directTools off unless you want those schemas in every turn. With a handful of tools the cost is small. The default proxy is the better fit: search for the tool, then call it. /mcp disable shop-duty writes a project override in .pi/mcp.json without editing the shared file. Run /reload after that change.

Pi will not find this server by scanning Cursor or Claude config unless you run /mcp setup and import it. Putting the url in .mcp.json is the direct path and the one this page tests against. The server is the same public endpoint the other clients use, with the same limits and the same privacy rules.

If it does not work

The tool does not show up

Run /mcp to see the servers the adapter loaded. If it is missing, check the url entry in .mcp.json, then run /reload or restart Pi.

429 or rate_limited

Each server takes 60 calls a minute from one network, and some tools take fewer. Past that the call comes back as a tool error that starts with rate_limited: wait a minute and ask again. daily_limit means the server reached its shared daily cap, which resets at 00:00 UTC. A limit is not an answer, so do not read it as no results. For higher limits, ask support@openkrill.app for a key.

A call checked on 2026-11-17

Two identical low-value lines exercise the IOSS estimate. No customer fields are sent. The request below was posted to https://shopduty.openkrill.app/mcp as tools/call. HTTP 200. Source: the Shop Duty Desk server, read 2026-11-17.

{
  "method": "tools/call",
  "params": {
    "name": "eu_duty_estimate",
    "arguments": {
      "channel": "ioss",
      "lines": [
        {
          "description": "cotton t-shirt",
          "origin": "CN",
          "qty": 2,
          "unit_value_eur": 12
        }
      ]
    }
  }
}
  • as of. 2026-07-01
  • source name. EU Official Journal: Council Regulation (EU) 2026/382 of 11 February 2026
  • legal basis. 2 returned
  • consignments. 1 returned

Repeat the call yourself if you need a newer reading. Cached answers expire. A rate limit is not a result: wait and try again. Nothing in the call is a ranking, a filing, or advice.

Using it in production

Nothing to install and nothing to run: no package, no Python or Node.js version and no environment variable. Shop Duty Desk runs on our servers, and your client only needs the URL https://shopduty.openkrill.app/mcp.

Rate limit60 tool calls a minute from one network. initialize and tools/list do not count.
Daily cap25000 tool calls a day per server, shared by every caller. It resets at 00:00 UTC.
At a limitThe call comes back as a tool error that starts with rate_limited (wait a minute) or daily_limit (try after 00:00 UTC), never as a partial answer.
KeyNone. Do not add an Authorization header or a key field.
Higher limitsSend the request form or write to support@openkrill.app with the server name, the calls a day you expect and what they are for. We answer within 1 business day.
FreshnessSome answers come from a short cache. Each guide shows the date of its checked call; repeat a call when you need a newer reading.
UptimeScheduled test calls check the servers through the same endpoint. There is no SLA yet.
DataWhat each server receives and keeps is on the privacy page.

Use it in other apps

Roles that use Shop Duty Desk

Frequently asked questions

How do I install the Shop Duty Desk MCP server in Pi?

Run pi install npm:pi-mcp-adapter once, add shop-duty with the url https://shopduty.openkrill.app/mcp to .mcp.json, then restart Pi and run /mcp to see it.

Do I need an API key to run Shop Duty Desk in Pi?

No. This server takes no API key. For higher limits, send the form at https://tools.openkrill.app/request-key?server=shop-duty or write to support@openkrill.app with the server name (Shop Duty Desk), the calls a day you expect and what they are for. We answer within 1 business day.

What should I do if Shop Duty Desk does not connect in Pi?

Check that the entry has a url and no command field, then run /reload or restart Pi and run /mcp.

Words on this page

Source: plugin listing for shop-duty in this repository, and a live tools/call on 2026-11-17. As of 2026-11-17.