Skip to content
Eden Engine

North Macedonia MakStat: Read Statistical Table Data as JSON-stat

makstatpxweb/table-data

Reads figures from one table of the MakStat statistical database of North Macedonia (State Statistical Office) as JSON-stat 2.0: dimensions with labelled categories and the values in row-major order, plus the last-updated time. Select by variable code with `item` (listed value codes) or `top` (N values from one end of an axis: the latest N on a time axis, the first N otherwise); variables you do not name are returned in full, so narrow large axes. Use the table variables tool first to get the exact codes. Data from MakStat, the State Statistical Office of North Macedonia, passed through unmodified and served by Eden Engine; not an official State Statistical Office 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 $5.

Data source

State Statistical Office of North Macedonia

Data from MakStat, the database of the State Statistical Office of the Republic of North Macedonia (makstat.stat.gov.mk). The Office publishes no terms of use for MakStat; the source is credited as a courtesy. Passed through unmodified. Served by Eden Engine; not an official State Statistical Office 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: "makstatpxweb/table-data" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "makstatpxweb/table-data", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "makstatpxweb/table-data", 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",
    "query"
  ],
  "properties": {
    "query": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "selection"
        ],
        "properties": {
          "code": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "description": "The variable code, exactly as in the table variables listing."
          },
          "selection": {
            "type": "object",
            "required": [
              "filter",
              "values"
            ],
            "properties": {
              "filter": {
                "enum": [
                  "item",
                  "top"
                ],
                "type": "string",
                "description": "`item` selects the listed value codes; `top` selects N values from one end of the axis, N given as the single value: the latest N when the variable is flagged `time: true` in the table variables listing, otherwise the first N in table order."
              },
              "values": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100,
                  "minLength": 1
                },
                "maxItems": 1000,
                "minItems": 1,
                "description": "For `item`, the value codes. For `top`, one string with the number, for example \"3\"."
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20,
      "description": "The selection, one item per variable you want to narrow; use [] to take every value of every variable (only safe on small tables). Variable codes and value codes come from the table variables tool and must be sent exactly as listed (Cyrillic included). Example: [{\"code\":\"Година\",\"selection\":{\"filter\":\"item\",\"values\":[\"3\",\"4\"]}},{\"code\":\"Региони\",\"selection\":{\"filter\":\"item\",\"values\":[\"0\",\"8\"]}}] takes two years of two regions."
    },
    "table_path": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_\\-]+(/[A-Za-z0-9_\\-]+){0,8}/[A-Za-z0-9_\\-.]+\\.px$",
      "maxLength": 300,
      "description": "The table path from the root: folder ids and the table id separated by slashes, the last segment ending in .px, for example Naselenie/Vitalna/100_Prirodno_Mk_ml.px. Take it from the folder listing."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "label",
    "id",
    "size",
    "dimension",
    "value"
  ],
  "properties": {
    "id": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The dimension codes, in the order of `size`."
    },
    "size": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "The number of categories in each dimension."
    },
    "label": {
      "type": "string",
      "description": "The table title with its variables."
    },
    "value": {
      "type": "array",
      "items": {
        "type": [
          "number",
          "string",
          "null"
        ]
      },
      "description": "The figures in row-major order over `id` and `size`. null marks a missing figure."
    },
    "source": {
      "type": "string",
      "description": "The producing agency, State Statistical Office."
    },
    "status": {
      "type": "object",
      "description": "Position-to-symbol notes for missing or flagged figures, when present.",
      "additionalProperties": true
    },
    "updated": {
      "type": "string",
      "description": "When the table was last updated (UTC)."
    },
    "dimension": {
      "type": "object",
      "description": "Per dimension, its label and the category index and labels.",
      "additionalProperties": true
    }
  },
  "description": "The table as JSON-stat 2.0, restricted to the selection.",
  "additionalProperties": true
}