# Matdata – Swedish food composition data

> Nutrition facts for 2,600 Swedish foods (Swedish Food Agency), NNR 2023 intakes, climate impact.

- name: se.matdata/matdata
- version: 1.1.0
- connection class: R0 (autonomous)
- trust: 82/100 flags: no-repository
- quality: 83/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/se.matdata%2Fmatdata
- tools: https://api.protogrid.dev/v1/servers/se.matdata%2Fmatdata/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "matdata": {
      "type": "http",
      "url": "https://matdata.se/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 99
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-96% +updated-7d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 83/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 5 of 5 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_food (destructiveHint, idempotentHint); compare_foods (destructiveHint, idempotentHint); search_foods (destructiveHint, idempotentHint); …
- pass `tools.token_cost`: about 1,374 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 6 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 1,374 tokens to load them all
- tool set hash: e4107dd6862a22678480def0f7fb759d
- tools last changed: 2026-11-29T07:42:14.220Z
- badge: [![protogrid quality](https://protogrid.dev/badge/se.matdata/matdata.svg)](https://protogrid.dev/servers/se.matdata/matdata)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-29 `top_foods` changed (description) no new version (still 1.1.0)
  - before: 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.
  - after: 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 (omega-3 total, g), EPADHA (EPA + DHA, mg), N6 (omega-6 total, g), F20:5 (EPA, g), F22:6 (DHA, g), 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. For oily fish or fish oil use EPADHA: N3 also counts 18:3 from plants such as rapeseed oil and flaxseed.
- 2026-11-29 `get_food` changed (description) no new version (still 1.1.0)
  - before: 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.
  - after: 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 Matdata's omega-3, omega-6 and EPA + DHA totals), Matdata.se's summary of the agency's codes. Also Matdata.se's calculated measures: PRAL (potential renal acid load, scaled to the amount) and the potassium/sodium molar ratio, research measures for whole diets, never targets for single foods.
- 2026-11-26 `get_food` changed (description, inputSchema) **meaning changed** no new version (still 1.1.0)
  - before: 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.
  - after: 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.
- 2026-11-26 `top_foods` changed (description, inputSchema) no new version (still 1.1.0)
  - before: 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.
  - after: 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.
- 2026-11-22 `get_reference_values` changed (inputSchema)
- 2026-11-22 `compare_foods` changed (inputSchema)
- 2026-11-22 `top_foods` changed (inputSchema)
- 2026-11-22 `get_food` changed (description, inputSchema)
  - before: 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, category and source attribution.
  - after: 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.
- 2026-11-22 `search_foods` changed (inputSchema)

Full history: https://api.protogrid.dev/v1/servers/se.matdata%2Fmatdata/changes

## Remotes

- https://matdata.se/mcp (streamable-http, auth none, reachable true, uptime30d 0.962963)

## Packages

_none_

## Tools (5)

- `compare_foods`: Compare 2–6 foods side by side on the main nutrients per 100 g.
- `get_food`: 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 Matdata's omega-3, omega-6 and EPA + DHA totals), Matdata.se's summary of the agency's codes. Also Matdata.se's calculated measures: PRAL (potential renal acid load, scaled to the amount) and the potassium/sodium molar ratio, research measures for whole diets, never targets for single foods.
- `get_reference_values`: 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.
- `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.
- `top_foods`: 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 (omega-3 total, g), EPADHA (EPA + DHA, mg), N6 (omega-6 total, g), F20:5 (EPA, g), F22:6 (DHA, g), 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. For oily fish or fish oil use EPADHA: N3 also counts 18:3 from plants such as rapeseed oil and flaxseed.
