← Back to browse

usda-mcp-server

Indexed by io.github.cyanheads

About

Search foods, compare nutrients, and look up the full USDA FoodData Central database.

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsUSDA_FDC_API_KEY MCP_LOG_LEVEL
Claude Code
claude mcp add --env USDA_FDC_API_KEY= --env MCP_LOG_LEVEL= usda-mcp-server -- npx @cyanheads/usda-mcp-server
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"usda-mcp-server","command":"npx","args":["@cyanheads/usda-mcp-server"],"env":{"USDA_FDC_API_KEY":"","MCP_LOG_LEVEL":""}}'
JSON
{
  "mcpServers": {
    "usda-mcp-server": {
      "command": "npx",
      "args": [
        "@cyanheads/usda-mcp-server"
      ],
      "env": {
        "USDA_FDC_API_KEY": "",
        "MCP_LOG_LEVEL": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.