Nutrition MCP
USDA FoodData Central nutrition lookup, meal and recipe analysis for AI assistants
Answered our latest tool-list check 6 days ago with 14 tools. It will be marked verified after 3 successful checks in 7 days.
Nutrition MCP is an MCP server for health and science. It runs as a hosted remote server, so there is nothing to install locally.
- Platforms
- API
- Runs
- Remotely
- What it can do
- Can delete data (2 tools)
- Version
- 0.2.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http nutrition-mcp https://docuslide-mcp-production.up.railway.app/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"nutrition-mcp": {
"type": "http",
"url": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://docuslide-mcp-production.up.railway.app/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"nutrition-mcp": {
"url": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"nutrition-mcp": {
"type": "http",
"url": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://docuslide-mcp-production.up.railway.app/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add nutrition-mcp --url https://docuslide-mcp-production.up.railway.app/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.nutrition-mcp]
url = "https://docuslide-mcp-production.up.railway.app/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://docuslide-mcp-production.up.railway.app/mcpEnter a Name (for example "Nutrition MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"nutrition-mcp": {
"type": "http",
"url": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "nutrition-mcp": { "httpUrl": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Or run: gemini mcp add -s user --transport http nutrition-mcp https://docuslide-mcp-production.up.railway.app/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "nutrition-mcp": { "serverUrl": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "nutrition-mcp": { "url": "https://docuslide-mcp-production.up.railway.app/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "nutrition-mcp": { "type": "streamableHttp", "url": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "nutrition-mcp": { "url": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "nutrition-mcp": { "url": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "nutrition-mcp": { "url": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "nutrition-mcp": { "url": "https://docuslide-mcp-production.up.railway.app/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Nutrition MCP
This connector answers food questions from a local copy of USDA FoodData Central, about 600,000 foods with macro and micronutrient data. It is read-only except three profile tools that hold age and sex in memory for the conversation, so assessments use U.S. dietary reference intakes instead of FDA label daily values.
It goes beyond lookup: compare up to 10 foods, total a meal of up to 25 items, resolve ingredient names and portions like 1 cup to grams, analyze a recipe per serving, or assess a plan of up to 14 days as a daily average with a shopping list. It can also build exact product links for a retailer, but changes no cart and buys nothing.
Nutrients not reported are treated as unknown, not zero.
Tools this server provides (14)
Read directly from the server.
The server marks 2 of 14 tools as able to delete data.
From the server's own tool labels and tool names; not verified by us.
- search_foodsSays read-only
- Searches USDA FoodData Central by food name. Each match has an fdc_id, its dataset, key macros per 100 g, and, for branded products, USDA's verbatim ingredient statement. ingredients_available is false when USDA supplied no ingredient statement for that record. Results are paged, and pagination.next_offset is null on the last page.
- get_food_nutritionSays read-only
- Returns the nutrient breakdown for one food at a serving weight. The result has macros, micronutrients, an assessment against daily targets, USDA's verbatim ingredient statement when available, and common portion sizes with their gram weights. ingredients_available is false when USDA supplied no ingredient statement, which does not mean the food has no ingredients. assessment.basis is personal_dri
- compare_foodsSays read-only
- Puts several foods side by side at the same serving weight. highest_per_nutrient names the food with the most of each nutrient. failed lists ids that could not be loaded, and partial is true when the comparison is missing some of them.
- analyze_mealSays read-only
- Totals nutrients across several foods and assesses the meal. assessment.shortfalls lists missed targets, worst first, and assessment.over_limit lists exceeded limits. not_reported lists nutrients with no data in the food records; those are unknown, not zero. failed lists items left out of the total, and partial is true when there are any.
- find_foods_by_nutrientSays read-only
- Ranks foods by how much of one nutrient they carry per 100 g. The default list is lab-measured foods. Branded products are included only when data_type is Branded. Amounts that cannot fit in 100 g, and potassium above the potassium-chloride ceiling, are left out. Per-100 g ranking favors foods eaten in small amounts, such as spices and dried herbs; the category filter narrows the list to one food
- database_statusSays read-only
- Reports whether the local USDA database is built and what it holds. The result counts foods by dataset and records with an ingredient statement.
- list_retailersSays read-only
- Lists configured retailers and the commerce capabilities each supports. A retailer with integration_mode link_handoff supports product links only; no account, cart, checkout, or order is created for it.
- prepare_retailer_handoffSays read-only
- Packages exact retailer products into links for the user to open. The handoff repeats the products, links, and quantities with the original request. It does not contact the retailer, change a cart, or check out.
- resolve_ingredientsSays read-only
- Matches ingredient names to FoodData Central foods and converts portions to grams. Portions such as 2 tbsp, 1/2 cup, or 1 medium are converted with each food's own measured portions, so 1 cup differs for spinach and olive oil. Repeated ingredients are looked up once. method says how each portion was converted. Ingredients that could not be converted are listed under unresolved with the portions th
- analyze_recipeSays read-only
- Totals one dish from its ingredient list and reports it per serving. Ingredient quantities are for the whole dish, as a recipe states them. per_serving divides by servings, whole_recipe holds the undivided totals, and the assessment covers one serving.
- analyze_planSays read-only
- Analyzes a multi-day meal plan and assesses its daily average. Every ingredient is resolved and converted, then totaled by dish, meal, and day, up to 400 ingredients. The assessment is of the daily average, not the multi-day sum. per_day has each day's totals, shopping_list totals ingredients at full recipe quantities, and failed lists ingredients missing from the totals. The detail breakdown is l
- set_profileSays it can change data
- Stores a profile for this conversation so assessments use Dietary Reference Intakes. Age- and sex-specific U.S. Dietary Reference Intakes replace the generic food-label values. The result lists the resolved daily targets and limits. The profile is held in memory for the conversation, replaces any earlier profile, and is not written to disk.
- get_profileSays read-only
- Returns this conversation's profile and the daily targets it resolves to. profile is null when none is set, and assessments then use the FDA food-label daily values.
- clear_profileSays it can change data
- Deletes this conversation's profile so assessments use the FDA food-label values. cleared is false when no profile was set.
What it does
- Food search
- Name search with macros per 100 g.
- Nutrient ranking
- Find lab-measured foods by one nutrient.
- Meal and recipe analysis
- Totals, shortfalls and per-serving values.
- Ingredient resolution
- Convert portions to grams for up to 400 items.
- Plan assessment
- Daily averages for up to 14 days with a shopping list.
- Retailer links
- Product links only; nothing is bought.
Good for
- Check iron in a serving of spinach
- Compare protein across lentils, chickpeas and tofu
- Analyze a recipe per serving
- Assess a day of meals against daily targets
Pricing
Pricing unknown
No account required
Prices change. Check docuslide-mcp-production.up.railway.app before you buy.
Nutrition MCP FAQ
Where does the data come from?
USDA FoodData Central.
Is an account needed?
No account or sign-in.
Can Nutrition MCP buy groceries?
No, it only prepares product links.
Why do I get 401 after an update?
Remove and re-add the connector; older versions used OAuth.
How do I add Nutrition MCP to Claude Code?
Run this command in your terminal: claude mcp add --transport http nutrition-mcp https://docuslide-mcp-production.up.railway.app/mcp
What are the best alternatives to Nutrition MCP?
The closest alternatives to Nutrition MCP are Tooluniverse, Oya Browser, BasalFit, Renal Diet (CKD) and Alpha-Gal Syndrome Food Check and Alpha-Gal Watch: Alpha-Gal Syndrome Food Check.
Where this comes from
- Description: written from the project's README and the project's website.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.
