[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Open Food Facts category and brand suggestions](https://spiral.ai/integrations/factory-droid/open-food-facts-category-and-brand-suggestions)

# How to Use Open Food Facts category and brand suggestions in Factory Droid

Get suggested category and brand names with the identifiers Open Food Facts uses to organize products. Use these terms to prepare product searches or label grocery filters consistently.

|  |  |
| --- | --- |
| Model | Open Food Facts category and brand suggestions |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Open Food Facts category and brand suggestions in Factory Droid

- Use Open Food Facts category and brand suggestions to fetch French category names and identifiers, then populate this project's grocery category selector from the returned suggestions.
- Use Open Food Facts category and brand suggestions to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Open Food Facts category and brand suggestions and tell me what changed since last week.
- Check Open Food Facts category and brand suggestions and summarize what you find in three bullet points.
- Pull the newest data from Open Food Facts category and brand suggestions and give me the result as a table.

## How to set up Open Food Facts category and brand suggestions in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 Open Food Facts category and brand suggestions**: 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": "world-openfoodfacts-org/foods/suggest",
    "input": {
      "prefix": "<prefix>"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Open Food Facts category and brand suggestions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Open Food Facts category and brand suggestions tools and prices

- [Open Food Facts · Suggest](https://spiral.ai/tools/alexandria/world-openfoodfacts-org/foods/suggest) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lang |  | — | Language of the names to match and return; default `en`. Pattern: ^[a-z]{2}$. |
| size | 1 to 50 | — | Maximum number of options; default 10. |
| taxonomies |  | — | Taxonomies to complete in; default `category` and `brand`. |

## What can you do with Open Food Facts category and brand suggestions in Factory Droid?

Build grocery comparisons around Open Food Facts barcodes and category identifiers. A coding agent can connect the returned records to your catalog files, search interface, or nutrition comparison tables.

### Compare foods within a category

Resolve a category such as oat milks, find matching products, and inspect their barcode records to compare reported ingredients and nutrition on the same basis.

### Build a grocery catalog in two languages

Use taxonomy identifiers to organize translated category names, find foods for the catalog, and attach ingredients and nutrition from individual product records.

### Audit category data completeness

Choose a category from the source's suggestions, collect matching barcodes, and check individual records for missing ingredients, nutrition facts, or scores.

### Research a public brand's product range

Resolve the brand name, gather matching foods, and inspect selected barcode records for differences in reported ingredients and nutrition.

### Create grocery search filters

Populate category and brand controls from source suggestions, then use product search results and facet counts to help readers narrow their choices.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Open Food Facts category and brand suggestions in other agents

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

## More Factory Droid guides

- [Nike size availability](https://spiral.ai/integrations/factory-droid/nike-size-availability)
- [Open Food Facts product details](https://spiral.ai/integrations/factory-droid/open-food-facts-product-details)
- [Nike search suggestions](https://spiral.ai/integrations/factory-droid/nike-search-suggestions)
- [Open Food Facts product search](https://spiral.ai/integrations/factory-droid/open-food-facts-product-search)
- [Nike review summary](https://spiral.ai/integrations/factory-droid/nike-review-summary)
- [OzBargain deal details](https://spiral.ai/integrations/factory-droid/ozbargain-deal-details)

## Questions about Open Food Facts category and brand suggestions in Factory Droid

**Can Factory Droid use Open Food Facts category and brand suggestions?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Open Food Facts category and brand suggestions like any built-in tool.

**How much does Open Food Facts category and brand suggestions cost in Factory Droid?**

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

**Do I need an Alexandria account to use Open Food Facts category and brand suggestions in Factory Droid?**

No. Spiral runs Open Food Facts category and brand suggestions on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Open Food Facts category and brand suggestions in Factory Droid?**

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

**Does Factory Droid wait while Open Food Facts category and brand suggestions runs?**

Open Food Facts category and brand suggestions runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

**Which countries does Open Food Facts cover?**

Open Food Facts covers food products worldwide and contains millions of records. Its scope extends beyond a single country's food catalog.

**Does finding a product mean its record is complete?**

No. Open Food Facts explicitly says a listed product may still lack data, so finding a barcode does not establish that its ingredients or nutrition information is complete.

**How does product information get updated?**

Contributors can edit, correct, and complete existing contributions. Updates therefore depend on changes to the contributed records.

**Why might a product have no Nutri-Score?**

Missing nutrition data can prevent Open Food Facts from computing a Nutri-Score. The source's tutorial also shows a product missing the category and sodium information needed for the calculation.

**How does Open Food Facts handle different languages?**

Its taxonomies associate canonical identifiers with translations and synonyms. This lets category terms in different languages refer to the same underlying classification.

