Skip to content
MCP server

Usda Fdc

Search USDA FoodData Central nutrient records from AI assistants via an MCP gateway

Install
Pricing
Freemium
Platforms
API, CLI, self-hosted
Runs
Locally or Remotely
Version
0.2.1
Listing updated
today

Similar MCP servers

About Usda Fdc

Usda Fdc is a freemium MCP server for health and science. It can run locally on your machine or as a hosted remote server.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://gateway.pipeworx.io/usda-fdc/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "usda-fdc": {
      "url": "https://gateway.pipeworx.io/usda-fdc/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Freemium, from $49 a month

Anonymous 50 calls/day; free account 200 calls/day; paid credits or $49/$99 monthly plans

Prices change. Check pipeworx.io before you buy.

Usda Fdc 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.

How AIPoweredBot checks servers