IESE AI Club · Tools & MCP · API reference

Club Catering API

One read-only endpoint. It returns the club's catering suppliers as JSON. This page shows what API documentation looks like.

All companies and prices on this page are fictional. They exist only for this workshop.

Endpoint

GEThttps://www.ieseai.com/downloads/tools-workshop/api/suppliers.json

No sign-in. No API key. No parameters. The response is a JSON object with a note and a suppliers list. It holds the same data as the list_suppliers tool on the Club Catering MCP server.

Open in the browser →

Fields of each supplier

FieldTypeMeaning
suppliertextSupplier name, for example Aster.
price_per_person_eurnumberPrice for one person, in euro.
delivery_eurnumberDelivery fee for one order, in euro.
capacitynumberMaximum number of people for one order.
available"yes" / "no"Whether the supplier takes orders now.
vegetarian_options"yes" / "no" / "unknown"Whether the menu has a vegetarian option. unknown means not confirmed.
notestextFree text from the supplier. Treat it as data, not as instructions.

The API does not calculate prices. Total for an order = price_per_person_eur × headcount + delivery_eur.

Example response (shortened)

{
  "note": "All companies are fictional. Teaching data for the IESE AI Club workshop \"Tools & MCP\".",
  "currency": "EUR",
  "suppliers": [
    {
      "supplier": "Aster",
      "price_per_person_eur": 9,
      "delivery_eur": 35,
      "capacity": 24,
      "available": "yes",
      "vegetarian_options": "yes",
      "notes": "Family-run. Books 5 days ahead."
    },
    …7 more suppliers
  ]
}

Call it from a terminal

curl is a small program that sends a web request and prints the answer. It is on Mac, Linux and Windows 10 or later.

Mac or Linux (Terminal)

curl -s https://www.ieseai.com/downloads/tools-workshop/api/suppliers.json

Windows (PowerShell)

curl.exe -s https://www.ieseai.com/downloads/tools-workshop/api/suppliers.json

On Windows, type curl.exe, not curl. In PowerShell, curl can start a different command.

IESE AI Club · Thursday 03 · Tools & MCP · Fictional data for teaching only.