How to Use FDA device UDI records in Gemini CLI
Returns GUDID device identification records, including brands, labelers, models, and reported premarket submission numbers. Use it to identify a particular product or model; GUDID does not store individual lot or serial numbers.
Prompts to try with FDA device UDI records in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use FDA device UDI records to find Dexcom G7 records. Compare returned brands, companies, and models with our product catalog and report mismatches.
Use FDA device UDI records to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FDA device UDI records and tell me what changed since last week.
Check FDA device UDI records and summarize what you find in three bullet points.
Pull the newest data from FDA device UDI records and give me the result as a table.
How to set up FDA device UDI records in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 FDA device UDI records
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": "fda-gov/devices/device_udi", "input": { "device_identifier": "<device_identifier>" } }'
Then paste one of the prompts above: Gemini CLI finds FDA device UDI records on Spiral, shows the price and runs it.
FDA device UDI records providers and prices
Spiral runs FDA device UDI records through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Skip | 0 to 25000 | 0 | skip |
| Limit | 1 to 50 | 10 | limit |
Every API field of FDA · Device udi is on its tool page: open its card above.
What can you do with FDA device UDI records in Gemini CLI?
Build a device research table that separates category information, labeled product identity, and PMA application history. A coding agent can compare FDA records with your project's catalog and produce a focused list of discrepancies.
Prepare a device category research brief
Explain a device category's classification, identify labeled products in that category, and summarize relevant PMA applications and supplements.
Review a manufacturer's public device records
Compare a company's labeled brands and models with its PMA application records, then explain the product categories associated with the returned codes.
Check a product research spreadsheet
Compare recorded device names, models, product codes, and PMA references against FDA records. Produce a discrepancy list for a researcher to review.
Build a device market comparison
Organize competing devices by FDA category, compare their labeled product identities, and summarize available PMA decision histories without treating those histories as market share.
Resolve a model from a device label
Look up a device identifier and compare the returned brand, company, and model with the label. Explain the meaning of its reported FDA product code.
More on FDA device UDI records and Gemini CLI
Overview
FDA device UDI records in other agents
Questions about FDA device UDI records in Gemini CLI
Can Gemini CLI use FDA device UDI records?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run FDA device UDI records like any built-in tool.
How much does FDA device UDI records 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 FDA device UDI records in Gemini CLI?
No. Spiral runs FDA device UDI records on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up FDA device UDI records in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while FDA device UDI records runs?
FDA device UDI records runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
What does an FDA device record identify?
Classification records describe a generic device category. UDI records identify labeled products and models, while PMA records describe premarket applications and supplements for Class III devices.
How often is the device data refreshed?
openFDA documents monthly updates for classification and PMA data, and weekly updates for UDI data. These are the API update schedules, so a recent source change may not appear immediately.
How far back does the data go?
openFDA lists 1976 as the earliest year for classification and PMA data, and 2013 for UDI data. Those dates describe dataset coverage, not a complete revision history for every record.
Can a product code identify one specific device?
A product code identifies a generic device category. Use a UDI record to distinguish a labeled brand or model, and a PMA record to investigate an application or supplement.
Can I reuse FDA device data commercially?
The classification and PMA datasets are marked public domain and CC0. GMDN content has separate restrictions: extracting it for specified commercial categorization, mapping, or AI training uses requires a GMDN Agency license.
Start using FDA device UDI records 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 https://spiral.ai/SKILL.md


