L'Agora
MCPResponds

io.github.cyanheads/usda-mcp-server

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

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by cyanheads

Repository
github.com/cyanheads/usda-mcp-server
Server address
https://usda.caseyjhand.com/mcp (streamable-http)
Version
0.2.3
Author
cyanheads (namespace verified by the registry)
Source
Official MCP registry (updated Nov 19, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: USDA_FDC_API_KEY, USDA_CLAMP_LIMITS, MCP_LOG_LEVEL.

Remote server (nothing to install)

Claude Code

In a terminal:

claude mcp add --transport http usda-mcp-server https://usda.caseyjhand.com/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://usda.caseyjhand.com/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://usda.caseyjhand.com/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "usda-mcp-server": {
      "url": "https://usda.caseyjhand.com/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "usda-mcp-server": {
      "type": "http",
      "url": "https://usda.caseyjhand.com/mcp"
    }
  }
}

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add usda-mcp-server -e USDA_FDC_API_KEY=YOUR_USDA_FDC_API_KEY -e USDA_CLAMP_LIMITS=YOUR_USDA_CLAMP_LIMITS -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "usda-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY",
        "USDA_CLAMP_LIMITS": "YOUR_USDA_CLAMP_LIMITS",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "usda-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY",
        "USDA_CLAMP_LIMITS": "YOUR_USDA_CLAMP_LIMITS",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "usda-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY",
        "USDA_CLAMP_LIMITS": "YOUR_USDA_CLAMP_LIMITS",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 09:18 (test run by L’Atlas)
Response time
1,410 ms (whole test)
Tools found
5
Announced name
usda-mcp-server 0.2.3
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (5)
  • usda_list_nutrients
    Look up the FDC nutrient reference table — 269 nutrients with their numeric IDs, names, SR reference numbers, units, and categories. Use to resolve a nutrient name (e.g. "vitamin C") to its FDC ID (1162) before passing it to the nutrients[]
  • usda_search_foods
    Search USDA FoodData Central foods by keyword. Returns matching foods with FDC IDs and available preview nutrients: protein (1003), fat (1004), carbohydrate (1005), fiber (1079, and 2033 for AOAC 2011.25 total dietary fiber, a separate meas
  • usda_get_food
    Get the full nutrient profile for one food by FDC ID. Returns all available nutrients (or a filtered subset via the nutrients[] param) with optional per-portion scaling. Use usda_search_foods to discover FDC IDs. Values are per 100 g (basis
  • usda_get_foods
    Fetch nutrient profiles for several foods at once. More efficient than calling usda_get_food N times when you already have multiple FDC IDs. Accepts up to 500 IDs: repeats are dropped, the first 20 distinct IDs are fetched, and the rest are
  • usda_compare_foods
    Compare nutrients side-by-side for 2–5 foods. Returns a structured table — one row per nutrient, one column per food — formatted as markdown. Best for "spinach vs kale iron" or "which has more protein?" questions. Accepts up to 500 FDC IDs:

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

io.github.cyanheads/usda-mcp-server · L’Agora · Tested on

[io.github.cyanheads/usda-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/usda-mcp-server)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.cyanheads/usda-mcp-server on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.cyanheads/usda-mcp-server on L’Agora](https://lagora.dev/badge/io.github.cyanheads/usda-mcp-server.svg?lang=en)](https://lagora.dev/en/entry/io.github.cyanheads/usda-mcp-server)

HTML

<a href="https://lagora.dev/en/entry/io.github.cyanheads/usda-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/usda-mcp-server.svg?lang=en" alt="io.github.cyanheads/usda-mcp-server on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

io.github.cyanheads/clinicaltrialsgov-mcp-server Responds

io.github.cyanheads/openlibrary-mcp-server Responds

io.github.cyanheads/arxiv-mcp-server Responds

io.github.cyanheads/nws-weather-mcp-server Responds

Report this entry