io.github.cyanheads/usda-mcp-server MCP Server
io.github.cyanheads/usda-mcp-server
What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the io.github.cyanheads/usda-mcp-server MCP server?
Search foods, compare nutrients, and look up the full USDA FoodData Central database.
How to install io.github.cyanheads/usda-mcp-server
Copy-paste configuration for popular MCP clients.
USDA_FDC_API_KEYrequiredUSDA FoodData Central API key from data.gov. Required for all food data requests.
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_HTTP_HOSTThe hostname for the HTTP server.
MCP_HTTP_PORTThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
{
"mcpServers": {
"usda-mcp-server": {
"command": "bun",
"args": [
"-y",
"@cyanheads/usda-mcp-server",
"run",
"start:stdio"
],
"env": {
"USDA_FDC_API_KEY": "<YOUR_USDA_FDC_API_KEY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}Related MCP servers
Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.
Wake LAN machines with Wake-on-LAN magic packets from host profiles, then confirm they came up.
WHO Global Health Observatory — 3,059 indicators across 194 member states.
Domain registration, availability, DNS records, and IP/ASN resolution via RDAP and DNS-over-HTTPS.
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Search Wikipedia, read summaries and full text, target sections, find nearby pages, list languages.
