Configure zone-based rating tables in a custom shipping engine to replicate carrier zone charts and verify accuracy against live carrier rate API responses
Download the carrier zone chart for each origin ZIP code range from the carrier's published rate materials (FedEx, UPS, and USPS all publish zone charts); parse them into a ZIP-to-zone lookup table
Build a zone lookup function: given origin ZIP and destination ZIP, return the carrier zone number (typically 2-8 for domestic US)
Load the carrier's published rate tables indexed by zone, weight bracket, and service type; parse the dimensional weight divisor and minimum billable weight rules
For each test shipment, calculate the expected rate using your local zone and rate tables; compare against the live carrier API rate response to detect discrepancies
Update zone charts and rate tables on each carrier's general rate increase (GRI) effective date, typically January 1 each year, to maintain accuracy
Log discrepancies between estimated and actual rates to identify where surcharges, residential fees, or fuel surcharge changes are not reflected in your local tables
Known gotchas
Carrier zone charts for commercial ground and residential delivery can differ slightly; using the wrong chart for the shipment type introduces systematic rating errors
Fuel surcharges are adjusted weekly by most carriers and are not included in static rate tables; your estimation engine must apply the current week's surcharge percentage separately
Dimensional weight divisors differ by carrier and sometimes by service type; applying the wrong divisor will produce incorrect billable weight calculations for lightweight oversized packages
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp