HS Code Classifier

io.github.OjasKord由 GitHub 账号 OjasKord 发布v1.0.26更新于 Oct 24, 2026

Classify products to official HS codes and validate supplier codes before customs submissions

发布方自己的服务:classifier.dev

已验证Streamable HTTP可网页运行金融商业与电商

概览

AI 生成的概览

将产品描述归类为官方 HS 税则编码,并在报关前依据政府税则表校验供应商提供的编码。

可以做什么
把产品描述转换为正确的 HS 编码,用于报关单、装运清单或关税计算(免费额度每月 10 次)。在批准发货或采购订单前校验供应商提供的 HS 编码,识别不匹配、过期编码和归类风险(Pro 套餐)。通过 HSPing API 调用美国、新加坡、加拿大、澳大利亚等官方税则表,并结合 AI 辅助推理。
适用场景
适合在准备报关文件、装运清单或关税估算时,让助手给出或核对 HS 编码;也适合在批准发货或采购订单前复核供应商申报的编码。
运行要求
可作为托管远程端点使用(工具位于 /mcp 路径而非根地址),也可通过 npx 运行 npm 包在本地运行,需要 Node.js。必须提供 ANTHROPIC_API_KEY 和 HSPING_API_KEY;README 的本地配置还列出用于 Pro 密钥的 API_KEY。超出每月 10 次免费额度需购买付费套餐。
安装前请注意
需要两个第三方 API 密钥(ANTHROPIC_API_KEY、HSPING_API_KEY),付费套餐还需 Pro 密钥;产品描述会发送给 Anthropic 和 HSPing。付费套餐需付费(500 次 40 美元,2000 次 130 美元)。结果声明仅供参考,不构成法律或海关建议,正式申报前应自行核实编码。

安装

在 SourceWeft 中

  1. 打开 控制台中的 HS Code Classifier,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.OjasKord%2Fhs-code-classifier-mcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "hs-code-classifier": {
      "type": "http",
      "url": "https://hs-code-classifier-mcp-server-production.up.railway.app/"
    }
  }
}

README

[smithery badge]

HS Code Classifier MCP Server

[ToolRank]

Classify product descriptions to official HS codes and validate supplier-provided codes before customs submissions. Uses official government tariff schedules (USITC, Singapore Customs, CBSA, Australia Border Force) via HSPing API with AI-assisted classification reasoning.

Tools

hs_classify_product (free tier: 10 calls/month)

Convert a product description to the correct HS code before filling any customs declaration, shipping manifest, or duty calculation.

hs_validate_code (Pro tier)

Validate a supplier-provided HS code before approving any shipment or purchase order. Detects mismatches, outdated codes, and misclassification risks using official tariff data and AI analysis.

Usage

HTTP (hosted -- no install required)

https://hs-code-classifier-mcp-production.up.railway.app

npm (Claude Desktop / stdio)

bash
npx hs-code-classifier-mcp

Configure in claude_desktop_config.json:

json
{  "mcpServers": {    "hs-code-classifier": {      "command": "npx",      "args": ["hs-code-classifier-mcp"],      "env": {        "ANTHROPIC_API_KEY": "sk-ant-...",        "HSPING_API_KEY": "your-hsping-key",        "API_KEY": "your-pro-key-from-kordagencies.com"      }    }  }}

Harness Integration

Note: this server exposes tools at /mcp not the root URL.

Claude Code / Claude Desktop (.mcp.json)

json
{  "mcpServers": {    "hs-code-classifier": {      "type": "http",      "url": "https://hs-code-classifier-mcp-server-production.up.railway.app/mcp"    }  }}

LangChain (Python)

python
from langchain_mcp_adapters.client import MultiServerMCPClientclient = MultiServerMCPClient({    "hs-code-classifier": {        "url": "https://hs-code-classifier-mcp-server-production.up.railway.app/mcp",        "transport": "http"    }})tools = await client.get_tools()

OpenAI Agents SDK (Python)

python
from agents import Agent, HostedMCPToolagent = Agent(    name="Assistant",    tools=[HostedMCPTool(tool_config={        "type": "mcp",        "server_label": "hs-code-classifier",        "server_url": "https://hs-code-classifier-mcp-server-production.up.railway.app/mcp",        "require_approval": "never"    })])

LangGraph

Same as LangChain above — langchain-mcp-adapters works with LangGraph natively.

Pricing

TierCallsPrice
Free10/month$0
Starter500-call bundle$40
Pro2,000-call bundle$130

Get a Pro key: kordagencies.com

Supported Countries

US (USITC), SG (Singapore Customs), CA (CBSA), AU (Australia Border Force), and others via HSPing API.

Legal

Results sourced from official government tariff schedules via HSPing API. For informational purposes only -- not legal or customs advice. Full terms: kordagencies.com/terms.html

来源:README.md,提交 30ce407

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.26最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Classifier 集成