Back to Home
qinxiushan icon

mcp-hs-code-query

Verified Safe

by qinxiushan

Overview

Queries harmonized system (HS) codes for products from multiple web sources, offering intelligent search, semantic matching, and detailed customs declaration information for AI agent integration.

Installation

Run Command
uvx mcp-hs-code-query

Environment Variables

  • NGROK_AUTH_TOKEN
  • API_HOST
  • API_PORT

Security Notes

The core server logic implements good input validation via Pydantic models and controls network requests to predefined target domains, mitigating common injection and SSRF risks. However, the FastAPI service (api_server.py) uses `allow_origins=["*"]` for CORS, which is overly permissive for public-facing APIs and could be a concern if not explicitly intended for broad access by non-browser clients. External AI models are loaded from HuggingFace, introducing a supply chain risk if the model itself is compromised.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens100
Stars0
Forks0
Last Update2025-11-28

Tags

HS CodeCustomsAI AgentWeb ScraperSemantic Search