[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [FDA food recall records](https://spiral.ai/integrations/muse-code/fda-food-recall-records)

# How to Use FDA food recall records in Muse Code

Returns food recall enforcement records with affected products, recalling firms, hazard classifications, recall reasons, and lot information. Use it for retrospective product and supplier research.

|  |  |
| --- | --- |
| Model | FDA food recall records |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FDA food recall records in Muse Code

- Use FDA food recall records to retrieve peanut-related reports from 2024 and create a research table in this project with products, firms, recall reasons, classifications, and lot information.
- Use FDA food recall records to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FDA food recall records and tell me what changed since last week.
- Check FDA food recall records and summarize what you find in three bullet points.
- Pull the newest data from FDA food recall records and give me the result as a table.

## How to set up FDA food recall records in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run FDA food recall records**: One request; the result comes back by polling or a webhook.

```bash
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/records/food_recalls",
    "input": {
      "skip": 0
    }
  }'
```

Then paste one of the prompts above: Muse Code finds FDA food recall records on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## FDA food recall records tools and prices

- [FDA · Food recalls](https://spiral.ai/tools/alexandria/fda-gov/records/food_recalls) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| skip | 0 to 25000 | 0 | skip |
| limit | 1 to 10 | 5 | limit |
| query |  | — | Plain openFDA search expression, e.g. product_description:aspirin or report_date:[20250101 TO 20251231]. Use spaces around AND, OR and TO; do not URL-encode the expression or use + as a space. Literal plus signs are preserved. Mutually exclusive with record_id. Omit both to browse source default order. |
| record_id |  | — | Source identifier returned by this dataset. Exact quoted lookup; mutually exclusive with query. Pattern: ^[A-Za-z0-9-]{1,100}$. |

## What can you do with FDA food recall records in Muse Code?

Build an FDA research view that keeps supply records, product approvals, orphan programs, and compliance correspondence understandable. A coding agent can turn returned records into project tables and link individual findings to FDA documents.

### Build an FDA research reference

Organize shortage presentations, food recall findings, approved drug records, orphan designations, and warning correspondence into a searchable internal reference with links to the original records.

### Check claims before publication

Check a draft's statements about product availability, recalled lots, approved products, orphan status, or warning letter findings against the relevant FDA records.

### Prepare an internal regulatory digest

Summarize newly retrieved FDA records for a research team, explaining whether each item concerns supply, a recall, an approved product, an orphan program, or compliance correspondence.

### Review food supplier records

Examine a food company's recall reasons, affected products, and lot information alongside relevant warning letter findings for an internal supplier review.

### Research food recall patterns

Compare historical recall reasons and affected product descriptions for an ingredient such as peanut or sesame, retaining lot and distribution details for each result.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## FDA food recall records in other agents

- [Amp](https://spiral.ai/integrations/amp/fda-food-recall-records)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fda-food-recall-records)
- [Claude](https://spiral.ai/integrations/claude-desktop/fda-food-recall-records)
- [Claude Code](https://spiral.ai/integrations/claude-code/fda-food-recall-records)
- [Cline](https://spiral.ai/integrations/cline/fda-food-recall-records)
- [Codex](https://spiral.ai/integrations/codex/fda-food-recall-records)
- [Cursor](https://spiral.ai/integrations/cursor/fda-food-recall-records)
- [Devin](https://spiral.ai/integrations/devin/fda-food-recall-records)
- [dots](https://spiral.ai/integrations/dots/fda-food-recall-records)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fda-food-recall-records)
- [Gemini](https://spiral.ai/integrations/gemini/fda-food-recall-records)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fda-food-recall-records)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/fda-food-recall-records)
- [goose](https://spiral.ai/integrations/goose/fda-food-recall-records)
- [Grok](https://spiral.ai/integrations/grok/fda-food-recall-records)
- [Grok Build](https://spiral.ai/integrations/grok-build/fda-food-recall-records)
- [Hermes](https://spiral.ai/integrations/hermes/fda-food-recall-records)
- [Instinct](https://spiral.ai/integrations/instinct/fda-food-recall-records)
- [Manus](https://spiral.ai/integrations/manus/fda-food-recall-records)
- [Muse](https://spiral.ai/integrations/muse/fda-food-recall-records)
- [n8n](https://spiral.ai/integrations/n8n/fda-food-recall-records)
- [Notion](https://spiral.ai/integrations/notion/fda-food-recall-records)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fda-food-recall-records)
- [opencode](https://spiral.ai/integrations/opencode/fda-food-recall-records)
- [Perplexity](https://spiral.ai/integrations/perplexity/fda-food-recall-records)
- [Raycast](https://spiral.ai/integrations/raycast/fda-food-recall-records)
- [VS Code](https://spiral.ai/integrations/vscode/fda-food-recall-records)
- [Windsurf](https://spiral.ai/integrations/windsurf/fda-food-recall-records)
- [Zapier](https://spiral.ai/integrations/zapier/fda-food-recall-records)

## More Muse Code guides

- [FDA first generic drug approvals](https://spiral.ai/integrations/muse-code/fda-first-generic-drug-approvals)
- [FDA medical device adverse event reports](https://spiral.ai/integrations/muse-code/fda-medical-device-adverse-event-reports)
- [FDA drug shortage records](https://spiral.ai/integrations/muse-code/fda-drug-shortage-records)
- [FDA medical device classifications](https://spiral.ai/integrations/muse-code/fda-medical-device-classifications)
- [FDA drug recall reports](https://spiral.ai/integrations/muse-code/fda-drug-recall-reports)
- [FDA medical device recall reports](https://spiral.ai/integrations/muse-code/fda-medical-device-recall-reports)

## Questions about FDA food recall records in Muse Code

**Can Muse Code use FDA food recall records?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run FDA food recall records like any built-in tool.

**How much does FDA food recall records cost in Muse Code?**

$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 Code plan is separate.

**Do I need an Alexandria account to use FDA food recall records in Muse Code?**

No. Spiral runs FDA food recall 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 food recall records in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while FDA food recall records runs?**

FDA food recall records runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Do FDA records all update on the same schedule?**

No. FDA describes daily updates for its shortage database, weekly Enforcement Reports, and monthly Orange Book API updates. Those schedules describe the source publications, not a guarantee that every individual record changes that often.

**Does a record's status establish the current situation?**

The meaning depends on the record. A resolved shortage can still have unavailable presentations, orphan designation is separate from approval, and later FDA correspondence can change the issues described in a warning letter.

**Are these complete records of every product problem?**

FDA's shortage program focuses on medically necessary products. Its warning letters describe identified concerns, while FDA cautions that subsequent interactions can change their regulatory status.

**What date should I use when researching FDA actions?**

Choose the event you mean. Warning letter issue dates and posting dates are separate, while orphan database date searches distinguish designation dates from approval dates for the orphan indication.

**Can FDA material be reused in research and publications?**

FDA says its website text and graphics are generally public domain unless otherwise noted. openFDA uses a CC0 dedication by default, with exceptions for identified third-party material.

