Scb Se

live EconomicsDemographicsEurope

Statistics Sweden (SCB) PxWeb API — browse subject trees, query statistical tables across Swedish national statistics.

6 tools
0ms auth
free tier 50 calls/day

Tools

subjects

CATALOGUE of what Statistics Sweden (SCB) publishes — the subject tree of Swedish official statistics, returned as a browsable list of subjects and table paths. Use when the question is which Swedish

No parameters required.

Try it
table_meta

Dimension definitions and valid filter values for one Statistics Sweden (SCB) table of SWEDISH official statistics (e.g. "BE/BE0101/BE0101A/BefolkningNy"). Required before scb_se_query_table so you kn

No parameters required.

Try it
query_table

Pull data from a table. body is a PxWeb query object.

No parameters required.

Try it
scb_se_statistical_news

What Statistics Sweden (SCB) has JUST PUBLISHED \u2014 the statistical news releases (statistiknyheter) from the last few days, with headline, summary, publication date and the statistical product eac

No parameters required.

Try it
scb_se_publishing_calendar

What Statistics Sweden (SCB) is SCHEDULED to publish and when \u2014 the official publishing calendar (publiceringskalender), returning each upcoming release with its statistical product, product code

No parameters required.

Try it
sweden_latest_figure

A Swedish headline statistic as a NUMBER, for the latest month or for a month you name — "what is inflation in Sweden", "Swedish CPI in June 2026". One call — "what is inflation in Sweden", "Swedish C

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/scb-se/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/scb-se/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"subjects","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("subjects", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("statistics sweden (scb) pxweb api — browse subject trees, query statistical tables across swedish national statistics");