Official statistics · MCP server

Statistics Sweden (SCB)

Swedish official statistics: population, economy, labour market, education and environment.

SwedenHosted by Kahubi

Free plan included. No API key needed.

About this source

SCB’s statistical database through its PxWeb v2 API, wrapped by Kahubi: search tables by keyword, read a table’s variables and codes, then fetch data as CSV with a selection per variable. Covers population, labour market, prices, national accounts, education, environment and more, back to the 1700s for some series.

Questions you can ask Statistics Sweden

Type them into Kahubi’s chat once the source is connected.

Get the monthly population of Uppsala county for the last year.

What comes back: The matching SCB table, its variables, and a CSV with the selected months and regions.

Compare unemployment rates by county in 2024.

What comes back: Table search results, then a CSV of the chosen table with one row per county.

What the assistant can do with it

The 3 tools this server offers to Kahubi. The assistant picks the right one for each question.

  • scb_search_tables

    Find SCB statistical tables by keyword (English or Swedish).

  • scb_table_info

    Metadata for one SCB table: variables (dimensions), whether each is mandatory, and their codes with labels (first 40 per variable), so you can build a selection for scb_get_data.

  • scb_get_data

    Fetch data from an SCB table.

Good to know

  • Hosted by Kahubi. Kahubi runs this server itself so it stays reliable enough for research use.
  • Cited, checkable answers. Results are treated as retrieved material and cited with the source’s own identifiers, so you can open every record the answer relied on.
  • Your files stay private. Only the search the assistant writes for your question is sent to Statistics Sweden.

More official statistics sources

All data sources

Ask Statistics Sweden your next research question

Connect Statistics Sweden in one click and get answers that cite their records, next to your own library and drafts. Free to start.