{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card/2025-09.json",
  "serverInfo": {
    "name": "CodeHTS MCP",
    "version": "0.1.0-preview",
    "title": "CodeHTS — Global tariff classification",
    "description": "Programmatic access to HS / HTS / HTSUS / EU TARIC / UK / Canada / Australia / Singapore tariff classification, duty calculation (incl. Section 301 and USMCA), and customs filing helpers (MID, SPI, port codes).",
    "vendor": "CodeHTS",
    "homepage": "https://codehts.com",
    "documentation": "https://codehts.com/docs/api",
    "license": "Proprietary"
  },
  "status": "preview",
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://cclnbktsighurfpxfaiz.supabase.co/functions/v1/mcp-server",
    "note": "Endpoint reserved — full MCP transport ships in a future release. Use the REST API documented at /docs/api in the meantime."
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    },
    "logging": {}
  },
  "tools": [
    {
      "name": "classify_hts",
      "title": "Classify product to HTS code",
      "description": "Suggest the most likely HS/HTS/HTSUS/EU TARIC/UK/CA/AU/SG tariff code for a product description, with confidence scores and chapter notes."
    },
    {
      "name": "lookup_duty_rate",
      "title": "Lookup duty rate",
      "description": "Return the applicable MFN duty rate, Section 301 add-on (US) and USMCA / FTA preference for a given HTS code, country of origin and destination market."
    },
    {
      "name": "calculate_landed_cost",
      "title": "Calculate landed cost",
      "description": "Compute landed cost for a shipment line: customs value + duty + MPF + HMF + freight + insurance, returning a per-unit and total breakdown."
    },
    {
      "name": "generate_mid",
      "title": "Generate Manufacturer ID (MID)",
      "description": "Build a US Customs Manufacturer Identification Code from supplier name, street address, city and country."
    },
    {
      "name": "suggest_spi",
      "title": "Suggest Special Program Indicator",
      "description": "Suggest the best Special Program Indicator (SPI) — e.g. S for USMCA, KR for Korea FTA — given an HTS code and country of origin."
    }
  ],
  "links": {
    "api-catalog": "https://codehts.com/.well-known/api-catalog",
    "openapi": "https://codehts.com/openapi.json",
    "docs": "https://codehts.com/docs/api",
    "status": "https://cclnbktsighurfpxfaiz.supabase.co/functions/v1/api-health"
  }
}
