Statistics Norway

live Data

Statistics Norway (SSB) PxWebApi MCP.

3 tools
0ms auth
free tier 50 calls/day

Tools

subjects

Navigate the subject tree. Pass a node id path under /table/ (default empty = root list of subjects). Each level returns child nodes ({id, type, text}); type "l" is a folder, "t" is a leaf table whose

No parameters required.

Try it
table_meta

Table definition (variables/dimensions and valid values). id is the numeric SSB table id, e.g. "07459".

No parameters required.

Try it
query_table

Pull data from a table. id is the numeric SSB table id; body is a PxWeb query object. Omitted dimensions with elimination collapse; otherwise select values per dimension.

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/ssb-no/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/ssb-no/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 norway (ssb) pxwebapi mcp");