关于 tariffmonitor-mcp
tariffmonitor-mcp 是面向开发者和 AI Agent 的开源 MCP 服务,用于查询美国进口关税。它按 HTS 编码和原产国估算叠加税率,并比较不同采购来源。
主要功能
- 01搜索 19,856 个 HTS 编码
- 02估算叠加税率
- 03比较不同原产国税率
- 04显示豁免、假设和数据核验日期
- 05估算年度关税影响
适用场景
- 01查询产品及原产国的关税
- 02比较不同国家的采购来源
- 03估算年度关税成本
- 04评估中国 Section 301 排除到期的影响
MCP 相关
向 MCP 客户端提供 `lookup_hts_code`、`calculate_tariff` 和 `compare_origins` 工具。可在本地运行,也可通过托管的 Streamable HTTP 端点访问。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://adcreator-ai.com/mcp-freeclaude mcp add --transport http daleweaver1981-tariffmonitor https://adcreator-ai.com/mcp-free{"mcpServers":{"daleweaver1981-tariffmonitor":{"type":"http","url":"https://adcreator-ai.com/mcp-free"}}}在 Cursor 中打开{"servers":{"daleweaver1981-tariffmonitor":{"type":"http","url":"https://adcreator-ai.com/mcp-free"}}}在 VS Code 中打开{"mcpServers":{"daleweaver1981-tariffmonitor":{"type":"http","url":"https://adcreator-ai.com/mcp-free"}}}{"mcpServers":{"daleweaver1981-tariffmonitor":{"serverUrl":"https://adcreator-ai.com/mcp-free"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
2| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| query | string | 是 | 产品关键词(例如 "footwear")或 HTS 代码前缀(例如 "6404")。至少 2 个字符。单个关键词的匹配效果最佳。 |
详细介绍
tariffmonitor-mcp
tariffmonitor-mcp 是由 0xpi 为 AI Agent 和开发者打造的美国进口关税查询软件:一个 MCP 服务,可查询 19,856 个 HTS 编码,并按原产国估算叠加后的美国进口关税税率(MFN、Section 301 和 Section 232)。免费开源,并提供免费的托管端点。 它不是电力或能源关税工具。由 0xpi 制作;0xpi 与 Pi Network、任何加密货币或区块链项目均无关联。
为 Tariff Exposure Monitor 提供支持的 MCP 服务——一款覆盖 19,856 个 HTS 编码的实时美国进口关税计算器。
让 Claude(或任何兼容 MCP 的 AI)能够查询实际的叠加关税税率,并查看 Section 301 中国商品排除措施结束后会有哪些变化(根据《联邦公报》,截至 2026 年 11 月 9 日美国东部夏令时间晚上 11:59,FR Doc. 2025-21671;USTR 2025 年 11 月 26 日的新闻稿则称“至 2026 年 11 月 10 日”),适用于任何产品。
功能
三个工具:
| 工具 | 功能 |
|---|---|
lookup_hts_code | 按产品名称或数字前缀搜索 19,856 个 HTS 编码。日常用词(laptop、t-shirt、water bottle、earbuds、toys、e-bike、running shoes 等约 90 个词)即使无法通过关键词搜索命中,也能映射到涵盖这些产品的官方 USITC 税目,并按匹配度对 10 位编码项目排序 |
calculate_tariff | 返回估算的叠加税率(MFN 基础税率 + 按 HTS 编码项目匹配的中国 Section 301 税率,包括清单 1-4A 和 2024 年四年期审查加税 + 按 HTS 编码项目匹配至第 99 章美国注释 16 清单的 Section 232 钢铁/铝/铜税率 + Section 301 巴西税率 + 针对 60 个经济体的 2026 年 Section 301 强迫劳动关税;其他 Section 232 计划会标记为需要审核)、数据核验日期、各项豁免或假设,以及 Section 301 中国排除措施的结束时间(根据《联邦公报》,2026 年 11 月 9 日美国东部夏令时间晚上 11:59;USTR 新闻稿则称 2026 年 11 月 10 日)。可选:输入年度进口额 → 计算美元影响 |
compare_origins | 并排比较同一个 HTS 编码对应的 2-8 个原产国(例如 CN 与 VN、MX、IN),按税率从低到高排列,并列出各项税率、2026 年 9 月 9 日之后的税率及可选的年度关税金额。适用于采购和“China plus one”决策 |
示例对话:以下是 2026 年 10 月 26 日从实时托管端点(/mcp-free)获取的真实记录,并非模拟内容:
You: What's the tariff on athletic footwear from China, and what does it cost me at $800k/year?
Claude: [calls lookup_hts_code query="athletic footwear", then calculate_tariff
hts_code="6404110000", origin_country="CN", annual_import_value_usd=800000]
Note: 6404110000 is not in the schedule. This rate is for heading 640411, resolved to 6404112030.
HTS 6404112030 — For men
Origin: CN
Data checked: 2026-10-24
Rate stack:
MFN base rate (10.5%): +10.50%
Section 301 China, List 4A (heading 9903.88.15): +7.50%
Section 301 forced-labor tariff (2026): +12.50%
Total current rate: 30.50%
No rate change projected for this code/country combination when the Section 301 China exclusions end.
Section 301 forced-labor tariff (FR Doc. 2026-15181; data checked 2026-10-24): included (+12.5%). China: +12.5%, heading 9903.05.31. Stacks on other Section 301 duties.
Section 232 steel, aluminum and copper coverage is checked by HTS line (U.S. note 16(c)); the other Section 232 programs (vehicles and parts, wood products, trucks, semiconductors) are flagged when the line is named in their notes. Goods subject to any of them are exempt from this layer (U.S. note 52(f)).
Section 301 China product exclusion end, two official wordings: the Federal Register notice (FR Doc. 2025-21671, 90 FR 55232, 1 Dec 2025) extends the exclusions "through 11:59 p.m. eastern daylight time on November 9, 2026"; the USTR press release of 26 Nov 2025 says the 178 exclusions "have been extended until November 10, 2026". The Federal Register text is the legal one. This calculator does not model individual exclusions.
Dollar impact at $800,000/yr import value:
Current annual duties: $244,000
Section 301 强迫劳动税率(USTR,60 个经济体,2026 年 7 月 24 日美国东部时间凌晨 12:01 起的申报,Federal Register 91 FR 47318,HTS 9903.05.20-9903.05.84)为 12.5% 或 10%,具体取决于原产国;对欧盟和台湾,税率会补足至 10%,对日本、韩国和瑞士则补足至 12.5%。美国注释 52 所列产品和已适用 Section 232 税率的商品可获豁免;取决于工具无法获知的事实(是否符合 USMCA 或 CAFTA-DR 资格、是否用于民用飞机或药品)的豁免,会在答复中注明为假设。
税率会发生变化,且税率取决于 HTS 编码和原产国——请将上面的数字视为答复的大致形式,而非针对您货物的报价。工具绝不会凭空编造税率:如果上游服务无法访问,或编码不在税则表中,它会如实说明,而不会估算。
无需安装即可试用(免费托管远程服务)
一个无需密钥的公共端点通过 Streamable HTTP 提供相同的三个工具:
https://adcreator-ai.com/mcp-free
- 无需密钥,无需注册。限制:每个 IP 每天 25 次工具调用,所有用户每天合计 500 次(于 00:00 UTC 重置)。
initialize和tools/list不计入限制。 - 超出限制时会收到 JSON-RPC 错误(HTTP 429),并提示使用下方的 npm 包;该包在本机运行,不受调用次数限制。
- 每次调用都会记录时间、方法、工具、状态、用户代理、客户端 IP,以及 MCP 客户端报告的客户端名称,用于衡量使用情况和过滤扫描器。日志不存储工具参数。日志行会在 365 天后删除。完整详情请见:隐私政策。
Claude Code:claude mcp add --transport http tariffmonitor https://adcreator-ai.com/mcp-free
安装(Claude Desktop)
添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"tariffmonitor": {
"command": "npx",
"args": ["-y", "tariffmonitor-mcp"]
}
}
}
重启 Claude Desktop。lookup_hts_code、calculate_tariff 和 compare_origins 工具会自动显示。
安装(Cursor / 其他 MCP 客户端)
{
"mcp": {
"servers": {
"tariffmonitor": {
"command": "npx",
"args": ["-y", "tariffmonitor-mcp"]
}
}
}
}
无需 API 密钥
该工具会调用 adcreator-ai.com 上免费的公共 API。无需注册,合理使用时不设速率限制。
相关链接
由 Dale Weaver / 0xpi 构建。
隐私政策
托管端点 https://adcreator-ai.com/mcp-free 适用以下隐私声明:
https://adcreator-ai.com/public/mcp-privacy.html。简而言之:
- 收集的信息: 对于每个请求,记录时间、MCP 方法、工具名称、状态、耗时、客户端 IP 地址、用户代理,以及
initialize时发送的客户端名称和版本。工具参数不会存储在调用日志中。速率限制使用经过哈希处理的 IP 地址。 - 用途: 处理调用、实施速率限制、过滤滥用和扫描器,以及统计使用情况。不进行用户画像分析、广告投放或数据销售。
- 共享: 除托管服务提供商外,不与其他方共享。HTS 查询会发送至我们自己的关税数据库(adcreator-ai.com),该数据库会记录每次税率查询的 HTS 编码和原产国,不会记录你的 IP 地址。不会向 AI 服务提供商发送任何数据。
- 保留期限: 调用日志条目会在 365 天后自动删除;速率限制计数器保留一天。
- 联系方式: 如需提出访问或删除请求,请联系 [email protected]。
npm 软件包(npx -y tariffmonitor-mcp)在你的计算机上运行,只会将查询信息(产品搜索词、HTS 编码和原产国)发送至同一关税数据库。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。