Scb Se
live EconomicsDemographicsEuropeStatistics Sweden (SCB) PxWeb API — browse subject trees, query statistical tables across Swedish national statistics.
Tools
subjects SWEDEN — official statistics from Statistics Sweden (SCB): Swedish inflation and CPI, population, unemployment, wages, housing prices, GDP, trade and energy. START HERE for any question about Sweden o
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
sweden_latest_figure The current value of a headline Swedish statistic in ONE call — "what is inflation in Sweden", "Swedish CPI right now". Returns the figure, its unit, the exact month it refers to, and the SCB table it
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.
curl -X POST https://gateway.pipeworx.io/scb-se/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' 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.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("subjects", {}); // 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");