Shipping optimization for AI agents and merchants.
Treoir finds the optimal carrier, service, and warehouse for every shipment. Connect via MCP for AI agents or REST API for direct integration. One call, every option evaluated.
How it works
Whether your AI agent calls via MCP or you integrate via REST, the flow is the same.
// Via MCP (AI agents)
tool: "optimize_shipment"
args: { destination: "SW1A 1AA", weight_kg: 0.9,
deliver_by: "2026-03-20" }
// Via REST API (merchants)
POST /v1/fulfillment/optimize
{ "destination": { "postal_code": "SW1A 1AA" },
"items": [{ "weight_kg": 0.9 }] }What makes this different
Shipping APIs give you access to carriers. Treoir decides which carrier to use and why.
Not a shipping label API
Most shipping APIs give you rate lookups and label generation. You still decide which carrier and service to use. Treoir makes that decision for you, then books it, tracks it, and handles exceptions.
Real delivery estimates
Instead of "3-5 business days", you get probability distributions. "92% chance by Wednesday, 99% by Thursday." Built from actual carrier performance on each specific route.
Works with any integration pattern
Standard REST if you're wiring it into your checkout. MCP if your AI agent needs to ship something. A2A for agent-to-agent workflows. Same optimization engine behind all of them.
Improves with volume
Every shipment teaches the system something about how carriers actually perform on specific routes. The predictions get more accurate over time, which means better decisions for you.
Who it's for
If you're shipping packages and spending time thinking about which carrier to use, Treoir can take that off your plate.
E-commerce checkout
You're shipping a few thousand orders a month and manually picking between Royal Mail and DPD depending on the destination. Plug Treoir into your checkout flow and it picks the right carrier for each order automatically.
Lower shipping costs without someone manually comparing rates.
AI agent fulfilment
Your customer's AI agent just bought a gift and needs it in Edinburgh by Saturday. It calls Treoir via MCP with a natural language constraint. Treoir figures out the best option and books it.
The agent handles everything. No human in the loop.
Multi-warehouse routing
You have warehouses in Dublin, London, and Manchester. An order comes in for Bristol. The obvious choice is London because it's closest, but Treoir knows the DPD lane from Manchester is actually faster and cheaper this week.
The right warehouse, not just the nearest one.
Cross-border shipping
An order needs to go from Ireland to the UK. Carrier selection, customs considerations, choosing between An Post and DPD depending on the delivery window. One API call covers all of it.
Cross-border shipping without the operational overhead.
Pricing
Pay per shipping decision. No monthly minimums on Starter. Growth and Scale tiers include a share of the savings we find you.
Starter
per decision
For startups and low-volume merchants getting started.
- Up to 10K decisions/month
- REST API access
- UK & IE carrier network
- Cost + speed optimisation
- Email support
Growth
per decision + 1% of savings
For growing platforms that need the full optimisation engine.
- Up to 500K decisions/month
- REST + MCP protocols
- Full carrier network
- Multi-objective optimisation
- Predictive delivery windows
- Webhook callbacks
- Priority support
Scale
per decision + 1.5% of savings
For high-volume platforms where every basis point matters.
- Unlimited decisions
- All protocols + custom adapters
- Multi-warehouse optimisation
- Auto re-optimisation
- Carbon-optimised routing
- Dedicated account manager
- SLA guarantees
- 99.99% uptime
Need something custom? Get in touch.