Australian Bureau of Statistics data: 1,227 tables, offering only options confirmed to serve data
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
A table's dimensions in key order, its coverage dates, and its observed options. Dimensions with up to 64 options list them inline with labels; larger ones (geography, occupations) say how many and are searchable with search_options.
Dataflow id, e.g. CPI
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
A table's dimensions in key order, its coverage dates, and its observed options. Dimensions with up to 64 options list them inline with labels; larger ones (geography, occupations) say how many and are searchable with search_options.
| Argument | Type | Description |
|---|---|---|
| table* | string | Dataflow id, e.g. CPI |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"table"
],
"properties": {
"table": {
"type": "string",
"minLength": 1,
"description": "Dataflow id, e.g. CPI"
}
}
}Run JavaScript in an isolated sandbox whose only capability is `abs`, a client with the same four verbs as this server (searchTables, describeTable, searchOptions, getData) and the same guarantees: every selection is verified against ABS before fetching. Use it for multi-series or multi-table analysis — fetch several series, compute growth rates, rank capitals, join tables — and `return` only the computed result, so large payloads never reach the conversation. No network beyond `abs`. Budgets: 10s CPU, 50 calls, 25s wall clock, 200KB result. Your code runs inside an async function; use `await`; console.log is captured. // The `abs` object available in execute(): interface Abs { searchTables(input: { query?: string; geography?: string; frequency?: "A"|"S"|"Q"|"M"|"W"|"D"; limit?: number }): Promise<{ results: TableSummary[]; total: number }>; describeTable(table: string): Promise<{ table: TableSummary; dimensions: { id: string; position: number; optionCount: number; options?: { code: string; label: string|null }[] }[]; keyFormat: string }>; searchOptions(input: { table: string; dimension: string; query: string; limit?: number }): Promise<{ options: { code: string; label: string|null; parent?: string|null }[]; total: number }>; getData(input: { table: string; select?: Record<string, string|string[]>; startPeriod?: string; endPeriod?: string; lastN?: number; firstN?: number; maxRows?: number }): Promise<{ key: string; rows: { series: string; period: string; value: number|null; unit?: string|null }[]; rowsReturned: number; truncated: boolean; seriesMatched: number; fullDataUrl: string }>; } interface TableSummary { id: string; name: string|null; seriesCount: number; frequencies: string[]; coverage: { from: string|null; to: string|null }; dimensions: string[]; family: string|null; geography: string|null; matchedOptions?: { dimension: string; code: string; label: string|null }[] } // getData throws an Error whose message is JSON: { reason, dimension, message, validOptions?, alternatives? } — catch it, read validOptions, correct and retry.
| Argument | Type | Description |
|---|---|---|
| code* | string | JavaScript. `abs` is in scope. Must return a value. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "JavaScript. `abs` is in scope. Must return a value."
}
}
}Fetch observations. `select` maps dimension ids to option codes or labels (several allowed); omitted dimensions match everything. The selection is verified live against ABS before fetching, so a call that succeeds always returns real data. Returns up to maxRows observations (default 500, most recent 12 periods per series unless a period range is given), a summary, and the URL for the complete pull. If an option or combination does not exist you are asked to choose from the valid ones.
| Argument | Type | Description |
|---|---|---|
| lastN | integer | Most recent N observations per series; default 12 when no period is given |
| table* | string | |
| firstN | integer | |
| select | object | dimension id -> option code or label (or several). Omitted dimensions match everything. |
| maxRows | integer | Cap on returned observations |
| endPeriod | string | |
| startPeriod | string | e.g. 2020, 2020-Q1, 2020-03 |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"table"
],
"properties": {
"lastN": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Most recent N observations per series; default 12 when no period is given"
},
"table": {
"type": "string",
"minLength": 1
},
"firstN": {
"type": "integer",
"maximum": 1000,
"minimum": 1
},
"select": {
"type": "object",
"default": {},
"description": "dimension id -> option code or label (or several). Omitted dimensions match everything.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
]
}
},
"maxRows": {
"type": "integer",
"default": 500,
"maximum": 2000,
"minimum": 1,
"description": "Cap on returned observations"
},
"endPeriod": {
"type": "string"
},
"startPeriod": {
"type": "string",
"description": "e.g. 2020, 2020-Q1, 2020-03"
}
}
}Run JavaScript against the whole catalogue document — every table, its dimensions, coverage and small-dimension options — in an isolated sandbox with no network. Use it to answer questions the fixed verbs make awkward: 'which tables have both an SA2 geography and a quarterly frequency?', 'list every dimension name and how often it appears', 'find codelists whose labels mention rent'. Your code runs inside an async function with `catalogue` in scope; `return` a JSON-serialisable value; console.log output is captured. // The `catalogue` object available in search(): interface Catalogue { provenance: { runId: string; observedAt: string }; corpus: { tables: number; seriesConfirmed: number; seriesImpliedByMetadata: number; density: number }; tables: Record<string, { // keyed by table id, e.g. catalogue.tables.CPI id: string; name: string|null; description: string|null; seriesCount: number; frequencies: string[]; coverage: { from: string|null; to: string|null }; density: number|null; family: string|null; geography: string|null; topics: string[]; dimensions: { id: string; position: number; codelist: string|null; optionCount: number; literal: boolean }[]; }>; options: { literal: Record<string, Record<string, string|null>>; // codelist id -> { code: label } for small codelists (<=64 options) branded: Record<string, number>; // large codelists -> option count (use abs.searchOptions in execute) }; }
| Argument | Type | Description |
|---|---|---|
| code* | string | JavaScript. `catalogue` is in scope. Must return a value. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "JavaScript. `catalogue` is in scope. Must return a value."
}
}
}Find option codes by label text within one dimension of one table — e.g. a suburb name in a geography dimension. Returns codes to use in get_data's select.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query* | string | Match against option codes and labels |
| table* | string | |
| dimension* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"table",
"dimension",
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Match against option codes and labels"
},
"table": {
"type": "string",
"minLength": 1
},
"dimension": {
"type": "string",
"minLength": 1
}
}
}Find ABS statistical tables (dataflows) by topic words, geography level or frequency. Matches table names, topics and dimension names, and also option labels inside dimensions — a search for 'rent' finds CPI through its INDEX option 'Rents' and reports the match in matchedOptions. Census tables published at several geography levels are collapsed to one result with familyGeographies listing the others (use the geography filter to pick one). Every result is confirmed to serve data — nothing here comes from documentation alone. Start here, then describe_table.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query | string | Free text over ids, names, topics, dimensions |
| frequency | string | A annual, S semi-annual, Q quarterly, M monthly, W weekly, D daily |
| geography | string | Restrict to a geography level, e.g. SA2, LGA |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Free text over ids, names, topics, dimensions"
},
"frequency": {
"enum": [
"A",
"S",
"Q",
"M",
"W",
"D"
],
"type": "string",
"description": "A annual, S semi-annual, Q quarterly, M monthly, W weekly, D daily"
},
"geography": {
"type": "string",
"description": "Restrict to a geography level, e.g. SA2, LGA"
}
}
}