Nutrition MCP
io.github.AndrewVG23/nutrition-mcp
MCP server OK 14 tools
USDA FoodData Central nutrition data: search foods, compare macros, and analyze meals.
Technical sheet
- Author
- AndrewVG23 (registry namespace)
- Repository
- github.com/AndrewVG23/nutrition_mcp
- Site
- docuslide-mcp-production.up.railway.app/docs
- Version
- 0.2.2
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://docuslide-mcp-production.up.railway.app/mcp Streamable HTTP
- Tools
- 14
- Categories
- —
- Last updated
- 11 Nov 2026
- Published
- 11 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.AndrewVG23/nutrition-mcp)<a href="https://latlas.dev/en/mcp/io.github.AndrewVG23/nutrition-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.AndrewVG23/nutrition-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.AndrewVG23/nutrition-mcp)<a href="https://latlas.dev/en/mcp/io.github.AndrewVG23/nutrition-mcp"><img src="https://latlas.dev/badge/fiche/io.github.AndrewVG23/nutrition-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://docuslide-mcp-production.up.railway.app/mcp
- Last result
- OK 28 Nov 2026, 11:36
- Response time
- 1,003 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- nutrition 0.2.2
- Tools
- 14
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:36 | OK | 1,003 ms | 14 |
Exposed tools (14, from tools/list, 28 Nov 2026)
search_foods
Search foods
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Food name, e.g. raw spinach or cheddar cheese. |
| limit | integer | no | Results per page, 1-50. Defaults to 10. |
| data_type | enum: "Foundation" | "SR Legacy" | "Survey (FNDDS)" | "Branded" | null | no | One USDA dataset. Foundation and SR Legacy are unbranded whole foods, Branded is packaged products, and Survey (FNDDS) is prepared dishes. Omitted, all four are searched. |
| offset | integer | no | Results to skip, from pagination.next_offset. Defaults to 0. |
get_food_nutrition
Food nutrients
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 when a profile is set and fda_label_dv otherwise.
| Parameter | Type | Required | Description |
|---|---|---|---|
| fdc_id | integer | yes | FoodData Central id from search_foods. |
| grams | number | no | Serving weight in grams. Defaults to 100. |
compare_foods
Compare foods
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| fdc_ids | array<integer> | yes | FoodData Central ids to compare, 1-10. |
| grams | number | no | Serving weight in grams. Defaults to 100. |
analyze_meal
Analyze a meal
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| items | array<object> | yes | Foods in the meal, 1-25, each an fdc_id with grams, e.g. [{"fdc_id": 168462, "grams": 150}]. |
find_foods_by_nutrient
Rank foods by nutrient
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 group. Results are paged, and pagination.next_offset is null on the last page.
| Parameter | Type | Required | Description |
|---|---|---|---|
| nutrient | enum: "calories_kcal" | "protein_g" | "fat_g" | "saturated_fat_g" | "carbs_g" | "fiber_g" | "sugars_g" | "sodium_mg" … | yes | Nutrient to rank by. |
| limit | integer | no | Results per page, 1-100. Defaults to 20. |
| data_type | enum: "Foundation" | "SR Legacy" | "Survey (FNDDS)" | "Branded" | null | no | One USDA dataset. Foundation and SR Legacy are unbranded whole foods, Branded is packaged products, and Survey (FNDDS) is prepared dishes. Omitted, all four are searched. |
| min_amount | number | null | no | Minimum amount per 100 g. |
| category | string | null | no | USDA food category, matched as a substring, e.g. Vegetables or Legumes. |
| offset | integer | no | Results to skip, from pagination.next_offset. Defaults to 0. |
database_status
Database status
Reports whether the local USDA database is built and what it holds. The result counts foods by dataset and records with an ingredient statement.
No parameters.
list_retailers
List retailers
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.
No parameters.
prepare_retailer_handoff
Prepare product links
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| retailer_id | string | yes | Retailer id from list_retailers. |
| original_request | string | yes | The shopping request the products were chosen for. |
| items | array<object> | yes | Exact products, 1-50, each with the retailer's product_id, a name, an absolute HTTPS product_url, and a positive quantity. |
| store_id | string | null | no | Retailer store or location id, if known. |
resolve_ingredients
Resolve ingredients
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 that food supports, and alternatives lists runner-up matches with their fdc_id. Bare names such as rice or beans match many records; names with the cooked state, such as cooked white rice, match more precisely. About a fifth of USDA foods have a portion table.
| Parameter | Type | Required | Description |
|---|---|---|---|
| items | array<object> | yes | Ingredients, each with a food name or fdc_id and a portion or grams, e.g. {"food": "eggplant", "portion": "2 medium"}. |
analyze_recipe
Analyze a recipe
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Dish name, e.g. Moussaka. |
| ingredients | array<object> | yes | Ingredients, each with a food name or fdc_id and a portion or grams, e.g. {"food": "eggplant", "portion": "2 medium"}. |
| servings | number | no | Servings the recipe yields. Defaults to 1. |
analyze_plan
Analyze a meal plan
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 large for a full week.
| Parameter | Type | Required | Description |
|---|---|---|---|
| days | array<object> | yes | Days, 1-14, each {"day": "Monday", "meals": [{"name": "dinner", "dishes": [...]}]}. A dish is {"name": "Moussaka", "servings": 6, "eaten": 1, "ingredients": [...]}, where servings is the recipe yield and eaten is how many of those servings this person has. |
| include_shopping_list | boolean | no | Include total ingredient quantities to buy. Defaults to true. |
| detail | boolean | no | Include the per-dish, per-ingredient breakdown. Defaults to false. |
set_profile
Set profile
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| age | integer | yes | Age in years, 1-120. |
| sex | enum: "male" | "female" | yes | Sex that selects the reference values. |
| life_stage | enum: "none" | "pregnancy" | "lactation" | no | Pregnancy and lactation apply only with sex female. Defaults to none. |
| weight_kg | number | null | no | Body weight in kilograms; adds a 0.8 g/kg protein target. |
| height_cm | number | null | no | Height in centimeters; with weight_kg, adds a calorie estimate and the saturated-fat and sugar limits derived from it. |
| activity | enum: "sedentary" | "light" | "moderate" | "active" | "very_active" | no | Activity level, used only for the calorie estimate. Defaults to moderate. |
get_profile
Show profile
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.
No parameters.
clear_profile
Clear profile
Deletes this conversation's profile so assessments use the FDA food-label values. cleared is false when no profile was set.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://docuslide-mcp-production.up.railway.app/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http nutrition-mcp https://docuslide-mcp-production.up.railway.app/mcpCustomize > Connectors > + Add > Add custom connector ; Name : nutrition-mcp ; URL : https://docuslide-mcp-production.up.railway.app/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : nutrition-mcp ; Server URL : https://docuslide-mcp-production.up.railway.app/mcp ; Create as a plugin{
"mcpServers": {
"nutrition-mcp": {
"url": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}{
"mcpServers": {
"nutrition-mcp": {
"type": "http",
"url": "https://docuslide-mcp-production.up.railway.app/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"nutrition-mcp": {
"url": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}{
"mcpServers": {
"nutrition-mcp": {
"httpUrl": "https://docuslide-mcp-production.up.railway.app/mcp"
}
}
}[mcp_servers.nutrition-mcp]
url = "https://docuslide-mcp-production.up.railway.app/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Nutrition MCP · L’Atlas · Tested on
[Nutrition MCP — L’Atlas](https://latlas.dev/en/mcp/io.github.AndrewVG23/nutrition-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.