{
  "markdown": "# Gateway Tariff Calculator\n\nAnswer US import duty questions in Claude Code from a live tariff engine, with the\ncitation for every figure.\n\nBuilt and maintained by [Gateway Lines](https://gatewaylines.com), an FMC-licensed NVOCC\nand ocean freight forwarder, using the same tariff engine that prices our own shipments.\n\n## Install\n\n**Claude Code**\n\n```\n/plugin install gateway-tariff-calculator\n```\n\n**Gemini CLI**\n\n```\ngemini extensions install https://github.com/xcodesjs/gateway-tariff-plugin\n```\n\n**Any other MCP client**\n\nPoint it at `https://mcp.gatewaylines.com` and sign in when prompted. Claude and ChatGPT\nboth discover the sign-in automatically; see\n[the setup guide](https://tariff.gatewaylines.com/mcp) for per-client steps.\n\n## Access and sign-in\n\nThe first time a tool runs, your client opens a browser to a Gateway sign-in page. There are\ntwo ways through it, and you pick one at that screen.\n\n### Guest — 10 lookups per week, free\n\nEnter an email address. Gateway sends a 6-digit code, you enter it, and you are connected.\nNo account, no card, nothing to set up.\n\nThe limit is 10 answered lookups per rolling 7 days, counted per address. It is a rolling\nwindow, so the tenth lookup frees up exactly seven days after you made it, not at the end\nof a calendar week.\n\nAsking for candidate HTS codes does **not** count against it. When you give `landed_cost` a\nproduct description instead of a code, it returns candidates for you to confirm and charges\nnothing, because that is a question back to you rather than an answer.\n\n### Gateway freight customer — unlimited\n\nChoose **I ship with Gateway** and sign in with your app.gatewaylines.com account. The\nweekly limit comes off entirely. The platform comes with the freight; Gateway earns on the\ncontainer, so the tools are not a subscription.\n\nNot a customer yet? [Get a rate](https://gatewaylines.com/quote).\n\n### How the sign-in works\n\nStandard OAuth 2.1. Claude registers itself with Gateway automatically, sends you to the\nbrowser to approve, and receives a scoped token. You never paste a key, a token, or a\nheader into a config file, and Gateway never sees a password you typed into Claude.\n\nThe token is scoped to the three read-only tariff tools and nothing else. Access tokens\nexpire after an hour and refresh silently. Disconnect from your AI assistant at any time to\nstop it refreshing, or email privacy@gatewaylines.com to have outstanding tokens revoked\nimmediately.\n\n## Tools\n\n| Tool | What it does |\n|---|---|\n| `landed_cost` | Duty and landed cost for an HTS code and country of origin, including every trade action that stacks: Section 301, Section 232, Section 338, AD/CVD and the rest, plus government fees |\n| `classify_hts` | Candidate HTS classifications for a product, with official descriptions and base rates |\n| `policy_changes_since` | What changed in US trade policy and what takes effect next, each with its source |\n\nAll three are read only. The server holds no shipment, invoice or account data and cannot\nchange anything.\n\n## What it does not do\n\n`landed_cost` will not price a classification it guessed. Given a product description\nrather than an HTS code it returns candidate lines and asks you to confirm one, because\nthe classification decides the duty and the tariff schedule classifies by what an article\nIS, not what it is made of. That step is not charged.\n\nIt also refuses to price 4 and 6 digit headings, which carry no rate of their own.\n\n## Accuracy\n\nFigures come from the live US Harmonized Tariff Schedule and published trade actions, and\nresponses carry the legal reference: Federal Register document numbers, CBP CSMS\nbulletins, USTR dockets, HTSUS notes.\n\nThey are planning estimates, not customs rulings. Classification is the importer's legal\nresponsibility. Confirm with a licensed customs broker before entry.\n\n## Examples\n\n```\nWhat will it cost to import $62,000 of cotton t-shirts from India?\nFind the HTS code for lithium ion batteries.\nWhat changed in US trade policy since July 1?\nI import metal patio furniture from Canada. Does anything change soon?\n```\n\nThat last one shows the engine is date aware: it returns the duty owed today alongside\nany scheduled change and its effective date.\n\n## Privacy Policy\n\nFull policy: <https://gatewaylines.com/privacy> (section 18 covers this connector).\n\n**What is collected.** For guests, the email address you verify, plus each lookup: the\nHTS code, country of origin and declared value you asked about, with the time and\noriginating IP address. For customers, the same lookup details against your account.\n\n**What is not collected.** We do not receive your conversation. The server only ever sees\nthe specific arguments a tool is called with.\n\n**How it is used.** Lookup records enforce the guest usage limit and let us detect abuse.\nA verified guest email is added to our customer relationship records and may be used to\ncontact you about Gateway freight services; you can opt out at any time via the\nunsubscribe link in any message or by emailing privacy@gatewaylines.com.\n\n**Sharing.** Your AI assistant provider is a separate company with its own privacy policy\ngoverning your conversation; Gateway has no access to it. Gateway uses a small number of\nservice providers to deliver the verification email and store the records above; they are\nnamed in the full privacy policy linked at the top of this section.\n\n**Retention.** Connector lookup records are kept for 24 months for abuse detection and\nservice analysis. Verification codes are deleted after 10 minutes. Access and refresh\ntokens are stored as one-way hashes, never in readable form; access tokens expire after\none hour.\n\n**Your controls.** Disconnect at any time from your AI assistant, which stops the client\nrefreshing. Email privacy@gatewaylines.com to have outstanding tokens revoked immediately,\nor to request access, correction or deletion of your data.\n\n**Contact.** privacy@gatewaylines.com\n\n## Support\n\n<https://help.gatewaylines.com>\n\n## License and ownership\n\nThis repository contains only the plugin configuration: a manifest, a pointer to the\nhosted server, and this documentation. There is no application code here.\n\nThe Gateway Tariff Calculator service, its tariff engine, and its underlying data are\nproprietary to Gateway Lines and are **not** open source. You may use and redistribute the\nconfiguration in this repository in order to connect to the service. Use of the service\nitself is governed by <https://gatewaylines.com/terms>.\n\nSee [LICENSE](LICENSE) for the exact scope.\n",
  "bytes": 6524,
  "sha": "3eddddced85ca999ab2fd94d1f689c5dcf378a165d774288f3c0cbe0f662f986",
  "repo_slug": "xcodesjs/gateway-tariff-plugin",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_xcodesjs_gateway_tariff_plugin_29457437/readme"
}