# Usda Fdc

> Usda Fdc is a freemium MCP server for health and science. Search USDA FoodData Central nutrient records from AI assistants via an MCP gateway. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** API, CLI, self-hosted
- **Website:** https://pipeworx.io/packs/usda-fdc
- **Repository:** https://github.com/pipeworx-io/mcp-usda-fdc
- **MCP Registry name:** io.github.pipeworx-io/usda-fdc
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-11-18

## About

The README describes this as a nutrient lookup layer over the USDA Food Data Central database, covering roughly 600k US food items across SR Legacy, Foundation, Survey, Branded and Experimental data types. Assistants can search by name, brand or ingredient, pull a full record by FDC id, browse foods page by page, or fetch only the nutrient values for a given food.

The server is hosted by Pipeworx rather than run locally. The README notes it is an independent, unofficial integration and not affiliated with the USDA. It connects through the Pipeworx gateway over streamable HTTP, and an optional npm stdio bridge is also published for clients that need it. Connections include shared gateway meta-tools such as ask_pipeworx alongside the pack's own tools.

This suits developers building nutrition or meal-planning features and people who want an assistant to answer food composition questions from USDA data. Access is anonymous by default with daily call caps, and a free Pipeworx key raises the limit.

## Features

- **Food search by filters:** Searches foods by name, brand or ingredient, with filters for data type and brand owner.
- **Full food records:** Returns the complete record for a single food identified by its FDC id.
- **Nutrient-only lookup:** Provides a shortcut that returns just the nutrient values for a food.
- **Paginated food browsing:** Lists foods page by page with sorting options.
- **Food group reference:** Returns the USDA food group categories as a reference list.

## Good for

- Looking up calories and macronutrients for a recipe ingredient
- Comparing nutrient values across branded and generic versions of a food
- Building a meal-planning or diet-tracking feature that needs USDA data
- Asking an AI assistant nutrition questions answered from USDA records

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http usda-fdc https://gateway.pipeworx.io/usda-fdc/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/usda-fdc/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "usda-fdc": {
      "url": "https://gateway.pipeworx.io/usda-fdc/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "usda-fdc": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/usda-fdc/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "usda-fdc": {
      "serverUrl": "https://gateway.pipeworx.io/usda-fdc/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "usda-fdc": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/usda-fdc/mcp"
    }
  }
}
```

## Tools

- `search_foods`: Search USDA Food Data Central for food items by name, brand, or ingredient.
- `get_food`: Full food record by FDC id.
- `list_foods`: Paginated browse of FDC foods.
- `list_food_groups`: USDA food group reference (categories).
- `nutrients_for_food`: Convenience: nutrient values only for a food.

## FAQ

### Does it need an API key?

No. The README says calls are anonymous without a key but capped daily. A free Pipeworx account raises the cap, and a PIPEWORX_API_KEY environment variable can be set for the npm bridge.

### Is this an official USDA product?

No. The README states it is an independent, unofficial integration and is not affiliated with or endorsed by the upstream provider.

### How do I connect it to a client?

The README gives a remote endpoint at https://gateway.pipeworx.io/usda-fdc/mcp and an npx stdio option using @pipeworx/mcp-usda-fdc.

### Are there costs beyond the free tier?

The pricing page lists pay-as-you-go and subscription rates by data category, with government and open data sources at the lowest rates. USDA data is in the government and open data category on the rate card.

### Is Usda Fdc free?

Usda Fdc has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add Usda Fdc to Claude Code?

Run this command in your terminal: claude mcp add --transport http usda-fdc https://gateway.pipeworx.io/usda-fdc/mcp

### What are the best alternatives to Usda Fdc?

The closest alternatives to Usda Fdc are Usda Food MCP, Nutrients: proof-backed nutrition data, Nih Supplements, openFDA MCP by usefulapi and Healthdata.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Usda Food MCP](https://ai-powered.com/mcp/usda-food-mcp): Usda Food MCP is an open-source MCP server for health and science.
- [Nutrients: proof-backed nutrition data](https://ai-powered.com/mcp/nutrients-proof-backed-nutrition-data): Nutrients: proof-backed nutrition data is a freemium MCP server for health and science.
- [Nih Supplements](https://ai-powered.com/mcp/nih-supplements): Nih Supplements is a freemium MCP server for health and science.
- [openFDA MCP by usefulapi](https://ai-powered.com/mcp/openfda-mcp-by-usefulapi): openFDA MCP by usefulapi is a freemium MCP server for health and science.
- [Healthdata](https://ai-powered.com/mcp/healthdata): Healthdata is a freemium MCP server for health and science.
- [DailyMed MCP by usefulapi](https://ai-powered.com/mcp/dailymed-mcp-by-usefulapi): DailyMed MCP by usefulapi is a freemium MCP server for health and science.
- [Health Feeds](https://ai-powered.com/mcp/health-feeds): Health Feeds is a freemium MCP server for health and science.
- [Gdc](https://ai-powered.com/mcp/gdc): Gdc is a freemium MCP server for health and science.

---
Source: https://ai-powered.com/mcp/usda-fdc
