Skip to content
Eden Engine

Ghana StatsBank: Read a Statistical Table with Its Default Selection

ghanastats/table-data

Reads one statistical table from the Ghana Statistical Service StatsBank and returns it as JSON-stat 2.0: the dimensions with their category labels and the figures in row-major order. It returns the table's default selection of each variable (for example every month and the three inflation indicators of the consumer price index table), not a custom slice. Missing figures are null. Find table paths with the folder browser; a path the StatsBank does not know is refused as invalid input, and a table's default selection is returned whole (measured 1 KB to 62 KB). Source: Ghana Statistical Service, passed through unmodified and served by Eden Engine; not an official Ghana Statistical Service product.

activeper callv2

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.00.

Data source

Ghana Statistical Service

Source: Ghana Statistical Service (statsghana.gov.gh), StatsBank, <table title>, <year>. No licence or reuse terms are published for this data; the Service asks to be cited as the source with the publication title and year. Served by Eden Engine; not an official Ghana Statistical Service product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

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

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

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

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ghanastats/table-data", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ghanastats/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 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "pattern": "^[^.?#%\\\\][^?#%\\\\]{0,299}\\.px$",
      "description": "The table path ending in .px: the database, any folders, then the table id, separated by slashes, for example Macroeconomic Indicators/Prices and Inflation/cpi.px or Trade/trade_general.px. Find table ids with ghanastats/browse-level."
    }
  },
  "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 names, in the order of `size`."
    },
    "size": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "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`/`size`. null marks a missing figure; the matching `status` entry says why (for example '..')."
    },
    "source": {
      "type": "string",
      "description": "The agency that produced the table, for example GSS."
    },
    "status": {
      "type": "object",
      "description": "Position-to-symbol notes for missing or flagged figures.",
      "additionalProperties": true
    },
    "updated": {
      "type": "string",
      "description": "When the table was last updated (UTC)."
    },
    "dimension": {
      "type": "object",
      "description": "Per dimension, its category index and labels.",
      "additionalProperties": true
    }
  },
  "description": "The table as JSON-stat 2.0, with the StatsBank's default selection of each variable.",
  "additionalProperties": true
}