Skip to content
Eden Engine

Sweden SCB: Statistical Table Variables and Codes

scbpxwebv1/table-variables

Describes one table of the Statistics Sweden (SCB) database: its title and every variable with its code, English label, value codes and value labels, plus flags for variables that may be left out of a query and for the time variable. Use it before the table data tool to get the exact codes (for example Region 00 is Sweden, 01 is Stockholm county). Data from Statistics Sweden, passed through unmodified and served by Eden Engine; not an official Statistics Sweden product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Statistics Sweden

Data from Statistics Sweden (SCB), published as open data under the CC0 licence (www.scb.se/en/services/open-data-api/), which asks for no source statement; the recommended form is "Source: Statistics Sweden". Passed through unmodified. Served by Eden Engine; not an official Statistics Sweden product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "scbpxwebv1/table-variables" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "scbpxwebv1/table-variables" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "scbpxwebv1/table-variables", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "scbpxwebv1/table-variables", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "table_path"
  ],
  "properties": {
    "table_path": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_\\-]+(/[A-Za-z0-9_\\-]+){1,8}$",
      "maxLength": 300,
      "description": "The table path from the root: folder ids and the table id separated by slashes, for example BE/BE0101/BE0101A/BefolkningNy. Take it from the folder listing."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "title",
    "variables"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "The table title with its variables."
    },
    "variables": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "text",
          "values",
          "valueTexts"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "The variable code to send in a data query."
          },
          "text": {
            "type": "string",
            "description": "The English label."
          },
          "time": {
            "type": "boolean",
            "description": "True on the time variable: a `top` selection takes its latest values."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The value codes, in table order."
          },
          "valueTexts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The English label of each value, in the same order as `values`."
          },
          "elimination": {
            "type": "boolean",
            "description": "True when the variable may be left out of a query (its values are then summed or defaulted by the service)."
          }
        },
        "additionalProperties": true
      }
    }
  },
  "description": "The table's description: its title and its variables with their code lists.",
  "additionalProperties": true
}