usda-mcp-server
CommunityMCP server by cyanheads · updated · ★ 1 · 92 downloads a week
Search foods, compare nutrients, and look up the full USDA FoodData Central database. usda-mcp-server is a community project by cyanheads, not verified by a company domain.
Last commit 14 days ago
Apache-2.0: permissive, fine for commercial use
Clear description, published package or server URL, original repository
No risky patterns in the files we checked
What you need
| Setting | Needed | What it is |
|---|---|---|
USDA_Environment variable | Required | USDA FoodData Central API key from data.gov. Required for all food data requests. |
MCP_Environment variable | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). Default: info |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install usda-mcp-server
Built from the published package, never by AIclaude mcp add usda-mcp-server -e USDA_FDC_API_KEY=YOUR_USDA_FDC_API_KEY -- npx -y @cyanheads/usda-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"usda-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/usda-mcp-server"
],
"env": {
"USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"usda-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/usda-mcp-server"
],
"env": {
"USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"usda-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/usda-mcp-server"
],
"env": {
"USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add usda-mcp-server --env USDA_FDC_API_KEY=YOUR_USDA_FDC_API_KEY -- npx -y @cyanheads/usda-mcp-server{
"mcpServers": {
"usda-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/usda-mcp-server"
],
"env": {
"USDA_FDC_API_KEY": "YOUR_USDA_FDC_API_KEY"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add usda-mcp-server npx -y @cyanheads/usda-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the usda-mcp-server block.
Weekly newsletter
Like usda-mcp-server? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to usda-mcp-server
All alternatives →MCP server for interacting with the Supabase platform
Built-in MCP server for ArcadeDB multi-model database (graph, document, vector, time-series)
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases enables your agent to connect to your database.
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.
Self-learning vector database for Node.js — hybrid search, Graph RAG, FlashAttention-3, HNSW, 50+ attention mechanisms
usda-mcp-server: common questions
How do I install usda-mcp-server?
In Claude Code run claude mcp add usda-mcp-server -e USDA_FDC_API_KEY=YOUR_USDA_FDC_API_KEY -- npx -y @cyanheads/usda-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is usda-mcp-server the official server?
usda-mcp-server is a community project by cyanheads, not verified by a company domain.
Is usda-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is usda-mcp-server safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to usda-mcp-server?
Similar MCP servers: Supabase, ArcadeDB MCP Server, MCP Toolbox for Databases, MCP Toolbox for Databases.
Does usda-mcp-server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
