MCP-Server

SMKlog Parcel Shipping Rates

com.smklog/parcel-shipping-rates
Commerce & Retail Öffentlich und erreichbar MCP 2026-07-28

Was dieses MCP kann

Provides live parcel shipping quotes, payment checkout links for labels, checkout status, shipment tracking, and a US shipping price index.

create_checkout_link
Create a payment session for a shipping label
Turns a decided shipment into a payment session for buying its shipping label: the checkout amount and a handoff URL that opens SMKlog checkout prefilled with the parcel. Use it after get_parcel_quote, passing the quote_id that call returned, so the price is reused and no second carrier call is spent. Without a quote_id it prices the shipment live from the fields. The result carries a session_id: keep it, and get_checkout_status tells you when the human has paid and when the label exists. Side effects: it writes a session record (30-day life, readable through get_checkout_status) and is not idempotent. Calling it twice makes two sessions and, without a quote_id, spends two carrier calls. It never charges: no card is touched and nothing is reserved until the human confirms the contents certification and the carrier-adjustment consent on the page and pays there. A stale link simply reprices. No session is returned when the shipment cannot be sold online: not a parcel (SMKlog does not arrange pallet or freight shipments), more than one box (one label per box), or an installed lithium battery crossing a border. Quote first to learn which case applies. Parameter rules: - A valid quote_id overrides product, from_zip, to_zip, to_country and quantity. service is still honored. - An expired quote_id falls back to live pricing from the fields. If those were omitted too, the call fails with missing_required_fields, so pass them alongside an old id. - service is matched as a case-insensitive fragment of the display name ("Ground Advantage", "UPS Ground Saver"). A fragment that matches nothing silently anchors the quote's first rate, which is the top of the best-value ranking and not always the cheapest, so read the service field in the result. - from_zip is a real 5-digit US ZIP. to_zip follows to_country (US, CA, GB, DE or AU). - On the four international lanes the human completes the customs declaration on the page, and duty is billed to the recipient on arrival.
Externer Zugriff
Eingabeschema
{'type': 'object', 'required': [], 'properties': {'to_zip': {'type': 'string', 'description': "Destination postal code: a 5-digit ZIP for the US, or the destination country's own postal code. Required unless quote_id is given."}, 'product': {'type': 'string', 'description': 'Plain-words item description. Required unless quote_id is given.'}, 'service': {'type': 'string', 'description': 'Service to anchor the amount to, e.g. "USPS Ground Advantage". Omitted or unmatched, the amount anchors the quote\'s first rate, top of the best-value ranking rather than the cheapest; the human can still pick any service on the page.'}, 'from_zip': {'type': 'string', 'description': 'Origin US ZIP code, 5 digits. Required unless quote_id is given.'}, 'quantity': {'type': 'integer', 'default': 1, 'minimum': 1, 'description': 'How many of the item ship together. Default 1.'}, 'quote_id': {'type': 'string', 'description': 'The quote_id returned by a previous get_parcel_quote call. Valid for 15 minutes.'}, 'to_country': {'enum': ['US', 'CA', 'GB', 'DE', 'AU'], 'type': 'string', 'default': 'US', 'description': 'Two-letter destination country: US (default), CA, GB, DE, AU.'}}}
Ausgabeschema
{'type': 'object', 'required': ['intent', 'amount', 'currency', 'handoff_url'], 'properties': {'note': {'type': 'string', 'description': 'Standing caveats: live quote, human confirms consents and pays'}, 'amount': {'type': 'number', 'description': 'Live-quoted checkout total for the anchored service, USD'}, 'intent': {'type': 'string', 'description': 'Always "session" — this tool never charges'}, 'method': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Payment rails behind the checkout, e.g. stripe, card'}, 'service': {'type': 'string', 'description': 'The service the amount is anchored to'}, 'currency': {'type': 'string', 'description': 'ISO currency, USD'}, 'session_id': {'type': ['string', 'null'], 'description': 'Handle for get_checkout_status, shaped as_ plus a UUID, good for 30 days. Null only when the session record could not be stored.'}, 'handoff_url': {'type': 'string', 'description': 'Opens the SMKlog checkout prefilled with this shipment'}, 'quote_reused': {'type': 'boolean', 'description': 'True when the amount came from a quote_id you supplied, so no carrier call was spent. False when this tool priced the shipment live -- either because no quote_id was given, or because the one given had expired.'}, 'identified_product_title': {'type': 'string', 'description': 'What the estimator understood the item to be'}}, 'description': 'A payment session, not a charge: the amount and the handoff URL where the human pays. The amount is a live quote at this moment, not a hold or a reservation, and no money moves until the human completes the page.'}
get_checkout_status
Check a checkout session
Reports where a payment session made by create_checkout_link stands: whether the human has opened checkout, paid, and whether the shipping label exists yet, with the tracking number once it does. Reads SMKlog's own order records only: no carrier call, no quote allowance, nothing changes. Poll it after handing the human the link, minutes apart rather than seconds, because nothing moves until the human acts. Statuses, in order: awaiting_checkout (link made, no checkout started), checkout_started (a checkout exists, not paid), paid (paid, label not created yet: the checkout page buys it right after payment, otherwise an operator picks it up), label_ready (label bought, tracking_number present), delivered, refunded. Once label_ready, feed tracking_number to track_parcel for scan events. Parameter rules: - session_id is the session_id returned by create_checkout_link, shaped as_ plus a UUID. Nothing else identifies a session: no order id, no email, no quote_id. - A session lives 30 days from creation. An unknown, malformed or expired id answers session_not_found rather than a status. - The answer never carries names, addresses or emails. Treat the session_id like a tracking number: whoever holds it can read the tracking number. - A manual-review request made from the handoff page is not a checkout and leaves the status at awaiting_checkout. - Allowance: 60 checks an hour per client.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['session_id'], 'properties': {'session_id': {'type': 'string', 'pattern': '^as_[A-Za-z0-9-]{8,80}$', 'description': 'The session_id from create_checkout_link.'}}}
Ausgabeschema
{'type': 'object', 'required': ['session_id', 'status'], 'properties': {'next': {'type': 'string', 'description': 'What, if anything, the agent should do now'}, 'amount': {'type': 'number', 'description': 'The amount the session was anchored to, USD'}, 'status': {'enum': ['awaiting_checkout', 'checkout_started', 'paid', 'label_ready', 'delivered', 'refunded'], 'type': 'string', 'description': 'Stage, in that order'}, 'service': {'type': 'string', 'description': 'The service the session was anchored to'}, 'checkout': {'type': ['object', 'null'], 'properties': {'paid': {'type': 'boolean'}, 'carrier': {'type': ['string', 'null'], 'description': 'USPS, UPS, FedEx or DHL'}, 'service': {'type': ['string', 'null'], 'description': 'The service the human actually chose'}, 'order_id': {'type': 'string', 'description': 'SMKlog order id, the reference for support'}, 'refunded': {'type': 'boolean'}, 'started_at': {'type': 'string', 'description': 'When the checkout was created'}, 'label_ready': {'type': 'boolean'}, 'delivered_at': {'type': ['string', 'null']}, 'tracking_number': {'type': ['string', 'null'], 'description': 'Present from label_ready on'}, 'tracking_status': {'type': ['string', 'null'], 'description': 'Latest carrier status when known'}, 'estimated_delivery': {'type': ['string', 'null']}}, 'description': 'The checkout the human started, null while awaiting_checkout'}, 'currency': {'type': 'string', 'description': 'ISO currency, USD'}, 'created_at': {'type': 'string', 'description': 'When create_checkout_link made the session, ISO 8601'}, 'expires_at': {'type': 'string', 'description': 'When the session stops answering, ISO 8601'}, 'session_id': {'type': 'string', 'description': 'The session asked about'}, 'quote_reused': {'type': 'boolean', 'description': 'Whether the session reused a quote_id'}}, 'description': 'The stage of the checkout this session led to, derived from the order record.'}
get_parcel_quote
Get live parcel shipping rates from a US origin
Live shipping rates for one parcel sent from a US origin — inside the US, or to Canada, the UK, Germany or Australia — across USPS, UPS and FedEx, and DHL Express on the German and Australian lanes. Describe the item in plain words and the packed box size and weight are estimated. Give exact dimensions and weight to skip the estimate. Returns up to five purchasable services, each as one checkout total with the SMKlog fee inside it (the fee is itemized only on the checkout receipt) and, where the carrier publishes one, its own counter price for the same parcel beside it. Not every request is priced. A shipment past parcel limits or described as a pallet or freight load returns mode not_a_parcel with no rates: SMKlog does not arrange pallet or freight shipments. More than one box returns mode multiple_boxes with no rates: one label per box, so quote each box with quantity 1. Shipping labels are bought on smklog.com, not through this tool. Choosing between the tools: use this one to answer what a shipment would cost. Then hand the quote_id it returns to create_checkout_link once the human has settled on shipping this exact parcel, so the pair costs one carrier call rather than two. Use get_price_index instead for typical or historical prices: it is free, while this tool spends a rate-limited carrier call every time. Parameter rules: - weight_lb, length_in, width_in and height_in count only as a set of four, each above zero. Leave any one out and all four are ignored in favor of the estimate, so never send weight alone. - One label per box. quantity counts units of the item: units that fit one box are priced as that box (two books go in one carton), and units that need more than one box return mode multiple_boxes, as does any quantity above 1 sent with exact dimensions, since those describe a single box. A box past the largest parcel any carrier here takes (150 lb, 108 in on the longest side, 165 in of length plus girth; USPS stops lower, and only services that take the box are listed) or a product described as a pallet or freight load (a pallet of, LTL, truckload, shipping container) returns mode not_a_parcel. Neither carries rates. - product is the item itself, up to 200 characters. A bare route ("to Canada"), a bare weight ("7 lbs") or a question is refused as product_not_recognized before any carrier is called. - from_zip must be a real 5-digit US ZIP (ZIP+4 is trimmed to five), or the call fails with invalid_us_zip. - to_zip follows to_country: a 5-digit ZIP for US, otherwise that country's own postal code handed to the carriers as typed. A to_country outside US, CA, GB, DE and AU is refused as international_unsupported_online, so do not retry it with a different box. - Allowance: 80 calls an hour per client, shared with the public /quote route.
Nur Lesen Externer Zugriff
Eingabeschema
{'type': 'object', 'required': ['product', 'from_zip', 'to_zip'], 'properties': {'to_zip': {'type': 'string', 'description': "Destination postal code: a 5-digit ZIP for the US, or the destination country's own postal code, e.g. M5V 2T6 for Toronto or SW1A 1AA for London."}, 'product': {'type': 'string', 'description': 'Plain-words item description, e.g. "65 inch flat screen TV in original box".'}, 'from_zip': {'type': 'string', 'description': 'Origin US ZIP code, 5 digits. The origin is always in the United States.'}, 'quantity': {'type': 'integer', 'default': 1, 'minimum': 1, 'description': 'How many of the item ship together. Default 1.'}, 'width_in': {'type': 'number', 'description': 'Packed box width, inches.', 'exclusiveMinimum': 0}, 'height_in': {'type': 'number', 'description': 'Packed box height, inches.', 'exclusiveMinimum': 0}, 'length_in': {'type': 'number', 'description': 'Packed box length, inches.', 'exclusiveMinimum': 0}, 'weight_lb': {'type': 'number', 'description': 'Packed weight, pounds. Decimals allowed.', 'exclusiveMinimum': 0}, 'to_country': {'enum': ['US', 'CA', 'GB', 'DE', 'AU'], 'type': 'string', 'default': 'US', 'description': 'Two-letter destination country: US (default), CA, GB, DE, AU.'}}}
Ausgabeschema
{'type': 'object', 'required': ['rates'], 'properties': {'mode': {'type': 'string', 'description': 'Quote mode: parcel_label_ready when rates are listed; not_a_parcel, multiple_boxes or parcel_restricted when they are not'}, 'rates': {'type': 'array', 'items': {'type': 'object', 'required': ['carrier', 'service', 'amount'], 'properties': {'amount': {'type': 'number', 'description': 'Checkout total, USD, SMKlog fee inside'}, 'carrier': {'type': 'string', 'description': 'USPS, UPS, FedEx or DHL'}, 'service': {'type': 'string', 'description': 'Service name without the carrier prefix'}, 'currency': {'type': 'string', 'description': 'ISO currency, USD'}, 'delivery_days': {'type': ['integer', 'null'], 'description': 'Business days in transit when the carrier quotes one'}, 'retail_amount': {'type': 'number', 'description': 'Carrier retail counter price, USD; 0 when not published'}, 'service_label': {'type': 'string', 'description': 'Full display name, carrier included'}, 'delivery_window': {'type': ['string', 'null'], 'description': 'e.g. "2-5 business days"'}, 'delivery_estimated_date': {'type': ['string', 'null'], 'description': 'Estimated delivery date when quoted'}}}, 'description': 'Up to five purchasable services. Not cheapest first: they are ranked by best value, each rate scored as its checkout total in cents plus 175 per business day of transit (30 days when the carrier quotes none), lowest score first, and a rate that publishes a carrier counter price may lead a near-tie within 50 cents or 2 percent. Sort by amount yourself when you want the cheapest.'}, 'package': {'type': 'object', 'description': 'The packed box the rates were computed for'}, 'quote_id': {'type': 'string', 'description': 'Handle to this quote, good for 15 minutes. Pass it to create_checkout_link as quote_id and that call spends no second carrier call. Null when no rate came back, or when the handle could not be stored.'}}, 'description': 'Live rates for the shipment. Empty rates come with a mode that says why: not_a_parcel (SMKlog does not arrange pallet or freight shipments), multiple_boxes (quote each box on its own) or parcel_restricted.'}
get_price_index
US parcel shipping price index
The SMKlog parcel shipping price index: a monthly repriced basket of six common boxes (1 to 20 lb) shipped from Newark, NJ to five US cities, quoted through the same live USPS, UPS and FedEx pipeline that prices real shipments. Returns the cheapest purchasable service per box and lane with every rate behind it, plus basket averages. Reference data for questions like "what does shipping a shoebox cost in the US right now" — reading it spends no quote allowance. For a price on a specific shipment, call get_parcel_quote instead. Parameter rules: month names one published issue as YYYY-MM; issues exist from 2026-07 onward, one per month, and omitting month returns the newest. A month with no issue answers issue_not_found together with available_months, so one miss lists every valid value; anything not shaped YYYY-MM answers invalid_month. Every issue prices the same boxes and lanes, so two months compare cell for cell.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'month': {'type': 'string', 'description': 'Issue month as YYYY-MM. Omit for the newest published issue.'}}}
Ausgabeschema
{'type': 'object', 'required': ['month', 'captured_on', 'cells'], 'properties': {'page': {'type': 'string', 'description': 'The published issue page on smklog.com'}, 'cells': {'type': 'array', 'items': {'type': 'object', 'required': ['box', 'to', 'cheapest'], 'properties': {'to': {'type': 'string', 'description': 'Destination city'}, 'box': {'type': 'string', 'description': 'Basket carton, e.g. "Book box"'}, 'dims': {'type': 'string', 'description': 'Packed dimensions, inches'}, 'to_zip': {'type': 'string', 'description': 'Destination ZIP'}, 'weight': {'type': 'string', 'description': 'Packed weight, pounds'}, 'cheapest': {'type': 'object', 'description': 'The lowest-priced purchasable service for this cell'}, 'services': {'type': 'array', 'description': 'Every purchasable service for this cell, cheapest first'}}}, 'description': 'One entry per box and destination'}, 'label': {'type': 'string', 'description': 'Issue month spelled out, e.g. "August 2026"'}, 'month': {'type': 'string', 'description': 'Issue month, YYYY-MM'}, 'origin': {'type': 'string', 'description': 'Origin of every lane, Newark NJ (07102)'}, 'captured_on': {'type': 'string', 'description': 'The date every price in this issue was captured'}, 'methodology': {'type': 'string', 'description': 'How the numbers are produced'}, 'carrier_wins': {'type': ['object', 'null'], 'description': 'How many cells each carrier priced cheapest'}, 'basket_average': {'type': ['number', 'null'], 'description': 'Mean of the cheapest rate across all thirty cells, USD'}}, 'description': 'One published issue of the index: the cheapest service per box and lane with every rate behind it.'}
track_parcel
Track a SMKlog shipment
Track a shipment whose shipping label was bought on smklog.com, by carrier tracking number. Returns the current delivery status, the latest scan events and the estimated delivery date when the carrier reports one. Works for SMKlog labels only — it is not a universal tracker for arbitrary USPS, UPS, FedEx or DHL numbers, so a number from any other seller comes back not-found rather than as a status. Unrelated to the two pricing tools: it neither quotes nor spends quote allowance. Parameter rules: tracking_number is the only key; no order id or email is needed or accepted. When the label was bought through a create_checkout_link session, get_checkout_status hands back this number at label_ready. It is matched after removing spaces and hyphens and ignoring case, so a pasted or spoken number works as-is. Expect USPS as 20 to 22 digits (13 characters ending in US for international), UPS as 1Z plus 16 characters, FedEx as 12 to 22 digits; anything shorter than 6 characters after cleanup is refused as tracking_number_required, and a number SMKlog never sold answers 404 tracking_not_found with status "not_found". Scan events come newest first, up to eight.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['tracking_number'], 'properties': {'tracking_number': {'type': 'string', 'description': 'Carrier tracking number from the SMKlog receipt or label page'}}}
Ausgabeschema
{'type': 'object', 'required': ['tracking', 'events'], 'properties': {'events': {'type': 'array', 'items': {'type': 'object', 'properties': {'zip': {'type': 'string', 'description': 'Scan ZIP'}, 'city': {'type': 'string', 'description': 'Scan city'}, 'state': {'type': 'string', 'description': 'Scan state'}, 'status': {'type': 'string', 'description': 'Machine status at this scan'}, 'message': {'type': 'string', 'description': 'What the carrier reported'}, 'datetime': {'type': 'string', 'description': 'Scan timestamp'}, 'status_label': {'type': 'string', 'description': 'Human-readable status'}}}, 'description': 'Scan events, newest first, up to eight'}, 'tracking': {'type': 'object', 'required': ['tracking_code', 'status'], 'properties': {'status': {'type': 'string', 'description': 'Machine status, e.g. in_transit, delivered'}, 'carrier': {'type': 'string', 'description': 'USPS, UPS, FedEx or DHL'}, 'updated_at': {'type': 'string', 'description': 'When this record last changed'}, 'delivered_at': {'type': 'string', 'description': 'Delivery timestamp once delivered'}, 'status_label': {'type': 'string', 'description': 'Human-readable status'}, 'last_event_at': {'type': 'string', 'description': 'Timestamp of the latest scan'}, 'status_detail': {'type': 'string', 'description': 'Carrier detail when reported'}, 'tracking_code': {'type': 'string', 'description': 'The carrier tracking number'}, 'estimated_delivery': {'type': 'string', 'description': 'Estimated delivery date when the carrier reports one'}}}}, 'description': 'Current delivery status plus the scan timeline, newest first.'}
Geändert
create_checkout_link
29. September 2026 03:03
Geändert
get_parcel_quote
29. September 2026 03:03
Hinzugefügt
get_checkout_status
17. September 2026 12:37
Hinzugefügt
get_price_index
17. September 2026 12:37
Hinzugefügt
track_parcel
17. September 2026 12:37
Hinzugefügt
create_checkout_link
17. September 2026 12:37
Hinzugefügt
get_parcel_quote
17. September 2026 12:37