Katalog Narzędzi MCP & Endpointów REST API
Clinical & Lifestyle Diet Templates (158 Types)
Search verified clinical and lifestyle diet templates authored by official nutritionists. Filter by 158 specialized diet types (keto, hashimoto, low-FODMAP, vegan, etc.), duration in days (3, 7, 14, 21, 28), calorie ranges, and exclude allergens with avoid_allergens.
search_diet
https://www.dietspremium.com/_mcp/search/diet
npx -y dietspremium-mcp
Eingabeparameter-Schema (inputSchema)
| Feldname | JSON-Typ | Status | Beschreibung | Beispielwert |
|---|---|---|---|---|
query
|
string | Optional | Search keyword or medical condition (e.g. "keto", "cukrzyca") | —
|
diet_template_type
|
string|int | Optional | Diet template type ID, find code, or localized name (e.g. "keto", "hashimoto", 4) | —
|
days
|
integer | Optional | Duration in days (e.g. 7, 14, 21, 28) | —
|
avoid_allergens
|
array | Optional | Allergen find codes to strictly exclude (e.g. ["milk", "nuts"]) | []
|
kcal_min / kcal_max
|
integer | Optional | Daily calorie bounds | 0
|
currency
|
string | Optional | Currency for pricing (PLN, EUR, USD, ALL) | locale default
|
locale
|
string | Optional | Language locale (en, pl, de, etc.) | en
|
page
|
integer | Optional | Page number (10 results per page) | 1
|
max_results
|
integer | Optional | Max items to return (max 10) | 10
|
JSON-RPC 2.0 Aufruf (tools/call)
search_dietnpx -y dietspremium-mcp --url https://www.dietspremium.com/_mcp
curl -X POST https://www.dietspremium.com/_mcp/search/diet \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_MCP_KEY" \
-d '{
"diet_template_type": "keto",
"days": 28,
"avoid_allergens": ["milk"],
"currency": "ALL",
"locale": "pl",
"page": 1
}'
Antwortstruktur des MCP-Tools
application/json • UTF-8{
"content": [
{
"type": "text",
"text": "Diet: Shape & Power 1800 kcal (key: MTA4, 28 days). Daily cost: 20.12 PLN (4.60 EUR), Total cost: 563.40 PLN (128.80 EUR). Weekly breakdown included."
}
]
}
Kroki wykonania dla search_diet
MCP Flow
Instrukcja integracji dla programistów i agentów AI
Instrukcja integracji dla programistów i agentów AI
search_diet
Przekaż parametry zgodne z tabelą obok (np. locale="de").
McpKeyCodec
Każdy zwrócony rekord posiada pole "key" (Base64), które można bezpiecznie przekazać do narzędzi management_*.
Specjalizowany Agent dla narzędzia search_diet
“Wykonaj zapytanie do narzędzia search_diet dla języka DE i zwróć ustrukturyzowane dane kliniczne.”
→ POST https://www.dietspremium.com/_mcp/search/diet (tool: "search_diet")
← 200 OK (9 zwalidowanych parametrów)