Food & Nutrition

Food and nutrition data: search, macros, and comparisons

我該用這個嗎

品質與安全性

A
說明品質
90%
結構描述完整度
90%
命名品質
93%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'compare_foods' description lacks action verb在 compare_foods 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~317Token(工具定義)
~813 B典型回應大小
極小的注意力影響(128k 上下文的 0.25%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "food": {
      "url": "https://food.memoryapi.org/mcp"
    }
  }
}

遠端端點

https://food.memoryapi.org/mcpstreamable-http

它能做什麼

工具清單

工具(3)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢search_food(q, limit, dataType, brand)

Search USDA FoodData Central for foods by name. Returns nutrition macros for matching foods.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Food name to search (e.g. \"chicken breast\", \"avocado\")",
      "default": "chicken breast"
    },
    "limit": {
      "type": "number",
      "description": "Number of results (max 25)",
      "default": 10
    },
    "dataType": {
      "type": "string",
      "description": "Filter by data type: Foundation, SR Legacy, Survey (FNDDS), Branded"
    },
    "brand": {
      "type": "string",
      "description": "Filter by brand owner"
    }
  }
}
🟢get_nutrition(fdc_id, format)

Get full nutrition profile for a specific food by USDA FDC ID. Returns macros, vitamins, and minerals.

輸入結構描述

{
  "type": "object",
  "properties": {
    "fdc_id": {
      "type": "string",
      "description": "USDA FoodData Central ID (e.g. 173950 = avocado raw)",
      "default": "173950"
    },
    "format": {
      "type": "string",
      "description": "abridged or full",
      "default": "abridged"
    }
  }
}
⚪compare_foods(ids)

Compare nutrition profiles of multiple foods side-by-side. Identifies winners by protein and calorie density.

輸入結構描述

{
  "type": "object",
  "properties": {
    "ids": {
      "type": "string",
      "description": "Comma-separated USDA FDC IDs (e.g. \"173950,2187885,1103516\")",
      "default": "173950,2187885,1103516"
    }
  }
}

建議的提示詞

search_research
Search for information about [topic] using Food & Nutrition
預期的工具: search_food
find_specific
Find [specific item] using Food & Nutrition
預期的工具: search_food
retrieve_data
Get details about [item] from Food & Nutrition
預期的工具: get_nutrition
fetch_info
Fetch [information type] using Food & Nutrition
預期的工具: get_nutrition
research_workflow
Search for [topic], then get detailed information about the top results using Food & Nutrition
預期的工具: search_foodget_nutrition

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具