Claude · Tool Use & Projects5 min read

Add Live UK Shipping Quotes to Claude — No Code Required

Claude is one of the best AI models for following structured instructions. By giving it the AI Parcels SKILL.md, you enable Claude to fetch live UK parcel prices, find nearby drop-off points, and walk you through booking — entirely in conversation. No API key, no coding, no config files.

⏱ Time savings estimate

Developers building internal tools typically spend 1–3 hours per shipping feature integrating individual carrier APIs. With AI Parcels and Claude, you describe the task in plain English and Claude fetches the prices directly. Teams report saving hours per sprint on logistics automation.

Two ways to set this up

Choose the approach that matches how you use Claude:

  • Option A — Claude.ai Projects (zero code): Paste the SKILL.md into a Project. Perfect for personal use and non-technical users. Takes 60 seconds.
  • Option B — Anthropic Tool Use API: Map the AI Parcels OpenAPI schema to Claude's tool definitions for a fully automated pipeline.

Option A — Claude.ai Projects

This takes under 60 seconds:

  1. Open claude.ai and click Projects in the sidebar.
  2. Create a new project — e.g. "Shipping Assistant".
  3. Click Add content and paste the full contents of the AI Parcels SKILL.md.
  4. Add a system prompt: "You are a UK parcel shipping assistant. Use the AI Parcels skill to fetch live quotes. Present prices in £ and include delivery dates."
  5. Open a new chat within the project and ask for a quote.
For developers

Option B — Anthropic Tool Use API

For production apps, use Claude's native Tool Use API to map AI Parcels endpoints as callable tools. Here's a minimal TypeScript example:

shipping-tool.ts
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic();

const tools = [
  {
    name: "get_shipping_quotes",
    description: "Fetch real-time UK parcel quotes from Evri, DPD, Royal Mail and more.",
    input_schema: {
      type: "object",
      properties: {
        originPostcode: { type: "string", description: "UK origin postcode" },
        destinationPostcode: { type: "string", description: "Destination postcode" },
        weight: { type: "number", description: "Parcel weight in kg" },
        length: { type: "integer", description: "Length in cm" },
        width: { type: "integer", description: "Width in cm" },
        height: { type: "integer", description: "Height in cm" },
      },
      required: ["originPostcode", "destinationPostcode", "weight"],
    },
  },
];

async function getQuotes(input: Record<string, unknown>) {
  const params = new URLSearchParams(input as Record<string, string>);
  const res = await fetch(
    `https://api.ai.parcels.dotnethelp.co.uk/.api/quote/shipments/GB/GB?${params}`
  );
  return res.json();
}

const response = await client.messages.create({
  model: "claude-opus-4-5",
  max_tokens: 1024,
  tools,
  messages: [{ role: "user", content: "Cheapest parcel SW1A 2AA to EH2 2EQ, 2kg?" }],
});

if (response.stop_reason === "tool_use") {
  const toolUse = response.content.find((b) => b.type === "tool_use");
  if (toolUse?.type === "tool_use") {
    const quotes = await getQuotes(toolUse.input as Record<string, unknown>);
    console.log(quotes);
  }
}

Example conversation

Example conversation

You

"Send a small box of chocolates from 10 Downing Street, SW1A 2AA to 1 Princes Street, Edinburgh, EH1 1AA. It weighs 1kg, is 20×15×10cm."

Claude

I've fetched the live prices for your 1kg parcel from London to Edinburgh:

  • 📦 Evri Parcel Shop — £2.89 · Arrives Wed 26 Feb · Drop-off at locker
  • 📮 Royal Mail Tracked 48 — £3.49 · Arrives Thu 27 Feb
  • 🚚 DPD Next Day — £5.99 · Arrives Tue 25 Feb · Timed delivery

Evri is cheapest at £2.89. Want me to find the nearest Evri locker to SW1A 2AA, or shall I start the booking?

What Claude can do with this skill

  • Price comparisons — side-by-side UK carrier quotes in one response
  • Natural language queries — no need to know API parameters
  • Drop-off finder — nearest lockers and parcel shops by postcode
  • Booking workflow — collects address details and generates a payment link
  • International quotes — UK to USA, EU, 200+ countries with customs guidance

Try AI Parcels now

No sign-up. No API key. Just live quotes.