How to Use USDA nutrient reference in ChatGPT
Returns nutrient reference entries with names, identifiers, numbers, and units. Use it to identify the exact nutrient you want before requesting food rankings or building a comparison table.
Prompts to try with USDA nutrient reference in ChatGPT
Copy an example into ChatGPT, or ask in your own words.
Use USDA nutrient reference to find the entries for vitamin D and explain the names and units returned.
Use USDA nutrient reference to look this up and give me the result as a table.
Pull the latest numbers from USDA nutrient reference and tell me what changed since last week.
Check USDA nutrient reference and summarize what you find in three bullet points.
Pull the newest data from USDA nutrient reference and give me the result as a table.
How to set up USDA nutrient reference 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 USDA nutrient reference
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/list_nutrients", "input": { "query": "<query>" } }'
Then paste one of the prompts above: ChatGPT finds USDA nutrient reference on Spiral, shows the price and runs it.
USDA nutrient reference providers and prices
Spiral runs USDA nutrient reference through Alexandria. Open a card for today's price, with every fee included.
What can you do with USDA nutrient reference in ChatGPT?
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.
Nutrient terminology reference
Create a lookup table of USDA nutrient names, identifiers, numbers, and units for editors or application developers preparing food comparison tables.
More on USDA nutrient reference and ChatGPT
Overview
USDA nutrient reference in other agents
Questions about USDA nutrient reference in ChatGPT
Can ChatGPT use USDA nutrient reference?
Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run USDA nutrient reference like any built-in tool.
How much does USDA nutrient reference 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 USDA nutrient reference in ChatGPT?
No. Spiral runs USDA nutrient reference on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up USDA nutrient reference in ChatGPT?
About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.
Does ChatGPT wait while USDA nutrient reference runs?
USDA nutrient reference runs in the background. ChatGPT 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.
Start using USDA nutrient reference 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


