Zentria Flow

io.github.orhansavash由 GitHub 帳號 orhansavash 發布v0.2.0更新於 Nov 14, 2026

US tariff layers by HTS code and origin, origin comparison, HTSUS search and landed cost.

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

依 HTS 編碼與原產地查詢美國進口關稅層級、比較原產地、檢索 HTSUS 條目,並估算貨物完整到岸成本。

可以做什麼
  • 查詢單一 HTS 編碼與原產地的所有美國關稅層級,可選入境日期、數量與貨值
  • 對 2 至 6 個原產地做同樣的關稅查詢,依總稅率由低到高排序
  • 依產品關鍵字或編碼開頭尋找 8 位 HTSUS 條目
  • 估算貨物完整到岸成本,含運費、保險、各關稅層級、加值稅/消費稅與費用,涵蓋 70 多個國家
適用情境
適合需要目前美國稅率與關稅層級、而非憑記憶回答的情況,也適合比較採購原產地或估算一批貨物的到岸成本。
執行需求
本機需 Node.js 18 或更新版本,透過 npx 或 Docker 以 stdio 執行。三個關稅工具不需帳號;landed_cost 需要 ZENTRIA_API_KEY 中的 API 金鑰。工具呼叫經 HTTPS 送往 zentriaflow.com,可用 ZENTRIA_API_BASE 覆寫基礎位址。
安裝前請注意
工具參數(HTS 編碼、原產地、日期、數量、貨值或搜尋詞)會傳送至 zentriaflow.com。API 金鑰透過 X-API-Key 標頭傳送,並計入付費方案配額;免費 Sandbox 方案每月 100 次呼叫。無金鑰工具依 IP 限流。結果為規劃估算,不構成海關裁定,且不含反傾銷與平衡稅。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Zentria Flow,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

zentria-flow-mcp

A Model Context Protocol server for Zentria Flow, a landed-cost and US tariff engine for importers. It lets an AI assistant look up US import tariffs instead of answering from memory.

  • Three tools work with no account and no API key.
  • No dependencies: one small Node.js program that talks MCP over stdio.
  • Every answer carries the date it was checked and the HTSUS revision it was read from.

Results are planning estimates, not customs rulings. Zentria Flow is software, not a customs broker.

Tools

ToolWhat it doesNeeds a key
us_tariff_checkEvery US tariff layer for one HTS code from one origin: MFN duty, China Section 301, the forced-labor Section 301 tariff, Section 232 and Section 338 on Canada, the total, exemptions, USMCA and CAFTA-DR cases, and dated changes ahead. Optional as_of entry date (today to 12 months ahead). Optional quantity + value to price a specific or compound duty exactly.No
compare_originsThe same check for 2 to 6 origins, lowest total first. One call per origin, 2 seconds apart.No
hts_searchFinds 8-digit HTSUS lines by product words or the start of a code.No
landed_costFull landed cost of a shipment: product value, freight, insurance, duty layers, VAT/GST and fees, for 70+ countries.Yes: ZENTRIA_API_KEY

