cross_ruling
Pack: trade-compliance · Endpoint: https://gateway.pipeworx.io/trade-compliance/mcp
Get one CBP CROSS customs ruling letter in full by its ruling number (e.g. “N305619” or “H301481”, from cross_search). Returns the complete ruling text — the facts presented, CBP’s classification analysis, and the holding — plus the HTS tariff numbers assigned, issue date, and the rulings it modifies, revokes, or is revoked by. Use this to read the actual reasoning behind a tariff classification precedent before relying on it for an entry.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ruling_number | string | yes | CROSS ruling number, e.g. “N305619”. Get one from cross_search. |
max_chars | number,string | no | Truncate the ruling text to this many characters (default 12000, max 60000). Ruling letters run long. |
Example call
Arguments
{
"ruling_number": "N310725"
}
curl
curl -X POST https://gateway.pipeworx.io/trade-compliance/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cross_ruling","arguments":{"ruling_number":"N310725"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cross_ruling', {
"ruling_number": "N310725"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trade-compliance": {
"url": "https://gateway.pipeworx.io/trade-compliance/mcp"
}
}
}
See Getting Started for client-specific install steps.