Matdata – Swedish food composition data
se.matdata/matdata
MCP server OK 5 tools
Nutrition facts for 2,600 Swedish foods (Swedish Food Agency), NNR 2023 intakes, climate impact.
Technical sheet
- Author
- matdata.se (registry namespace)
- Repository
- —
- Site
- matdata.se/en/data
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://matdata.se/mcp Streamable HTTP
- Tools
- 5
- Categories
- —
- Last updated
- 22 Nov 2026
- Published
- 22 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/se.matdata/matdata)<a href="https://latlas.dev/en/mcp/se.matdata/matdata"><img src="https://latlas.dev/badge/fiche/se.matdata/matdata.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://matdata.se/mcp
- Last result
- OK 28 Nov 2026, 09:06
- Response time
- 893 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- matdata 1.1.0
- Tools
- 5
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:06 | OK | 893 ms | 5 |
Exposed tools (5, from tools/list, 28 Nov 2026)
search_foods
Search foods
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Food name or part of it, in Swedish or English, e.g. 'havregryn', 'rolled oats' or 'kycklingfilé'. Several words narrow the search ('ris kokt'). |
| lang | enum: "sv" | "en" | no | Language of names in the result (default: sv) |
| limit | integer | no | Maximum number of results, 1–25 (default 10). Best matches come first. |
get_food
Get food nutrition
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 633 foods) and source attribution. Also six AGRIBALYSE environmental indicators per kg (water use, land use, nutrient pollution of fresh water, sea and land, acidification; reference values for the generic French equivalent, never a score) and matdata.se swaps within the category (more fibre, less salt, lower climate impact), chosen by fixed rules. Each value has quality: how the Swedish Food Agency obtained it (analysed, calculated, estimated, borrowed or not_stated; matdata_sum for omega-3), Matdata.se's summary of the agency's codes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | integer | yes | Food id (Swedish Food Agency number) as returned by search_foods, top_foods or compare_foods, e.g. 553 for banana. |
| grams | number | no | Amount of the food in grams. All values, including climate impact, are scaled to this amount; the environmental indicators stay per kg. Default 100 (values per 100 g). Use the portions in the result to convert pieces or decilitres to grams. |
top_foods
Top foods by nutrient
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, NIA, NIAEQ, VITB6, FOL, VITB12, VITC, CA, P, K, MG, FE, ZN, SE, ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
| nutrient | string | yes | Nutrient code from the list in the tool description, e.g. PROT (protein), FIBT (fibre), FE (iron), VITD (vitamin D), ENERC_KCAL (energy). |
| order | enum: "desc" | "asc" | no | Sort order: desc lists the foods with the most first (default), asc the least first. |
| per | enum: "100g" | "100kcal" | no | Basis for the ranking: 100g compares per 100 g of food (default), 100kcal per 100 kcal, which favours nutrient-dense foods. Foods with almost no energy, such as brewed coffee and tea, are left out per 100 kcal. |
| diet | enum: "vegan" | "vegetarian" | "pescetarian" | no | Only foods that fit this diet. Omit for all foods. |
| everyday | boolean | no | true (default) leaves out spices, salt, condiments, stock, sugar, sweeteners, supplements, baby food, raw blood and powders such as tea, coffee, milk and fibre powder; false includes everything. Oil, butter, bran and seeds count as everyday foods even though servings are small. |
| limit | integer | no | Maximum number of foods, 1–50 (default 15). |
| lang | enum: "sv" | "en" | no | Language of food names and URLs in the result (default: sv). |
compare_foods
Compare foods
Compare 2–6 foods side by side on the main nutrients per 100 g.
| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | array<integer> | yes | Two to six food ids as returned by search_foods, e.g. [951, 884] for minced beef and lentils. |
| lang | enum: "sv" | "en" | no | Language of food names and URLs in the result (default: sv). |
get_reference_values
Reference values (NNR 2023)
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| group | enum: "c1-3" | "c4-6" | "c7-10" | "f11-14" | "m11-14" | "f15-17" | "m15-17" | "f18-24" … | no | 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. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://matdata.se/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http matdata https://matdata.se/mcpCustomize > Connectors > + Add > Add custom connector ; Name : matdata ; URL : https://matdata.se/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : matdata ; Server URL : https://matdata.se/mcp ; Create as a plugin{
"mcpServers": {
"matdata": {
"url": "https://matdata.se/mcp"
}
}
}{
"mcpServers": {
"matdata": {
"type": "http",
"url": "https://matdata.se/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"matdata": {
"url": "https://matdata.se/mcp"
}
}
}{
"mcpServers": {
"matdata": {
"httpUrl": "https://matdata.se/mcp"
}
}
}[mcp_servers.matdata]
url = "https://matdata.se/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Matdata – Swedish food composition data · L’Atlas · Tested on
[Matdata – Swedish food composition data — L’Atlas](https://latlas.dev/en/mcp/se.matdata/matdata)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.