# USDA FoodData Central

USDA FoodData Central: search foods and read key nutrients \(energy, protein, fat, carbohydrate, sugars, sodium\).

- No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source: [USDA FoodData Central](https://fdc.nal.usda.gov/)
- Licence and terms: [CC0 1.0 Universal](https://fdc.nal.usda.gov/api-guide/)
- Coverage: United States foods
- Answers are shared and cached for 86400 seconds.

## Questions you can ask

- How much protein and sodium is in cheddar cheese? (operation `food_search`)

## Operations

### Search foods and key nutrients

Answers: how much energy, protein, fat, carbohydrate, sugars and sodium are in this food? Foundation and SR Legacy values are per 100 g; Branded values follow the label.

- `query`: required, string, Food name.
- `data_type`: optional, string, Foundation \| SR Legacy \| Branded \| Survey \(FNDDS\), Restrict to one FoodData Central data type.
- `limit`: optional, integer, default 3

Example: How much protein and sodium is in cheddar cheese?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"usda_fdc","operation":"food_search","params":{"query":"cheddar cheese","data_type":"Foundation","limit":2}}}
```

Over HTTP:

```
curl '/v1/connectors/usda_fdc/food_search?query=cheddar+cheese&data_type=Foundation&limit=2'
```

## Source notice

Source: U.S. Department of Agriculture, Agricultural Research Service, FoodData Central. Terms: "USDA FoodData Central data are in the public domain and they are not copyrighted." "They are published under CC0 1.0 Universal \(CC0 1.0\)". Not endorsed by USDA.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
