recipe-food-nutrition

recipe-food-nutrition

4.0

The Recipe Food Nutrition MCP Server provides access to a comprehensive database of recipes, packaged foods, and menu items, with advanced search and nutritional analysis capabilities.

The Recipe Food Nutrition MCP Server is a powerful tool designed to provide comprehensive access to an extensive database of recipes, packaged foods, and menu items from various chain restaurants. This server leverages a sophisticated food ontology and semantic recipe search engine to allow users to search for recipes using natural language queries. Whether you are looking for 'gluten-free brownies without sugar' or 'low-fat vegan cupcakes,' this server can help you find the perfect recipe to match your dietary needs and preferences.

Features

  • Extensive Recipe Database: Access thousands of recipes, including options for special diets such as vegan, vegetarian, pescetarian, gluten-free, and more.
  • Nutritional Information: Automatically calculate nutritional information for any recipe, including macro and micronutrients.
  • Recipe Search: Utilize advanced filtering and ranking options to search recipes by ingredients, nutrients, and dietary requirements.
  • Ingredient Management: Convert ingredient amounts, find substitutes, and compute ingredient amounts needed for specific nutritional goals.
  • Meal Planning: Generate meal plans based on dietary needs and available ingredients, and create shopping lists to simplify meal preparation.

MCP Tools

  • Search Recipes: Find recipes using advanced filtering by query, ingredients, and nutrients.
  • Get Recipe Information: Retrieve detailed information about specific recipes.
  • Random Recipes: Discover random popular recipes.
  • Recipe Analysis: Analyze and enrich raw recipe data with nutritional and dietary information.
  • Ingredient Search: Search for simple whole foods and retrieve detailed information.
  • Ingredient Substitutes: Find substitutes for ingredients based on name or ID.
  • Nutritional Goals: Compute ingredient amounts needed for specific nutritional targets.
  • Grocery Product Search: Search for packaged food products and access product details.
  • Product Classification: Classify grocery products and find comparable items.
  • Menu Item Search: Search for menu items from chain restaurants and get detailed information.
  • Generate Meal Plan: Create meal plans that adhere to specific dietary requirements and caloric targets.
  • Shopping List Management: Generate and manage shopping lists for meal planning.
  • Dish and Wine Pairing: Find compatible wine pairings for specific dishes, ingredients, or cuisines.
  • Food Image Classification: Classify and analyze food images.
  • Nutrition Chatbot: Engage in conversations about food and nutrition with a chatbot.
  • Food Trivia and Jokes: Discover random food trivia and jokes for entertainment.

Usage with Different Platforms

python

python
import requests

url = 'http://recipe-food-nutrition-mcp-server/api/search'
params = {
    'query': 'gluten-free brownies',
    'diet': 'gluten-free',
    'excludeIngredients': 'sugar'
}
response = requests.get(url, params=params)
recipes = response.json()
print(recipes)

javascript

javascript
fetch('http://recipe-food-nutrition-mcp-server/api/search?query=gluten-free+brownies&diet=gluten-free&excludeIngredients=sugar')
  .then(response => response.json())
  .then(data => console.log(data));