How to Use AFCD food groups in ChatGPT
Returns AFCD's food group hierarchy. Use it to identify the right category before building a food browser or comparing foods within a category.
Prompts to try with AFCD food groups in ChatGPT
Copy an example into ChatGPT, or ask in your own words.
Use AFCD food groups to find where cheeses and ready-to-eat breakfast cereals sit in the category hierarchy.
Use AFCD food groups to look this up and give me the result as a table.
Pull the latest numbers from AFCD food groups and tell me what changed since last week.
Check AFCD food groups and summarize what you find in three bullet points.
Pull the newest data from AFCD food groups and give me the result as a table.
How to set up AFCD food groups in ChatGPT
Pick the way that suits you. Each takes about two minutes.
Use the ChatGPT connector
- Add a custom MCP server
In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.
https://api.spiral.ai/mcp
- Click Connect
ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.
- Sign in to Spiral and approve
Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.
Use the Spiral skill
- Send ChatGPT this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run AFCD food groups
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "afcd-foodstandards-gov-au/foods/list_food_groups", "input": {} }'
Then paste one of the prompts above: ChatGPT finds AFCD food groups on Spiral, shows the price and runs it.
AFCD food groups providers and prices
Spiral runs AFCD food groups through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
What can you do with AFCD food groups in ChatGPT?
Turn AFCD reference data into a food comparison with clear descriptions and units. A chat app can explain the selected categories and nutrients, then distinguish the evidence behind the food values.
Compare breakfast cereals
Identify the ready-to-eat cereal category, list its foods, and resolve named cereals. Check nutrient definitions, rank the entries by iron, and inspect the selected food profiles and sampling notes.
Build a cheese reformulation reference
Find AFCD's cheese categories and enumerate the reference foods. Match named cheese types, check sodium definitions and units, then compare sodium values and inspect the underlying profiles.
Match recipe ingredients to reference foods
Map ingredients such as rolled oats, milk, and almonds to AFCD descriptions. Browse the relevant categories when names are ambiguous, then inspect preparation details and nutrient profiles before calculating recipe estimates.
Create an Australian food reference browser
Use the category hierarchy and category inventories for navigation, food search for lookup, nutrient definitions for explanations, nutrient comparisons for sorting, and individual profiles for the detail view.
Review changes to a food reference collection
Periodically compare retrieved categories, food inventories, nutrient definitions, rankings, and selected profiles with earlier observations. Produce a review queue when AFCD descriptions or values change.
More on AFCD food groups and ChatGPT
Overview
AFCD food groups in other agents
Questions about AFCD food groups in ChatGPT
Can ChatGPT use AFCD food groups?
Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run AFCD food groups like any built-in tool.
How much does AFCD food groups cost in ChatGPT?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.
Do I need an Alexandria account to use AFCD food groups in ChatGPT?
No. Spiral runs AFCD food groups on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up AFCD food groups in ChatGPT?
About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.
Does ChatGPT wait while AFCD food groups runs?
AFCD food groups runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.
Which foods does AFCD cover?
AFCD covers 1,588 foods commonly available in Australia. Its coverage is a reference selection of Australian foods, rather than a complete inventory of products sold worldwide.
How many nutrients can AFCD describe?
AFCD reports up to 268 nutrients per food. The nutrient documentation explains the units, derivation, assumptions, and limitations used for those components.
What changed in the latest AFCD dataset?
Release 3 incorporated new analytical data for 118 foods and an updated vitamin D dataset. That update describes the dataset as a whole; individual sampling notes provide the evidence behind a particular food.
Are all AFCD values laboratory measurements?
Laboratory analysis is the primary source, but a food's derivation can also identify calculated, borrowed, or label-based data. Sampling notes can include how many samples were purchased and where and when they were purchased.
Are nutrient comparisons based on serving size?
AFCD's nutrient comparison tables report values per 100 g. A ranking therefore compares equal food weights, which can differ substantially from the amounts someone would serve.
Start using AFCD food groups in ChatGPT
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into ChatGPT:
set up https://spiral.ai/SKILL.md


