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

Muse · Maps & Reviews

How to Use USDA food nutrition details in Muse

Returns one food’s nutrient values, units, portions, and available source details from FoodData Central. Use it to inspect a specific food record before comparing foods or calculating recipe nutrients.

Prompts to try with USDA food nutrition details in Muse

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

Use USDA food nutrition details for food 2705709 and summarize its protein, sodium, calcium, and available portions.

USDA food nutrition detailsMuse
Try asking
  • Use USDA food nutrition details to look this up and give me the result as a table.

  • Pull the latest numbers from USDA food nutrition details and tell me what changed since last week.

  • Check USDA food nutrition details and summarize what you find in three bullet points.

  • Pull the newest data from USDA food nutrition details and give me the result as a table.

How to set up USDA food nutrition details in Muse

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

Use the Muse connector

  1. Create an API key

    Create one under API keys in the Spiral console.

  2. Send Muse this message

    Muse reads Spiral's skill and asks for an API key.

    set up https://spiral.ai/SKILL.md
  3. Give Muse the key

    Paste the key when Muse asks for it, never in the chat itself.

Use the Spiral skill

  1. Send Muse 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 USDA food nutrition details

    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": "fdc-nal-usda-gov/foods/get_food",
        "input": {
          "fdc_id": 1
        }
      }'

Then paste one of the prompts above: Muse finds USDA food nutrition details on Spiral, shows the price and runs it.

USDA food nutrition details providers and prices

Spiral runs USDA food nutrition details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews

Settings you can ask for

Ask Muse for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Fdc IDa number from 1

FoodData Central id (e.g. 328637 Cheese, cheddar; 2705709 Survey cheddar; 2672832 a Branded cracker). Give either fdc_id or url.

Every API field of USDA FoodData Central (fdc.nal.usda.gov) · Get food is on its tool page: open its card above.

What can you do with USDA food nutrition details in Muse?

Prepare a sourced food comparison for a menu discussion or ingredient research task. Chat apps can explain USDA nutrient definitions and category labels alongside the food records and rankings you request.

Cafeteria ingredient substitution research

Find candidate foods by sodium content, match their descriptions, and inspect complete records. Use nutrient definitions and food categories to organize a comparison of substitutes within the same type of food.

Plant protein ingredient comparison

Discover foods ranked by reported protein, locate lentil, bean, tofu, and grain records, and compare their nutrient details. Resolve nutrient units and category labels before preparing a purchasing research table.

Fortified staple food research

Build a reference comparison of enriched and unenriched flour or rice. Resolve the iron definition, discover candidate foods by iron content, verify descriptions, and organize detailed records by USDA category.

Food comparison teaching tool

Build a classroom explorer with food search, category navigation, nutrient definitions, nutrient rankings, and individual food records. Let students investigate how the chosen food and nutrient change a comparison.

Recipe ingredient reference sheet

Match oats, milk, nuts, and other recipe ingredients to USDA foods, then collect their nutrient values and available portions in a source-linked reference sheet.

Packaged product comparison

Find specific packaged foods by name or GTIN and inspect their nutrient and label data. Prepare a comparison for a food buyer using the selected USDA records.

Questions about USDA food nutrition details in Muse

Can Muse use USDA food nutrition details?

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run USDA food nutrition details like any built-in tool.

How much does USDA food nutrition details cost in Muse?

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

Do I need an Alexandria account to use USDA food nutrition details in Muse?

You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs USDA food nutrition details on its own Alexandria account.

How long does it take to set up USDA food nutrition details in Muse?

About two minutes: create an API key, then send Muse this message, then give Muse the key.

Does Muse wait while USDA food nutrition details runs?

USDA food nutrition details runs in the background. Muse starts the run, checks on it and gives you the json when it's ready.

How often does USDA update FoodData Central?

Branded Foods data updates monthly through the API. SR Legacy is a fixed historical reference whose final release was April 2018.

What does Foundation Foods cover?

Foundation Foods covers commodity and minimally processed food samples. Its metadata helps explain variation between analyzed samples.

Does USDA use one category system for every food?

No. Each FoodData Central data type uses a categorization system developed for its own purpose, so category labels should be interpreted within that data type.

Can I find a packaged food by its barcode?

FoodData Central supports searching by GTIN as well as food name. It also supports NDB numbers and FNDDS food codes for the relevant data types.

What information can I inspect behind a nutrient value?

A food record can include data points, minimum, maximum, median, derivation details, and portions. Which details are available depends on the selected record.

Get started

Start using USDA food nutrition details in Muse

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

Paste this into Muse:

Set up Muse

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