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

Gemini CLI · Industry Data

How to Use AFCD food nutrient profile in Gemini CLI

Returns one food's nutrient profile and descriptive information, including derivation and sampling notes. Use it to examine a specific food and understand where its nutrient values came from.

Prompts to try with AFCD food nutrient profile in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use AFCD food nutrient profile for Vegemite, Public Food Key F008785, and build a detail view that includes nutrients, derivation, and sampling notes.

AFCD food nutrient profileGemini CLI
Try asking
  • Use AFCD food nutrient profile to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from AFCD food nutrient profile and tell me what changed since last week.

  • Check AFCD food nutrient profile and summarize what you find in three bullet points.

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

How to set up AFCD food nutrient profile in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 food nutrient profile

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

Then paste one of the prompts above: Gemini CLI finds AFCD food nutrient profile on Spiral, shows the price and runs it.

AFCD food nutrient profile providers and prices

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

AlexandriaIndustry Data

What can you do with AFCD food nutrient profile in Gemini CLI?

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.

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.

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.

Review the evidence behind category comparisons

List foods in a category, resolve ambiguous names, and inspect selected derivation and sampling notes. Explain which comparisons rely on analyzed foods and which involve calculated or borrowed data.

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 food nutrient profile in Gemini CLI

Can Gemini CLI use AFCD food nutrient profile?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run AFCD food nutrient profile like any built-in tool.

How much does AFCD food nutrient profile cost in Gemini CLI?

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

Do I need an Alexandria account to use AFCD food nutrient profile in Gemini CLI?

No. Spiral runs AFCD food nutrient profile 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 nutrient profile in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while AFCD food nutrient profile runs?

AFCD food nutrient profile runs in the background. Gemini CLI 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 food nutrient profile in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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