table_meta

Pack: scb-se · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/table_meta for the schema, then POST the same URL with its arguments for the data.

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 know which codes to pass. Find the table path with scb_se_subjects first.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the scb-se pack
{
  "mcpServers": {
    "scb-se": {
      "url": "https://gateway.pipeworx.io/scb-se/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026