analytics
Show bookings analytics: total revenue, shipment count, breakdown by source (mcp vs cli). Use this to track how much revenue has been generated through AI tools.
Quote, book and track real LTL, full-truckload, box-truck and cargo-van freight on the Warp network.
LABSCO SUMMARY
Most logistics integrations stop at rates or visibility; this one books the shipment and returns a tracking number, across four modes rather than parcel. Treat every call as production — the booking tools charge a real card against a real lane, and there is no sandbox to rehearse in.
The MCP server for Warp's freight network. It runs the whole shipment lifecycle from an assistant — price a lane across modes, book it, track it, pull the BOL and POD, and read the invoice — against the same production network the Warp customer portal uses.
A Warp account and a payment method on file before you can book. The quickest path is npm install -g @warpfreight/cli-agent then warp-agent signup, which issues the token, writes it to ~/.warp/config.json and wires the server into your clients; the server re-reads that file on every call. WARP_API_KEY works as a fallback and WARP_API_URL points at a different gateway. Node.js 20 or later. There is no sandbox: the freight proxy needs a live key, and sandbox keys return 401 on quote and booking endpoints.
Follow the published steps — npm install -g @warpfreight/cli-agent
USE CASES
Price every eligible mode for the lane in one call, then follow up with a multi-carrier LTL comparison if LTL wins.
Price all the rows at once, then book the ones you want in a single follow-up call.
Look up the shipment by id and read its full pickup-to-delivery event timeline.
Pull the Bill of Lading and POD, then read the invoice line items and payment status.
Describe the lane once, have the owner approve by email, and check the authorization record for each booking it makes.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
analyticsShow bookings analytics: total revenue, shipment count, breakdown by source (mcp vs cli). Use this to track how much revenue has been generated through AI tools.
automate_laneSet up a RECURRING weekly shipment (standing order): describe the lane once, and after the account owner approves by email, Warp re-quotes it fresh every week and books the best option automatically while the price stays at or under the owner's ceiling. Over-ceiling weeks book nothing and notify the owner. THIS TOOL ONLY PROPOSES — nothing books now, and nothing ever books without the owner's one-time email approval. Auth required.
automation_receiptsAuthorization record for an automation's bookings: one entry per booking attempt showing the checks it passed at commit time against the owner's approval — same lane, price within ceiling, automation active, quote live — plus the shipment id it produced. Entries marked confirmation_required did NOT book autonomously; they fell back to owner confirmation. Read-only. Auth required.
batch_bookBook MANY already-quoted lanes in ONE call (sequential, one card charge per row). Use this after batch_quote when the user says "book all of them" or "book rows 1, 3, 5" — do NOT call book in a loop. Each row needs a quote_id (the same one batch_quote returned for that row). Pickup/delivery default to the shared addresses at the top level so a single warehouse → many destinations only needs one address pair. Returns a progress card showing per-row Booked/Failed status with tracking numbers.
batch_quotePrice MANY lanes in ONE call (parallel, ~1-3s for typical spreadsheets). Use this WHENEVER the user gives you a spreadsheet, CSV, or list of multiple lanes to quote — do NOT call warp_*_quote in a loop. Returns a single batch-quote card with one row per lane (origin → dest · mode · pallets · price · transit). Each priced lane keeps its quote_id and can be booked individually with book ("book row 3").
bookBook a quoted shipment using any quote_id or option id returned from a quote tool (Warp or market carrier). Requires quote_id + pickup and delivery addresses. Auth required.
box_truck_quoteQuote a 26' box truck shipment (1-12 pallets, firm price, 15-min expiry)
compare_modesTHE ONE CALL for "what's the cheapest/best way to ship this?". Prices ALL FOUR freight modes (LTL / full truckload / cargo van / 26' box truck) in ONE keyless call to Warp's all-modes engine and returns a decision-complete recommendation: the winning mode, its rate, transit, a bookable quote_id, the trade-off math against the runner-up, and every mode that couldn't price (with the reason). Prefer this over calling the individual quote tools and comparing them yourself — one round trip, and modes Warp can't serve are returned as explicitly unavailable WITH the reason rather than being dropped, so there is never a silently shortened list to guess from. Dims are optional (a standard 48x40x48 pallet is assumed). Set benchmark_market:true to also rank Warp's rate against the live 30+ carrier market for the lane (adds ~15-25s) — that makes the answer decision-complete: the right mode AND whether the price is actually good. Quote-only: it never books. To book, pass the recommended quote_id to book after the user confirms.
delete_load_templateDelete a saved load template by its id (starts with lt_). Auth required.
eventsGet the full tracking event history for a shipment (timeline of pickups, in-transit updates, deliveries). Auth required.
ftl_quoteQuote a full truckload (53' dry van). Only origin, destination, and date required.
get_documentsList shipment documents (BOL, POD, customs forms, etc.). Returns download URLs. Auth required. To fetch the Bill of Lading, pass document_type='bol' — this is how EXTERNAL / brokered (market-carrier) BOLs are returned now, not just Warp-carrier ones.
get_invoiceRetrieve the invoice for a delivered shipment (line items, taxes, payment status). Auth required.
lane_historyGet shipping history for your lanes (past shipments, last consignee, counts). Auth required.
list_bookingsList recent bookings for this API key, newest first. Auth required. Renders an interactive shipments card (click a shipment to expand pickup/delivery, freight, and a tracking link).
load_templatesList the agent's saved load templates — reusable shipment configs (name, dims, weight, commodity). Recall one to quote/book a repeat kind of load without re-entering details. Auth required.
locationsList the agent's saved pickup/delivery locations (addresses Warp has on file for this account), so you can reuse them when booking instead of re-typing addresses. Auth required.
loginLog in to Warp with email and password. Saves credentials locally so booking tools work. Call this if the user needs to authenticate or if payment_status says no key is configured.
ltl_market_optionsMulti-carrier LTL comparison — returns 30+ carrier rates ranked by price (slow, ~15s). Call IMMEDIATELY AFTER ltl_quote with the same parameters; this fills in the 'finding other carrier rates…' section the fast quote card was showing. Useful when the user wants to compare carriers or pick a specific one. Do not declare a winner or recommend a specific carrier; just present the ranked list.
ltl_quoteQuote an LTL shipment — returns Warp's all-inclusive rate FAST (~1-2s) so the user sees a price immediately. The inline quote card shows the Warp rate plus a 'finding other carrier rates…' loading indicator. IMMEDIATELY follow up by calling ltl_market_options with the same parameters to fill in the multi-carrier comparison (~15s). Provide dims + commodity for an exact firm quote; if you don't have dims, quote anyway — it assumes a standard 48x40x48 pallet (FAK, no freight class) for an instant price. Don't block on asking for pallet dimensions; quote first, then pass real dims for an exact rate. When a palletized load could also move by box truck or van, quote LTL alongside those and show the cheapest valid mode. Do not editorialize the results. Do not declare a winner or recommend a specific carrier. Present Warp's quote first, then list market options as context. Let the user decide.
manage_automationCheck or stop a recurring lane automation. Actions: 'status' (read-only), 'pause', 'cancel' (permanent), 'skip_next' (skip one week's pickup — nothing books or charges that week). STOP-ONLY by design: there is no agent-side resume, reactivate, or ceiling change — those exist only behind the account owner's emailed approval link. Auth required.
multistop_bookBook a multi-stop FTL route quoted by multistop_quote. Send one shipments[] leg per pickup→delivery pair riding the truck (minimum 2 legs), each leg referencing the quoted stop sequence by stop_index with full address + arrival window. No card charge fires from this call — multi-stop pricing settles via your Warp account. Auth required.
multistop_quoteQuote a multi-stop FTL route: ONE truck visits 3+ stops in order (first pickup → intermediate stops → final delivery). Use for milk runs, pool distribution, or multi-store replenishment on a single truck — for a simple A→B truckload use ftl_quote. Auth required (free account). Coverage is route-dependent — not every route has a rate yet.
payment_statusCheck if the current Warp account has a payment method on file. Call this if the user asks about their payment status, or before booking if you want to confirm they can book. Returns has_card and onboard_url if a card needs to be added.
quote_historyList your recent freight quotes (LTL, van, box truck, FTL) from all sessions. Useful for surfacing prior pricing on similar lanes. Auth required.
save_load_templateSave a reusable load template (a named shipment config) so it can be recalled for repeat lanes. Auth required.
statusCheck Warp API health and version. Also validates your API key if one is configured.
trackTrack a shipment by ID or tracking number. Auth required.
van_quoteQuote a cargo van shipment (1-3 pallets, firm price, 15-min expiry)
BEFORE YOU INSTALL
29 tools when we connected.
WARP_API_KEY in your environment
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the 29 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g @warpfreight/cli-agentwarp-agent signup
Restart your AI client to load the new tools.
Add a payment method at https://www.wearewarp.com/agents/account.
{
"mcpServers": {
"warp": {
"command": "bash",
"args": [
"-lc",
"npx -y warp-agent-mcp"
]
}
}
}