Example (us_tariff_check, HTS 6109.10.00 from China, engine answer of 14 Nov 2026; rates change, so run it again for today's):

US tariff check: HTS 6109.10.00 from CNProduct line: T-shirts, singlets, tank tops and similar garments, knitted or crocheted — Of cottonEntry date: 2026-11-14Total duty rate: 36.5% of the customs valueLayers:- MFN duty: 16.5%- Section 301: 7.5% (List 4A, 9903.88.15)- Forced-labor Section 301 tariff: 12.5% (applies, 12.5% flat)- Section 232: 0%- Section 338 (Canada): 0%Source: HTSUS 2026 Revision 23 (USITC, in force 10 Nov 2026, checked 10 Nov 2026): ...Checked on 2026-11-14 (UTC) with the Zentria Flow engine, zentriaflow.com.Planning estimate, not a customs ruling. ...

Each result also has structuredContent with the same values as JSON (total_rate_pct, layers, scheduled_changes, checked_on, source).

Requirements

Node.js 18 or newer. Nothing else to install.

Install

All clients below start the server with the same command:

npx -y github:orhansavash/zentria-flow-mcp

npx fetches the server straight from this GitHub repository (no npm account or install step). To run it from a local copy instead, use node /absolute/path/to/src/index.js wherever a config below says npx, with no -y github:… arguments.

Claude Desktop

Settings → Developer → Edit Config opens claude_desktop_config.json. Add:

json
{  "mcpServers": {    "zentria-flow": {      "command": "npx",      "args": ["-y", "github:orhansavash/zentria-flow-mcp"]    }  }}

Restart Claude Desktop. To use landed_cost, add "env": { "ZENTRIA_API_KEY": "your key" } next to "args".

Claude Code

claude mcp add zentria-flow -- npx -y github:orhansavash/zentria-flow-mcp

With a key: claude mcp add zentria-flow --env ZENTRIA_API_KEY=your_key -- npx -y github:orhansavash/zentria-flow-mcp

Cursor

Create .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project, with the same mcpServers block as Claude Desktop.

VS Code

Create .vscode/mcp.json:

json
{  "servers": {    "zentria-flow": {      "type": "stdio",      "command": "npx",      "args": ["-y", "github:orhansavash/zentria-flow-mcp"]    }  }}

Docker

docker build -t zentria-flow-mcp .docker run -i --rm zentria-flow-mcp

Add -e ZENTRIA_API_KEY=your_key to use landed_cost. MCP clients that start servers with Docker use "command": "docker", "args": ["run", "-i", "--rm", "zentria-flow-mcp"].

Each release is also published as a ready-made image, so the build step can be skipped: docker run -i --rm ghcr.io/orhansavash/zentria-flow-mcp:0.2.0.

Local-model clients and other MCP clients

Any client that can start a stdio MCP server from a command works, including the ones that run local models (for example LM Studio, Jan, Continue, Cline and Open WebUI through an MCP-to-OpenAPI proxy). Use the mcpServers block above in the client's MCP configuration file. The model runs on your machine; the tool calls still go to zentriaflow.com over HTTPS, because the tariff data lives there.

Smaller local models follow tool results less reliably. Ask them to quote the tool's numbers and its "Checked on" line as they are.

Configuration

VariableMeaning
ZENTRIA_API_KEYOptional. An API key from https://zentriaflow.com/settings/api-keys, used only by landed_cost. It is sent only in the X-API-Key header of that request, and is never logged or written to a result.
ZENTRIA_API_BASEOptional. Default https://zentriaflow.com. Must be https (or a local development host).

The Sandbox API plan is free and allows 100 calls a month; plans and quotas are at https://zentriaflow.com/api-integration.

Limits

  • The three keyless tools use Zentria Flow's free public endpoints: tariff checks are limited to 60 an hour per IP address and HTS searches to 600 an hour, each counted over a rolling 60 minutes. compare_origins uses one tariff check per origin, so a six-origin comparison uses 6 of the 60. When the limit is reached the tool says so, gives the wait the server sent, and returns no rate; it does not retry by itself.
  • landed_cost counts against the quota of the API plan behind the key.
  • Requests time out after 20 seconds.

What the numbers are, and are not

  • US rates are read from the HTSUS revision named in each result (Source:). An exact 8- or 10-digit line is priced from that line; a shorter code is an estimate and is labelled as one.
  • Totals are percent of the customs value. Anti-dumping and countervailing duties are company-specific and are never in a total. Use-dependent duties are shown as notices.
  • Scheduled changes can be extended, changed or withdrawn before their date.
  • The server prints only values the API returned. A value that was not returned is shown as "not returned".
  • A licensed customs broker should confirm classification and rates before entry.

Privacy

The server sends the arguments of a tool call (HTS code, origin, optional date, quantity and value, or the search words) to zentriaflow.com. It sends nothing else from the conversation, keeps no files and has no telemetry. Zentria Flow's privacy policy: https://zentriaflow.com/privacy

API

The same endpoints are documented as OpenAPI 3.1 at https://zentriaflow.com/openapi.json and on https://zentriaflow.com/developers.

Development

npm test

The tests run with node --test and a stand-in for fetch; they make no network calls. test/fixtures/engine-samples.json holds real answers of the engine.

The MCP protocol (JSON-RPC over stdio: initialize, ping, tools/list, tools/call) is implemented in src/server.js without the MCP SDK, so the package has no dependencies.

License

MIT for this software, see LICENSE. Data returned by the API is provided under the Zentria Flow Terms of Service: https://zentriaflow.com/terms

Zentria Flow, Inc. · [email protected]

來源:README.md,提交 dbae12c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Nov 14, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。