MCP-Tool: Weltweite Lebensmittel & Barcode-Register | Diets Premium Skip to main content
Model Context Protocol 2024.11 • Semantische Analyse-Engine TOOL: food-world Global Barcode DB

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.

Protocol
JSON-RPC 2.0
NPM Package
dietspremium-mcp
MCP Method
tools/call
Clients
Claude / Cursor / Node
npm

Official NPM Package: dietspremium-mcp

Install the official DietsPremium MCP connector from the npm registry.

View on npmjs.com
Install via npm
npm i dietspremium-mcp
Run Instantly with npx
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.

Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "dietspremium": {
      "command": "npx",
      "args": [
        "-y",
        "dietspremium-mcp",
        "--auth",
        "Bearer YOUR_MCP_SECRET"
      ]
    }
  }
}
Cursor IDE (.cursor/mcp.json)
{
  "mcpServers": {
    "dietspremium": {
      "command": "npx",
      "args": [
        "-y",
        "dietspremium-mcp",
        "--auth",
        "Bearer YOUR_MCP_SECRET"
      ]
    }
  }
}
Raw JSON-RPC 2.0 HTTP POST Call for food-world
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.

View Full MCP Overview
TOOL allergen

Allergen Risk & Intolerance Registry

Dietary allergens, cross-contamination risks, EU 1169/2011 allergen standards, and ingredient intolerance profiles.

Allergology & Safety Protocol
TOOL article

Clinical Nutrition Guides & RAG Grounding

Search 6,000+ peer-reviewed nutrition articles, clinical guidelines, and wellness guides for agent grounding and citations.

Publications & Knowledge Base
TOOL company

Dietetic Catering & Clinic Directory

Search 173,000+ health clinics, dietetic catering providers, gyms, and wellness brands with geo-location metadata.

B2B & Directory
TOOL exercise

Exercise Biomechanics & Calorie Burn

Search 2,000+ workout exercises with targeted anatomical muscle groups, required equipment, and execution guidelines.

Fitness & Biomechanics
TOOL food

Nutritional Database & Macro Search

Search 1,900+ verified foods with complete macronutrients, calorie filters, micronutrients, and allergen exclusions.

Nutrition & Macros
TOOL medication

Pharmacology & Food-Drug Interactions

Database of 53,000+ active substances evaluating critical food-drug interactions, absorption interference, and nutrient depletion.

Pharmacology & Safety
TOOL recipe

Culinary Recipes & Macro Balancing

Search 780+ chef-curated recipes with preparation steps, ingredients with gram weights, portion macronutrients, and difficulty levels.

Culinary & Meal Prep
TOOL user

Specialists & Certified Dietitians

Search verified clinical dietitians, sports nutritionists, and certified personal trainers for client assignment.

Specialists & Trainers
TOOL supplement

Supplements & Active Dosages

Dietary supplements catalog with active compound dosages, vitamin forms, and safety guidance.

Nutrition & Supplements
TOOL diet

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.

Odżywianie & Diety
TOOL food-world

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.

Global Products & Barcodes
TOOL knowledge

Clinical Knowledge & Dietetic Grounding

Clinical nutrition guidelines, scientific dietary facts, medical definitions, and evidence-based grounding.

Publications & Knowledge Base

Teilen