Global Food Products & Barcodes (Open Food Facts + USDA)
Comprehensive global food catalog integrating Open Food Facts and USDA FoodData Central. Query products by commercial barcode (EAN-13, UPC), manufacturer brand, localized product title, categories, and country of origin with multi-currency pricing.
Official NPM Package: dietspremium-mcp
Install the official DietsPremium MCP connector from the npm registry.
npm i dietspremium-mcp
npx -y dietspremium-mcp --auth "Bearer YOUR_MCP_SECRET"
Tool Argument Schema
Schema definition for the food-world tool.
| Argument | Type | Status | Default | Description |
|---|---|---|---|---|
| query | string | optional | — | Product name or keywords (e.g. "Coca-Cola Zero", "Nutella") |
| barcode | string | optional | — | EAN-13 or UPC barcode string (e.g. "5449000000996") |
| brand | string | optional | — | Manufacturer / brand name (e.g. "Barilla", "Nestle") |
| locale | string | optional | en | Target language locale |
| currency | string | optional | locale default | Currency for pricing (EUR, PLN, USD, ALL) |
| max_results | integer | optional | 10 | Maximum results |
MCP Client Configuration
Configure Claude Desktop, Cursor IDE, or direct JSON-RPC HTTP clients.
{
"mcpServers": {
"dietspremium": {
"command": "npx",
"args": [
"-y",
"dietspremium-mcp",
"--auth",
"Bearer YOUR_MCP_SECRET"
]
}
}
}
{
"mcpServers": {
"dietspremium": {
"command": "npx",
"args": [
"-y",
"dietspremium-mcp",
"--auth",
"Bearer YOUR_MCP_SECRET"
]
}
}
}
curl -X POST "https://www.dietspremium.com/_mcp" \
-H "Authorization: Bearer YOUR_MCP_SECRET" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "food-world",
"arguments": {
"query": "barilla spaghetti",
"brand": "Barilla",
"locale": "pl",
"currency": "ALL"
}
}
}'
JSON-RPC 2.0 tools/call Payload
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "food-world",
"arguments": {
"query": "barilla spaghetti",
"brand": "Barilla",
"locale": "pl",
"currency": "ALL"
}
}
}
Tool Execution Response
SUCCESS{
"content": [
{
"type": "text",
"text": "Product: Barilla Spaghetti n.5 (EAN: 8076809513753) - Nutri-Score: A, Eco-Score: B. Calories: 359 kcal, Protein: 12.5g, Carbs: 70.9g. Price: 1.49 EUR (6.49 PLN)."
}
]
}
Explore All MCP Tools
Direct documentation for all intelligence tools.
Allergen Risk & Intolerance Registry
Dietary allergens, cross-contamination risks, EU 1169/2011 allergen standards, and ingredient intolerance profiles.
Clinical Nutrition Guides & RAG Grounding
Search 6,000+ peer-reviewed nutrition articles, clinical guidelines, and wellness guides for agent grounding and citations.
Dietetic Catering & Clinic Directory
Search 173,000+ health clinics, dietetic catering providers, gyms, and wellness brands with geo-location metadata.
Exercise Biomechanics & Calorie Burn
Search 2,000+ workout exercises with targeted anatomical muscle groups, required equipment, and execution guidelines.
Nutritional Database & Macro Search
Search 1,900+ verified foods with complete macronutrients, calorie filters, micronutrients, and allergen exclusions.
Pharmacology & Food-Drug Interactions
Database of 53,000+ active substances evaluating critical food-drug interactions, absorption interference, and nutrient depletion.
Culinary Recipes & Macro Balancing
Search 780+ chef-curated recipes with preparation steps, ingredients with gram weights, portion macronutrients, and difficulty levels.
Specialists & Certified Dietitians
Search verified clinical dietitians, sports nutritionists, and certified personal trainers for client assignment.
Supplements & Active Dosages
Dietary supplements catalog with active compound dosages, vitamin forms, and safety guidance.
Clinical & Lifestyle Diet Templates (158 Types)
Official nutritionist-designed diet templates with multi-currency pricing, day duration (3-28 days), macro splits, and allergen avoidance.
Global Food Products & Barcodes (Open Food Facts + USDA)
Search 3.5M+ global branded products, EAN/UPC barcodes, brands, Nutri-Score, Eco-Score, and international ingredients.
Clinical Knowledge & Dietetic Grounding
Clinical nutrition guidelines, scientific dietary facts, medical definitions, and evidence-based grounding.