edamam-nutrition-analysis

edamam-nutrition-analysis

4.0

The Edamam Nutrition Analysis MCP Server provides tools for analyzing nutritional data using natural language processing and semantically structured data.

The edamam-nutrition-analysis server offers functionalities to extract and compute nutritional information from food recipes and text inputs. It provides real-time analysis, including ingredient extraction, quantity adjustment for cooking processes, and classification of recipes for cuisine, meal, and dish types. The server is ideal for developers, startups, and non-profits seeking a comprehensive solution for recipe nutrition analysis and text analysis.

Features

  • {'name': 'Real-Time Recipe Analysis', 'description': 'Analyze food recipes with entity extraction, measure and quantity computation, and nutrition calculation, adjusting for cooking processes.'}
  • {'name': 'Text Entity Extraction', 'description': 'Extract food entities with measures and quantities from unstructured text, suitable for chatbots transcribing natural speech to text.'}
  • {'name': 'Detailed Nutrition Data', 'description': 'Provides comprehensive nutrition data output for each ingredient or text string, covering 28 macro and micronutrients.'}
  • {'name': 'Diet and Health Labeling', 'description': 'Automatically generate diet, allergy, and health labels based on the ingredients.'}
  • {'name': 'Cost-Effective', 'description': 'Free access for developers, startups, and non-profits with a basic plan; enterprise customers can opt for low-cost licensing.'}

MCP Tools

  • Individual Text Line Analysis: Extracts nutritional information from a short unstructured food text, returning structured data with diet, health, and allergen labels.
  • Full Recipe Analysis: Provides nutritional information based on a submitted recipe content, analyzing the recipe title and ingredient list.

Usage with Different Platforms

python

python
import requests

url = 'https://api.edamam.com/api/nutrition-data'
params = {
    'app_id': 'your_app_id',
    'app_key': 'your_app_key',
    'ingr': '1 large apple'
}
response = requests.get(url, params=params)
print(response.json())

nodejs

javascript
const axios = require('axios');

const url = 'https://api.edamam.com/api/nutrition-data';
const params = {
    app_id: 'your_app_id',
    app_key: 'your_app_key',
    ingr: '1 large apple'
};

axios.get(url, { params })
    .then(response => console.log(response.data))
    .catch(error => console.error(error));