Nutrition facts for 2,600 Swedish foods (Swedish Food Agency), NNR 2023 intakes, climate impact.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Compare 2–6 foods side by side on the main nutrients per 100 g.
Two to six food ids as returned by search_foods, e.g. [951, 884] for minced beef and lentils.
Language of food names and URLs in the result (default: sv).
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http matdata https://matdata.se/mcp
Tool list last changed Nov 22, 2026.
Compare 2–6 foods side by side on the main nutrients per 100 g.
| Argument | Type | Description |
|---|---|---|
| ids* | array | Two to six food ids as returned by search_foods, e.g. [951, 884] for minced beef and lentils. |
| lang | string | Language of food names and URLs in the result (default: sv). |
{
"type": "object",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1
},
"maxItems": 6,
"minItems": 2,
"description": "Two to six food ids as returned by search_foods, e.g. [951, 884] for minced beef and lentils."
},
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of food names and URLs in the result (default: sv)."
}
}
}All nutrient values for one food (energy, macronutrients, fatty acids, vitamins, minerals), per 100 g or scaled to a given amount in grams. Includes portion sizes, density, category, diet, climate impact (kg CO2e, AGRIBALYSE 3.2, for about 610 foods) and source attribution.
| Argument | Type | Description |
|---|---|---|
| id* | integer | Food id (Swedish Food Agency number) as returned by search_foods, top_foods or compare_foods, e.g. 553 for banana. |
| grams | number | Amount of the food in grams. All values, including climate impact, are scaled to this amount. Default 100 (values per 100 g). Use the portions in the result to convert pieces or decilitres to grams. |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"description": "Food id (Swedish Food Agency number) as returned by search_foods, top_foods or compare_foods, e.g. 553 for banana."
},
"grams": {
"type": "number",
"description": "Amount of the food in grams. All values, including climate impact, are scaled to this amount. Default 100 (values per 100 g). Use the portions in the result to convert pieces or decilitres to grams.",
"exclusiveMinimum": 0
}
}
}Recommended daily intakes from the Nordic Nutrition Recommendations 2023 for a population group, or EU labelling reference intakes. Groups: c1-3, c4-6, c7-10, f11-14, m11-14, f15-17, m15-17, f18-24, f25-50, f51-70, f71+, m18-24, m25-50, m51-70, m71+, preg-t1, preg-t2, preg-t3, lact, eu.
| Argument | Type | Description |
|---|---|---|
| group | string | Population group: c = children (age span), f = women, m = men (age span), preg-t1…t3 = pregnancy by trimester, lact = breastfeeding, eu = EU labelling reference intakes. Default f25-50. |
{
"type": "object",
"properties": {
"group": {
"enum": [
"c1-3",
"c4-6",
"c7-10",
"f11-14",
"m11-14",
"f15-17",
"m15-17",
"f18-24",
"f25-50",
"f51-70",
"f71+",
"m18-24",
"m25-50",
"m51-70",
"m71+",
"preg-t1",
"preg-t2",
"preg-t3",
"lact",
"eu"
],
"type": "string",
"description": "Population group: c = children (age span), f = women, m = men (age span), preg-t1…t3 = pregnancy by trimester, lact = breastfeeding, eu = EU labelling reference intakes. Default f25-50."
}
}
}Search the Swedish Food Agency food composition database (2,600 foods) by name in Swedish or English. Returns id, name, energy (kcal per 100 g) and URL. Use the id with get_food.
| Argument | Type | Description |
|---|---|---|
| lang | string | Language of names in the result (default: sv) |
| limit | integer | Maximum number of results, 1–25 (default 10). Best matches come first. |
| query* | string | Food name or part of it, in Swedish or English, e.g. 'havregryn', 'rolled oats' or 'kycklingfilé'. Several words narrow the search ('ris kokt'). |
{
"type": "object",
"required": [
"query"
],
"properties": {
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of names in the result (default: sv)"
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Maximum number of results, 1–25 (default 10). Best matches come first."
},
"query": {
"type": "string",
"description": "Food name or part of it, in Swedish or English, e.g. 'havregryn', 'rolled oats' or 'kycklingfilé'. Several words narrow the search ('ris kokt')."
}
}
}Foods with the most (or least) of a nutrient per 100 g or per 100 kcal. Nutrient codes: ENERC_KCAL, PROT, FAT, FASAT, FAMS, FAPU, N3, CHO, SUGAR, SUGAD, SUGFR, FIBT, WHOLET, NACL, NA, CHORL, VITA, CARTB, VITD, VITE, THIA, RIBF, NIAEQ, VITB6, FOL, VITB12, VITC, CA, P, K, MG, FE, ZN, SE, ID.
| Argument | Type | Description |
|---|---|---|
| per | string | Basis for the ranking: 100g compares per 100 g of food (default), 100kcal per 100 kcal, which favours nutrient-dense foods. |
| diet | string | Only foods that fit this diet. Omit for all foods. |
| lang | string | Language of food names and URLs in the result (default: sv). |
| limit | integer | Maximum number of foods, 1–50 (default 15). |
| order | string | Sort order: desc lists the foods with the most first (default), asc the least first. |
| everyday | boolean | true (default) leaves out spices, supplements, baby food, stock, sweeteners and similar that are rarely eaten in 100 g amounts; false includes everything. |
| nutrient* | string | Nutrient code from the list in the tool description, e.g. PROT (protein), FIBT (fibre), FE (iron), VITD (vitamin D), ENERC_KCAL (energy). |
{
"type": "object",
"required": [
"nutrient"
],
"properties": {
"per": {
"enum": [
"100g",
"100kcal"
],
"type": "string",
"description": "Basis for the ranking: 100g compares per 100 g of food (default), 100kcal per 100 kcal, which favours nutrient-dense foods."
},
"diet": {
"enum": [
"vegan",
"vegetarian",
"pescetarian"
],
"type": "string",
"description": "Only foods that fit this diet. Omit for all foods."
},
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of food names and URLs in the result (default: sv)."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum number of foods, 1–50 (default 15)."
},
"order": {
"enum": [
"desc",
"asc"
],
"type": "string",
"description": "Sort order: desc lists the foods with the most first (default), asc the least first."
},
"everyday": {
"type": "boolean",
"description": "true (default) leaves out spices, supplements, baby food, stock, sweeteners and similar that are rarely eaten in 100 g amounts; false includes everything."
},
"nutrient": {
"type": "string",
"description": "Nutrient code from the list in the tool description, e.g. PROT (protein), FIBT (fibre), FE (iron), VITD (vitamin D), ENERC_KCAL (energy)."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 22, 2026.
What changed in this server's tools since we started watching, newest first. Each change is scanned again.
{
"type": "object",
"properties": {
"group": {
"type": "string",
"description": "Group id, e.g. f25-50 (women 25–50) or m25-50 (men 25–50). Default f25-50."
}
}
}{
"type": "object",
"properties": {
"group": {
"enum": [
"c1-3",
"c4-6",
"c7-10",
"f11-14",
"m11-14",
"f15-17",
"m15-17",
"f18-24",
"f25-50",
"f51-70",
"f71+",
"m18-24",
"m25-50",
"m51-70",
"m71+",
"preg-t1",
"preg-t2",
"preg-t3",
"lact",
"eu"
],
"type": "string",
"description": "Population group: c = children (age span), f = women, m = men (age span), preg-t1…t3 = pregnancy by trimester, lact = breastfeeding, eu = EU labelling reference intakes. Default f25-50."
}
}
}{
"type": "object",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 6,
"minItems": 2,
"description": "Food ids from search_foods"
},
"lang": {
"enum": [
"sv",
"en"
],
"type": "string"
}
}
}{
"type": "object",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1
},
"maxItems": 6,
"minItems": 2,
"description": "Two to six food ids as returned by search_foods, e.g. [951, 884] for minced beef and lentils."
},
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of food names and URLs in the result (default: sv)."
}
}
}{
"type": "object",
"required": [
"nutrient"
],
"properties": {
"per": {
"enum": [
"100g",
"100kcal"
],
"type": "string",
"description": "Basis (default 100g)"
},
"diet": {
"enum": [
"vegan",
"vegetarian",
"pescetarian"
],
"type": "string",
"description": "Optional diet filter"
},
"lang": {
"enum": [
"sv",
"en"
],
"type": "string"
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Max results (default 15)"
},
"order": {
"enum": [
"desc",
"asc"
],
"type": "string",
"description": "desc = highest first (default)"
},
"everyday": {
"type": "boolean",
"description": "Exclude spices, supplements, stock etc. (default true)"
},
"nutrient": {
"type": "string",
"description": "Nutrient code, e.g. PROT, FIBT, FE, VITD"
}
}
}{
"type": "object",
"required": [
"nutrient"
],
"properties": {
"per": {
"enum": [
"100g",
"100kcal"
],
"type": "string",
"description": "Basis for the ranking: 100g compares per 100 g of food (default), 100kcal per 100 kcal, which favours nutrient-dense foods."
},
"diet": {
"enum": [
"vegan",
"vegetarian",
"pescetarian"
],
"type": "string",
"description": "Only foods that fit this diet. Omit for all foods."
},
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of food names and URLs in the result (default: sv)."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum number of foods, 1–50 (default 15)."
},
"order": {
"enum": [
"desc",
"asc"
],
"type": "string",
"description": "Sort order: desc lists the foods with the most first (default), asc the least first."
},
"everyday": {
"type": "boolean",
"description": "true (default) leaves out spices, supplements, baby food, stock, sweeteners and similar that are rarely eaten in 100 g amounts; false includes everything."
},
"nutrient": {
"type": "string",
"description": "Nutrient code from the list in the tool description, e.g. PROT (protein), FIBT (fibre), FE (iron), VITD (vitamin D), ENERC_KCAL (energy)."
}
}
}All nutrient values for one food (energy, macronutrients, fatty acids, vitamins, minerals), per 100 g or scaled to a given amount in grams. Includes portion sizes, categorydensity, category, diet, climate impact (kg CO2e, AGRIBALYSE 3.2, for about 610 foods) and source attribution.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"description": "Food id from search_foods"
},
"grams": {
"type": "number",
"description": "Optional amount in grams to scale values to (default 100)"
}
}
}{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"description": "Food id (Swedish Food Agency number) as returned by search_foods, top_foods or compare_foods, e.g. 553 for banana."
},
"grams": {
"type": "number",
"description": "Amount of the food in grams. All values, including climate impact, are scaled to this amount. Default 100 (values per 100 g). Use the portions in the result to convert pieces or decilitres to grams.",
"exclusiveMinimum": 0
}
}
}{
"type": "object",
"required": [
"query"
],
"properties": {
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of names in the result (default: sv)"
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Max results (default 10)"
},
"query": {
"type": "string",
"description": "Food name, e.g. 'havregryn' or 'rolled oats'"
}
}
}{
"type": "object",
"required": [
"query"
],
"properties": {
"lang": {
"enum": [
"sv",
"en"
],
"type": "string",
"description": "Language of names in the result (default: sv)"
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Maximum number of results, 1–25 (default 10). Best matches come first."
},
"query": {
"type": "string",
"description": "Food name or part of it, in Swedish or English, e.g. 'havregryn', 'rolled oats' or 'kycklingfilé'. Several words narrow the search ('ris kokt')."
}
}
}