MCP Server

Triplicate – export documents

com.triplicatedocs/triplicate
Business & Operations Public & reachable MCP 2026-07-28

What this MCP does

Calculates shipment volume and weights, searches HS codes, and prepares export trade documents from order data.

calculate_export_price
Export price under each Incoterms rule
Build an export quotation price from unit cost, markup and shipment costs: totals and per-unit prices under EXW, FCA, FOB/FCA terminal, CFR/CPT, CIF/CIP, DAP, DPU and DDP, with the insurance premium (110% basis), import duty and VAT, and for each rule a link that opens Triplicate's generator with a proforma invoice at that price.
Read only
Input schema
{'type': 'object', 'required': ['quantity', 'unit_cost'], 'properties': {'mode': {'enum': ['sea', 'any'], 'type': 'string', 'default': 'sea', 'description': 'sea: FOB/CFR/CIF (loaded on board at a port); any: containers handed over at a terminal, air or road: FCA/CPT/CIP'}, 'costs': {'type': 'object', 'properties': {'unloading': {'type': 'number', 'description': 'Unloading at the destination (DPU)'}, 'main_freight': {'type': 'number', 'description': 'Sea or air freight to the destination port/airport'}, 'inland_to_port': {'type': 'number', 'description': 'Transport to the port, airport or terminal'}, 'origin_terminal': {'type': 'number', 'description': 'Terminal handling and loading at origin'}, 'packing_loading': {'type': 'number', 'description': "Export packing and loading at the seller's premises"}, 'export_clearance': {'type': 'number', 'description': 'Export customs clearance and documents'}, 'import_clearance': {'type': 'number', 'description': 'Import customs clearance fees (DDP)'}, 'import_vat_percent': {'type': 'number', 'description': 'Import VAT/GST %'}, 'destination_charges': {'type': 'number', 'description': 'Destination terminal charges and delivery to the named place'}, 'import_duty_percent': {'type': 'number'}, 'insurance_rate_percent': {'type': 'number', 'description': 'Cargo insurance rate in %; premium = rate x 110% x CIF/CIP value'}}, 'description': 'Shipment totals in the same currency (omit what does not apply)'}, 'currency': {'enum': ['USD', 'EUR', 'GBP', 'JPY', 'CNY', 'KRW', 'VND', 'AUD', 'CAD', 'CHF', 'HKD', 'SGD', 'INR', 'PKR', 'BDT', 'IDR', 'THB', 'MYR', 'PHP', 'AED', 'SAR', 'TRY', 'BRL', 'MXN', 'ZAR', 'NGN', 'KES', 'EGP'], 'type': 'string', 'default': 'USD'}, 'language': {'enum': ['en', 'zh', 'ar', 'fr', 'es', 'pt', 'ru', 'tr', 'hi', 'ur', 'bn', 'id', 'vi', 'ja', 'ko'], 'type': 'string', 'default': 'en', 'description': 'Language of the generator page the proforma links open'}, 'quantity': {'type': 'number', 'description': 'Units in the shipment'}, 'unit_cost': {'type': 'number', 'description': "Seller's cost per unit (product cost)"}, 'duty_basis': {'enum': ['cif', 'fob'], 'type': 'string', 'default': 'cif', 'description': 'Customs value basis: cif (EU, UK, most countries) or fob (US, Canada, Australia)'}, 'markup_percent': {'type': 'number', 'default': 0, 'description': 'Markup on cost, e.g. 25 for +25%'}, 'include_vat_in_ddp': {'type': 'boolean', 'default': False}}}
calculate_shipment
Calculate CBM and chargeable weight
From carton sizes, quantities and gross weights: total CBM, gross weight, air and express volumetric and chargeable weight, LCL revenue tons and which standard containers the volume fits.
Read only
Input schema
{'type': 'object', 'required': ['cartons'], 'properties': {'cartons': {'type': 'array', 'items': {'type': 'object', 'required': ['length_cm', 'width_cm', 'height_cm', 'quantity'], 'properties': {'quantity': {'type': 'number'}, 'width_cm': {'type': 'number'}, 'height_cm': {'type': 'number'}, 'length_cm': {'type': 'number'}, 'gross_weight_kg': {'type': 'number', 'description': 'Gross weight of ONE carton'}}}}}}
create_trade_documents
Create export documents
Create a matching proforma invoice, commercial invoice, packing list and shipping instruction from one set of order data. Returns a link to Triplicate's free generator with everything filled in (the user reviews it and saves the PDF), plus totals (amount, cartons, net/gross weight, CBM) and checks (missing fields, HS code format, Incoterms freight/insurance consistency). Nothing is stored.
Read only
Input schema
{'type': 'object', 'required': ['seller', 'buyer', 'items'], 'properties': {'bank': {'type': 'object', 'properties': {'swift': {'type': 'string'}, 'account': {'type': 'string'}, 'bank_name': {'type': 'string'}, 'beneficiary': {'type': 'string'}, 'bank_address': {'type': 'string'}}}, 'buyer': {'type': 'object', 'required': ['name'], 'properties': {'tel': {'type': 'string'}, 'name': {'type': 'string'}, 'email': {'type': 'string'}, 'tax_id': {'type': 'string', 'description': 'Tax / VAT / business registration number'}, 'address': {'type': 'string', 'description': 'Full address, lines separated by \\n'}}, 'description': 'Buyer / consignee / importer'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['description', 'quantity'], 'properties': {'unit': {'enum': ['PCS', 'SETS', 'BOXES', 'PAIRS', 'KG', 'M'], 'type': 'string'}, 'hs_code': {'type': 'string'}, 'quantity': {'type': 'number'}, 'unit_price': {'type': 'number'}, 'description': {'type': 'string'}, 'carton_width_cm': {'type': 'number'}, 'carton_height_cm': {'type': 'number'}, 'carton_length_cm': {'type': 'number'}, 'pieces_per_carton': {'type': 'number'}, 'net_weight_per_carton_kg': {'type': 'number'}, 'gross_weight_per_carton_kg': {'type': 'number'}}}, 'maxItems': 100}, 'terms': {'type': 'object', 'properties': {'place': {'type': 'string', 'description': "Named place, e.g. 'Busan' for FOB Busan"}, 'payment': {'type': 'string', 'description': "e.g. 'T/T 30% deposit, 70% before shipment'"}, 'currency': {'enum': ['USD', 'EUR', 'GBP', 'JPY', 'CNY', 'KRW', 'VND', 'AUD', 'CAD', 'CHF', 'HKD', 'SGD', 'INR', 'PKR', 'BDT', 'IDR', 'THB', 'MYR', 'PHP', 'AED', 'SAR', 'TRY', 'BRL', 'MXN', 'ZAR', 'NGN', 'KES', 'EGP'], 'type': 'string'}, 'incoterm': {'enum': ['EXW', 'FCA', 'FAS', 'FOB', 'CFR', 'CIF', 'CPT', 'CIP', 'DAP', 'DPU', 'DDP'], 'type': 'string'}}}, 'notify': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'address': {'type': 'string'}}, 'description': 'Notify party, if different from the buyer'}, 'seller': {'type': 'object', 'required': ['name'], 'properties': {'tel': {'type': 'string'}, 'name': {'type': 'string'}, 'email': {'type': 'string'}, 'tax_id': {'type': 'string', 'description': 'Tax / VAT / business registration number'}, 'address': {'type': 'string', 'description': 'Full address, lines separated by \\n'}}, 'description': 'Seller / shipper / exporter'}, 'signer': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'title': {'type': 'string'}}}, 'charges': {'type': 'object', 'properties': {'freight': {'type': 'number'}, 'discount': {'type': 'number'}, 'insurance': {'type': 'number'}}}, 'remarks': {'type': 'string', 'description': "Optional remarks printed on the documents, e.g. 'SAMPLES OF NO COMMERCIAL VALUE, NOT FOR RESALE. VALUE FOR CUSTOMS PURPOSES ONLY.'"}, 'document': {'type': 'object', 'properties': {'po': {'type': 'string', 'description': "Buyer's PO / contract number"}, 'date': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'number': {'type': 'string', 'description': 'Invoice number'}, 'valid_days': {'type': 'number', 'description': 'Proforma validity in days'}}}, 'language': {'enum': ['en', 'zh', 'ar', 'fr', 'es', 'pt', 'ru', 'tr', 'hi', 'ur', 'bn', 'id', 'vi', 'ja', 'ko'], 'type': 'string', 'default': 'en', 'description': 'Language of the generator page the link opens (documents are in English)'}, 'shipment': {'type': 'object', 'properties': {'etd': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'port_of_loading': {'type': 'string'}, 'vessel_or_flight': {'type': 'string'}, 'country_of_origin': {'type': 'string'}, 'port_of_discharge': {'type': 'string'}}}, 'open_document': {'enum': ['pi', 'ci', 'pl', 'si', 'po'], 'type': 'string', 'default': 'ci', 'description': "pi proforma invoice, ci commercial invoice, pl packing list, si shipping instruction, po purchase order (the buyer's order to the supplier: buyer = issuer, seller = supplier)"}, 'imperial_units': {'type': 'boolean', 'default': False, 'description': 'Also show weights in pounds and volume in cubic feet on the packing list and shipping instruction (for US buyers)'}, 'shipping_marks': {'type': 'string', 'description': 'Optional; generated from buyer, destination and carton count if empty'}}}
lookup_hs_code
Search HS codes
Search the HS 2022 nomenclature (6-digit international level) by English product description or by code prefix. Returns candidate codes with chapter and heading text. Codes are suggestions to confirm in the destination country's tariff, not rulings.
Read only
Input schema
{'type': 'object', 'required': ['query'], 'properties': {'limit': {'type': 'number', 'default': 8}, 'query': {'type': 'string', 'description': "English description (e.g. 'face cream', 'cotton t-shirts') or a code prefix (e.g. '3304')"}}}
lookup_port_code
Look up UN/LOCODE port codes
Find the 5-character UN/LOCODE of a seaport, airport or inland container depot by place name (or check a code): returns code, name, country, subdivision, type and Triplicate's country page, for the port of loading or discharge on bookings, bills of lading and invoices. UN/LOCODE 2024-2, 37,000+ places.
Read only
Input schema
{'type': 'object', 'required': ['query'], 'properties': {'type': {'enum': ['port', 'airport', 'inland_depot'], 'type': 'string', 'description': 'Optional: only seaports, airports or inland container depots'}, 'limit': {'type': 'number', 'default': 8}, 'query': {'type': 'string', 'description': "Port, city or airport name in English (e.g. 'Haiphong', 'Jebel Ali', 'Busan'), or a 5-character UN/LOCODE (e.g. 'NLRTM')"}, 'country': {'type': 'string', 'description': "Optional 2-letter ISO country code to search in, e.g. 'VN'"}}}
search_trade_guides
Search Triplicate trade guides
Search Triplicate's practical trade guides (over 50 notes in 15 languages, checked against official sources: cosmetics registration by country, US tariffs and refunds, EORI, certificates of origin, HS classification, Incoterms mistakes, letters of credit, dangerous goods, invoices and packing lists) and tool guides. Returns titles, page links and excerpts to cite.
Read only
Input schema
{'type': 'object', 'required': ['query'], 'properties': {'limit': {'type': 'number', 'default': 5}, 'query': {'type': 'string', 'description': "Question or topic in any of the 15 site languages, e.g. 'EORI number for UK imports', 'sheet mask HS code', 'CIF insurance 110%'"}, 'language': {'enum': ['en', 'zh', 'ar', 'fr', 'es', 'pt', 'ru', 'tr', 'hi', 'ur', 'bn', 'id', 'vi', 'ja', 'ko'], 'type': 'string', 'description': 'Optional: language of the guides to search (detected from the query otherwise)'}}}
Added
search_trade_guides
Oct. 4, 2026, 2:40 a.m.
Added
lookup_port_code
Oct. 4, 2026, 2:40 a.m.
Added
calculate_export_price
Oct. 4, 2026, 2:40 a.m.
Changed
create_trade_documents
Oct. 4, 2026, 2:40 a.m.
Added
calculate_shipment
Oct. 2, 2026, 2:40 a.m.
Added
lookup_hs_code
Oct. 2, 2026, 2:40 a.m.
Added
create_trade_documents
Oct. 2, 2026, 2:40 a.m.