Spiral gives your agent every tool with one account. Browse the tools →

Google Antigravity · Industry Data

How to Use AFCD foods by nutrient in Google Antigravity

Returns foods with their values for one nutrient, expressed per 100 g. Use it to compare iron in breakfast cereals or sodium in cheeses before examining individual food profiles.

Prompts to try with AFCD foods by nutrient in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use AFCD foods by nutrient to look this up and give me the result as a table. Save the result in ./assets.

AFCD foods by nutrientGoogle Antigravity
Try asking
  • Pull the latest numbers from AFCD foods by nutrient and tell me what changed since last week.

  • Check AFCD foods by nutrient and summarize what you find in three bullet points.

  • Pull the newest data from AFCD foods by nutrient and give me the result as a table.

  • Check AFCD foods by nutrient every morning and tell me only when something changed.

How to set up AFCD foods by nutrient in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run AFCD foods by nutrient

    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/foods_by_nutrient",
        "input": {
          "nutrient_id": "<nutrient_id>"
        }
      }'

Then paste one of the prompts above: Google Antigravity finds AFCD foods by nutrient on Spiral, shows the price and runs it.

AFCD foods by nutrient providers and prices

Spiral runs AFCD foods by nutrient through Alexandria. Open a card for today's price, with every fee included.

AlexandriaIndustry Data
Australian Food Composition Database (AFCD, FSANZ) · Foods by nutrient
afcd-foodstandards-gov-au/foods/foods_by_nutrient

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea number from 11

1-based page of the client-side paginated result (the API returns the whole list).

Sortvalue_desc, value_asc, or namevalue_desc

Row order: value_desc (default), value_asc or name (AFCD alphabetical).

Page size1 to 20050

Rows per page (1-200).

Food group IDa number from 1

Restrict to one AFCD food group (see list_food_groups); joins the food catalogue.

Sub food group IDa number from 1

Restrict to one AFCD sub food group (see list_food_groups); joins the food catalogue.

Include food groupson or off

Fill the food group fields of every row by joining the food catalogue even without a group filter (one extra request).

Every API field of Australian Food Composition Database (AFCD, FSANZ) · Foods by nutrient is on its tool page: open its card above.

What can you do with AFCD foods by nutrient in Google Antigravity?

Build an Australian food reference browser with category navigation, nutrient explanations, and food comparisons. A coding agent can use AFCD descriptions and Public Food Keys to connect search results to the correct detail records.

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.

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.

Explain nutrient terminology with food examples

Build an explanation of AFCD nutrient terms using the definitions, foods with reported values, and selected full profiles. Keep each nutrient's units visible alongside the examples.

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.

Compare food preparation descriptions

Find raw and cooked food entries, examine their descriptions, and compare selected nutrients using the documented definitions. Keep preparation differences explicit when presenting the results.

Questions about AFCD foods by nutrient in Google Antigravity

Can Google Antigravity use AFCD foods by nutrient?

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run AFCD foods by nutrient like any built-in tool.

How much does AFCD foods by nutrient cost in Google Antigravity?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

Do I need an Alexandria account to use AFCD foods by nutrient in Google Antigravity?

No. Spiral runs AFCD foods by nutrient 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 foods by nutrient in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while AFCD foods by nutrient runs?

AFCD foods by nutrient runs in the background. Google Antigravity 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.

Get started

Start using AFCD foods by nutrient in Google Antigravity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Google Antigravity:

Set up Google Antigravity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options