L'Atlas / MCP servers / Matdata – Swedish food composition data
MCP server

Matdata – Swedish food composition data

se.matdata/matdata

MCP server OK 5 tools

Get a review See pricing

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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/se.matdata/matdata.svg?lang=en)](https://latlas.dev/en/mcp/se.matdata/matdata)
HTML
<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

DateResultResponseTools
28 Nov 2026, 09:06OK893 ms5

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.

ParameterTypeRequiredDescription
querystringyesFood name or part of it, in Swedish or English, e.g. 'havregryn', 'rolled oats' or 'kycklingfilé'. Several words narrow the search ('ris kokt').
langenum: "sv" | "en"noLanguage of names in the result (default: sv)
limitintegernoMaximum 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.

ParameterTypeRequiredDescription
idintegeryesFood id (Swedish Food Agency number) as returned by search_foods, top_foods or compare_foods, e.g. 553 for banana.
gramsnumbernoAmount 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.

ParameterTypeRequiredDescription
nutrientstringyesNutrient code from the list in the tool description, e.g. PROT (protein), FIBT (fibre), FE (iron), VITD (vitamin D), ENERC_KCAL (energy).
orderenum: "desc" | "asc"noSort order: desc lists the foods with the most first (default), asc the least first.
perenum: "100g" | "100kcal"noBasis 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.
dietenum: "vegan" | "vegetarian" | "pescetarian"noOnly foods that fit this diet. Omit for all foods.
everydaybooleannotrue (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.
limitintegernoMaximum number of foods, 1–50 (default 15).
langenum: "sv" | "en"noLanguage 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.

ParameterTypeRequiredDescription
idsarray<integer>yesTwo to six food ids as returned by search_foods, e.g. [951, 884] for minced beef and lentils.
langenum: "sv" | "en"noLanguage 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.

ParameterTypeRequiredDescription
groupenum: "c1-3" | "c4-6" | "c7-10" | "f11-14" | "m11-14" | "f15-17" | "m15-17" | "f18-24" …noPopulation 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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://matdata.se/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http matdata https://matdata.se/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : matdata ; URL : https://matdata.se/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : matdata ; Server URL : https://matdata.se/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "matdata": {
      "url": "https://matdata.se/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "matdata": {
      "type": "http",
      "url": "https://matdata.se/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "matdata": {
      "url": "https://matdata.se/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "matdata": {
      "httpUrl": "https://matdata.se/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[Matdata – Swedish food composition data — L’Atlas](https://latlas.dev/en/mcp/se.matdata/matdata)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.