# Parcel booking — Complete Documentation (SANDBOX: fake orders and payments) > Quote and book parcels, ending with a payment link. Never takes payment. Public, no sign-in, stateless. ## Endpoints - MCP endpoint (Streamable HTTP, stateless, no auth): https://sandbox.parcel-mcp.com/mcp - REST API base: https://sandbox.parcel-mcp.com/v1 - OpenAPI 3.1 schema: https://sandbox.parcel-mcp.com/openapi.json - Live prices (WebMCP-enabled): https://sandbox.parcel-mcp.com/prices - Landed duty & tax calculator (WebMCP-enabled): https://sandbox.parcel-mcp.com/prices/landed - Health check: https://sandbox.parcel-mcp.com/health ## Connect - **Claude (web and desktop)**: Settings -> Connectors -> Add custom connector -> `https://sandbox.parcel-mcp.com/mcp` (no auth) - **Claude Code**: `claude mcp add --transport http parcel-booking-sandbox https://sandbox.parcel-mcp.com/mcp` - **Cursor** (`.cursor/mcp.json`): `{"mcpServers":{"parcel-booking-sandbox":{"url":"https://sandbox.parcel-mcp.com/mcp"}}}` - **VS Code** (`.vscode/mcp.json`): `{"servers":{"parcel-booking-sandbox":{"type":"http","url":"https://sandbox.parcel-mcp.com/mcp"}}}` - **ChatGPT / OpenAPI clients**: Connect `https://sandbox.parcel-mcp.com/mcp` in Developer Mode or import `https://sandbox.parcel-mcp.com/openapi.json`. - **MCP Prompt**: `book_a_parcel` (optional args: `from`, `to`, `parcel`). ## Units, Limits, and Safety - **Units**: Money is in integer minor units of the sender's currency (`{minor, currency, display}`), weight in kg, dimensions in cm. Convert lb and inches before calling. - **Rate limits**: ~120 requests/minute per IP on `/mcp`, `/v1/*`, and `/prices*`; 3 orders/minute per IP on `create_order`. Max body size 64 KB. - **Booking safety**: Quotes are indicative; only `validate_order` returns the final price and a signed 30-minute `confirmationToken`. `create_order` re-checks the total before booking and never retries automatically. Payment links (`/pay/{token}`) expire after ~24 hours. - **Never invent data**: Do not fabricate postcodes, tax IDs, EORI, phone numbers, tariff codes, or IOSS numbers to clear validation errors. Ask the user. ## Booking Journey 1. **Get quotes** (`get_quotes`): Send both countries and postcodes, plus each parcel's weight, dimensions and valueMinor. Show the user a few options. Quote the chosen service again with the final parcel details to see its extras and dates. 2. **Check what the service needs** (`get_booking_requirements`): Use the service slug and the from and to codes that get_quotes returned. Ask the user only for the fields it lists as required. 3. **Pick a drop-off shop (drop-off services only)** (`search_drop_shops`): Search the service's drop-off network near the sender. If the sender will show a code, use printInStore: true and choose a shop or locker from the filtered results. 4. **Validate the order** (`validate_order`): Send the full order with the chosen extra keys. Fix any issues and validate again. Show the user the total, the breakdown and every warning, and get a clear yes. 5. **Create the order** (`create_order`): Send the confirmationToken from validate_order, once. Give the user the payment link and explain how they will get the label after paying. ### Extras and parcel protection - Requote with the chosen `serviceSlug` and final `parcels[].valueMinor` in sender-currency minor units. Use the replacement value and carry it into `validate_order`. - Take offered keys from `service.extras` and send them as strings in `validate_order.extras` or `moreItems[].extras`. Automatic quoted fees are already in the price and appear in `service.includesFees`. Use the validated price when `pricePending: true`. The validation breakdown groups charges by name and includes tax. - Included protection is limited by the parcel value. Where offered, choose one of `protection:base` (a fixed band) or `protection:full` (declared value up to `service.protection.max`). Omit both to keep included cover. The booking site's protection terms apply. - Collect the receiver's mobile number if they select `smsalert`. ### Label methods - Check the detail quote's handover, flags and offered extras. For home printing, have the sender print one PDF label per parcel. Check for offered alternatives when the quote flags `needs_printer`. - For printer-free drop-off, choose `printinstore` if offered and check its price. Look up the service's `dropOffProvider` with `search_drop_shops`, `purpose: "dropoff"` and `printInStore: true`. The sender shows the code at the chosen shop or locker. Some services issue only a code. - For collection, explicitly select `driverbringslabel` if offered and desired. Some services such as CitySprint same-day label the parcel at collection as standard. Confirm the method if the detail quote is ambiguous. - After payment, allow a few minutes for the order-complete page, confirmation email or order account to show the PDF or code. Explain the agreed method when sending the payment link. ### Batching - `get_quotes.moreShipments`: Price up to 10 shipments in one call (one upstream request per sender country). - `validate_order.moreItems`: Put up to 5 shipments on one order, one total, and one payment link (same sender country). ### Same-day delivery (Great Britain only) - Pass `includeSameDay: true` on `get_quotes`. Requires both postcodes in mainland Great Britain. - Priced by distance and vehicle (often £20 to over £1,000), collected the next working day 06:00-19:00 and delivered the same day. - Vehicle limits are checked per parcel: sum total weight and pick the smallest fitting vehicle (motorcycle 5 kg, small van 400 kg, large van 800 kg, extra-large van 1,100 kg). Receiver phone is required. Validate straight before booking. ### Prepaid duty and tax (DDP) - Set `dutyTerms: "ddp"` on `get_quotes` and `customs.dutyTerms: "ddp"` on `validate_order`. Quotes show only the admin fee; full duty and tax appear on `validate_order`. ## Expected Behaviour These look like bugs but are how the service works. - **Drop-off services have one date.** A drop-off quote returns a single date: the earliest day the parcel can be handed in. Collection services return about a week of collection dates. To book a particular day, choose a collection service. - **Quotes do not include duty and tax.** With dutyTerms ddp, a quote includes only the DDP admin fee, listed in includesFees as DDP admin fee. Import duty and tax depend on the contents, so validate_order prices them as a dry run with customs.dutyTerms ddp, and nothing is booked. The landed prices page shows examples. - **no_ddu means duty must be prepaid.** The no_ddu flag means the lane does not allow the receiver to pay duty: send customs.dutyTerms ddp, or ioss for EU sales. It is not a contradiction when the same service also lists the DDP admin fee. - **Postcodes are recommended, not optional.** Many quotes work without postcodes, but lookup_country returns postcode recommended where the postcode sets the price or the territory. Ask the user for real postcodes: quotes without them can be wrong or missing services. - **Codes can change to a territory.** A postcode can move a quote to a territory with its own code, for example BT to GB-NIR or GY to GG. get_quotes says so in notes. Use the returned from and to codes in later tools. lookup_country lists regions on the parent country only, and each territory names its parent in partOf. - **Cover can be zero.** protection.included is the cover without buying anything, up to the declared value. 0 means no cover. protection.max is the most a protection extra can cover. - **A detail quote returns the service twice.** With serviceSlug, services holds that one service as a summary row and service adds its dates, extras and cover. - **Same-day couriers are hidden by default.** Quotes leave same-day services out unless includeSameDay is true. They need both postcodes in mainland Great Britain and cost far more than standard services. - **Only the validated total is final.** Quotes are indicative. validate_order returns the price to show the user, and same-day prices can still change at checkout. - **Use the parcel-mcp.com addresses.** parcel-mcp.com and sandbox.parcel-mcp.com accept any HTTP client. The older workers.dev addresses still work, but Cloudflare can refuse generic user agents such as Python-urllib there with HTTP 403 and error code 1010. - **Unknown paths.** REST paths under /v1 and /mcp answer an unknown route with a JSON problem and HTTP 404. Browsers get the site 404 page. ## Supported Sender Countries | Country | Code | Currency | Drop-off shop search | | --- | --- | --- | --- | | United Kingdom | `GB` | GBP | Yes | Other sender countries may get few or no services. Quotes from India (IN), Thailand (TH), and Vietnam (VN) are international only. ## Browser WebMCP Tools When opened in a Chromium browser with WebMCP enabled (`document.modelContext`), the interactive price pages expose read-only client-side tools alongside declarative `