[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [NEVO food search](https://spiral.ai/integrations/opencode/nevo-food-search)

# How to Use NEVO food search in opencode

Finds NEVO food records by name or code so you can identify the food you need. Use it before requesting a complete nutrient table or comparing several foods.

|  |  |
| --- | --- |
| Model | NEVO food search |
| 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 NEVO food search in opencode

- Use NEVO food search to find Gouda cheese records and add a food picker to this project's comparison page.
- Use NEVO food search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NEVO food search and tell me what changed since last week.
- Check NEVO food search and summarize what you find in three bullet points.
- Pull the newest data from NEVO food search and give me the result as a table.

## How to set up NEVO food search in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 NEVO food search**: 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": "nevo-online-rivm-nl/foods/search_foods",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds NEVO food search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## NEVO food search tools and prices

- [RIVM NEVO-online · Search foods](https://spiral.ai/tools/alexandria/nevo-online-rivm-nl/foods/search_foods) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lang | nl, en | nl | Label language for food group names and nutrient labels; the data is the same in both. |
| limit | 1 to 100 | 25 | Foods per page. |
| query |  | — | Free text matched case-insensitively against the Dutch name, the English name, the synonym and the NEVO code; every whitespace-separated word must match. Omit it to list a whole food group. |
| nutrients |  | — | Nutrient column tags to return per food instead of the default energy and macronutrient set, for example ['SUGAR_g', 'NA_mg', 'VITC_mg']; see list_nutrients. Matching is case-insensitive and 'ug' may stand for 'µg'. |
| food_group |  | — | Exact food group name in the requested language, as returned by list_food_groups (for example 'Kaas' in nl, 'Cheese' in en). Case-insensitive. |
| continuation |  | — | Cursor from a previous page's meta.page.next_cursor. |

## What can you do with NEVO food search in opencode?

Build a food comparison interface backed by Dutch food composition records. Use NEVO categories and nutrient measurements to organize selection, then expose food details alongside comparisons.

### Build a Dutch cafeteria ingredient comparison

Use NEVO food groups to organize candidate ingredients and the NEVO nutrient list to choose measurements. Find the foods, inspect their details, and compare nutrient values before drafting menu alternatives.

### Create a recipe calculator with inspectable inputs

Let recipe authors browse NEVO categories, choose nutrient measurements, and find ingredient records. Show full food details for each selection and compare candidate matches before calculating recipe totals from weighed ingredients.

### Prepare a food composition classroom exercise

Choose food categories and nutrient measurements, then find foods for students to investigate. Use detailed records and side-by-side comparisons to explore how food selection affects a nutrient table.

### Assemble a research food shortlist

Define the food categories and nutrient measurements needed for a Dutch food composition study. Search for candidate records, examine their details, and compare the shortlist before selecting foods for analysis.

### Explain a cheese comparison

Find Gouda food records, compare selected nutrients, and inspect the full details behind the chosen entries. Present the comparison as a comparison of NEVO foods rather than a claim about every branded Gouda product.

### Review the evidence behind a recipe estimate

Find the NEVO foods used in a recipe calculation and inspect their nutrient tables, source codes, and available recipe ingredients. Give an editor a clear account of which food records support the estimate.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## NEVO food search in other agents

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

## More opencode guides

- [NEVO food nutrient details](https://spiral.ai/integrations/opencode/nevo-food-nutrient-details)
- [NEVO nutrient list](https://spiral.ai/integrations/opencode/nevo-nutrient-list)
- [NEVO food nutrient comparison](https://spiral.ai/integrations/opencode/nevo-food-nutrient-comparison)
- [NHSBSA hospital medicines search](https://spiral.ai/integrations/opencode/nhsbsa-hospital-medicines-search)
- [NEVO food groups](https://spiral.ai/integrations/opencode/nevo-food-groups)
- [NIH Guide document details](https://spiral.ai/integrations/opencode/nih-guide-document-details)

## Questions about NEVO food search in opencode

**Can opencode use NEVO food search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run NEVO food search like any built-in tool.

**How much does NEVO food search cost in opencode?**

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

**Do I need an Alexandria account to use NEVO food search in opencode?**

No. Spiral runs NEVO food search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NEVO food search in opencode?**

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

**Does opencode wait while NEVO food search runs?**

NEVO food search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which foods does NEVO cover?**

RIVM's manual describes 2,328 foods in NEVO-online 2025/9.0. Coverage focuses on foods frequently eaten in the Netherlands, with relatively few branded products.

**Are the values per serving?**

NEVO normally reports composition per 100 grams of edible portion. Some foods use 100 milliliters instead.

**Does every food have every nutrient value?**

No. RIVM specifically notes gaps for individual fatty acids, fiber, minerals, and vitamins, despite the database covering approximately 130 nutrients.

**Are all food compositions measured directly?**

No. Some food compositions are calculated from the known composition of recipe ingredients, and the food details can include those ingredients.

