table_meta

Pack: scb-se · Endpoint: https://gateway.pipeworx.io/scb-se/mcp

Fetch dimension definitions and valid filter values for a specific SCB PxWeb table (e.g. “BE/BE0101/BE0101A/BefolkningNy”). Required before calling query_table to know which codes to pass.

Parameters

NameTypeRequiredDescription
pathstringyese.g. “BE/BE0101/BE0101A/BefolkningNy”

Example call

Arguments

{
  "path": "BE/BE0101/BE0101A/BefolkningNy"
}

curl

curl -X POST https://gateway.pipeworx.io/scb-se/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"table_meta","arguments":{"path":"BE/BE0101/BE0101A/BefolkningNy"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('table_meta', {
  "path": "BE/BE0101/BE0101A/BefolkningNy"
});

Response shape

FieldTypeDescription
variablesarrayList of dimensions/variables in the table
Full JSON Schema
{
  "type": "object",
  "description": "Table metadata including dimensions and valid values",
  "properties": {
    "variables": {
      "type": "array",
      "description": "List of dimensions/variables in the table",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Variable code"
          },
          "text": {
            "type": "string",
            "description": "Variable label"
          },
          "values": {
            "type": "array",
            "description": "Valid values for this dimension",
            "items": {
              "type": "string"
            }
          },
          "valueTexts": {
            "type": "array",
            "description": "Labels for values",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "scb-se": {
      "url": "https://gateway.pipeworx.io/scb-se/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026