publicdata.au is an MCP server published by au.publicdata, hosted at publicdata.au. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 12 tools, including search_datasets, get_dataset, list_fields, list_partitions, query_rows.
Search, filter, count and sum Australian government open data, with every version kept.
Nothing else in the archive shares these values.
Find the slug of a served dataset. Start here for any question about Australian government data, since the other tools read only the datasets this finds. Every word in query must match the title, summary, publisher, keywords or a field name. A word matches its plural and other endings but never as a prefix, so bus does not find business. Up to 50 matches come back in one answer, with no paging. If nothing matches, try fewer or broader words, then search_catalogue. Each call costs one of the 60 queries each address may make in 10 seconds.
| Parameter | Type | Description |
|---|---|---|
| query * | string | Words from a title, publisher or field name |
{
"name": "search_datasets",
"title": "Search datasets",
"description": "Find the slug of a served dataset. Start here for any question about Australian government data, since the other tools read only the datasets this finds.\nEvery word in query must match the title, summary, publisher, keywords or a field name. A word matches its plural and other endings but never as a prefix, so bus does not find business.\nUp to 50 matches come back in one answer, with no paging. If nothing matches, try fewer or broader words, then search_catalogue.\nEach call costs one of the 60 queries each address may make in 10 seconds.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Words from a title, publisher or field name"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"slug",
"title"
],
"properties": {
"page": {
"type": [
"string",
"null"
],
"description": "The dataset page on publicdata.au"
},
"slug": {
"type": "string",
"description": "The id every other tool takes"
},
"title": {
"type": "string"
},
"latest": {
"type": [
"string",
"null"
],
"description": "URL of the newest version's whole file"
},
"licence": {
"type": [
"string",
"null"
],
"description": "Licence id, such as CC-BY-4.0"
},
"publisher": {
"type": [
"string",
"null"
]
}
}
},
"description": "Matches, best first when the search index is loaded"
}
}
},
"annotations": {
"title": "Search datasets",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Read a served dataset's data package and full version history: licence, attribution, whole-table files and the version dates diff_versions and the version parameter take. It carries no rows. To answer from the rows use query_rows or count_rows, and for field names use list_fields. slug is lowercase letters, digits and hyphens, the part after /d/ in a dataset page URL, such as au-road-deaths. The whole history comes back in one answer, with no paging. It needs no key or sign-in, and costs nothing against the rate limit. A slug that is not served returns a 404 error.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Dataset slug from search_datasets |
{
"name": "get_dataset",
"title": "Read a dataset",
"description": "Read a served dataset's data package and full version history: licence, attribution, whole-table files and the version dates diff_versions and the version parameter take. It carries no rows. To answer from the rows use query_rows or count_rows, and for field names use list_fields.\nslug is lowercase letters, digits and hyphens, the part after /d/ in a dataset page URL, such as au-road-deaths.\nThe whole history comes back in one answer, with no paging. It needs no key or sign-in, and costs nothing against the rate limit. A slug that is not served returns a 404 error.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Dataset slug from search_datasets"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"datapackage",
"versions"
],
"properties": {
"versions": {
"description": "Every version with its date, the date its data is as at, row count, source hash and fetch time"
},
"datapackage": {
"type": "object",
"description": "The Frictionless data package: description, licence, attribution string, source, and resources with the URL, format and size of the whole file in each format"
}
}
},
"annotations": {
"title": "Read a dataset",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List a served dataset's fields, with their types, descriptions, ranges and values, before querying it. Call it before query_rows or count_rows unless you already know the exact names and values, because where matches values exactly and an unknown field is an error. It also names the key fields diff_versions compares on and the partition fields list_partitions accepts. slug is lowercase letters, digits and hyphens, the part after /d/ in a dataset page URL, such as au-road-deaths. The answer describes the newest version, in one page. The call costs nothing against the rate limit. A slug that is not served or not loaded for queries returns an error.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Dataset slug from search_datasets |
{
"name": "list_fields",
"title": "List a dataset's fields",
"description": "List a served dataset's fields, with their types, descriptions, ranges and values, before querying it. Call it before query_rows or count_rows unless you already know the exact names and values, because where matches values exactly and an unknown field is an error. It also names the key fields diff_versions compares on and the partition fields list_partitions accepts.\nslug is lowercase letters, digits and hyphens, the part after /d/ in a dataset page URL, such as au-road-deaths.\nThe answer describes the newest version, in one page. The call costs nothing against the rate limit. A slug that is not served or not loaded for queries returns an error.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Dataset slug from search_datasets"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"slug",
"version",
"fields",
"key",
"partition_by"
],
"properties": {
"key": {
"type": "array",
"items": {
"type": "string"
},
"description": "Fields that identify a row, compared on by diff_versions. Empty when none is declared"
},
"rows": {
"type": "integer",
"description": "Rows in that version"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"type"
],
"properties": {
"max": {},
"min": {},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"values": {
"type": "array"
},
"description": {
"type": "string"
}
}
},
"description": "Each field's name, type and publisher's description, with min and max for numbers and dates and values when it holds few"
},
"licence": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string",
"description": "The version the fields describe"
},
"publisher": {
"type": [
"string",
"null"
]
},
"attribution": {
"type": [
"string",
"null"
],
"description": "The publisher's attribution string, to show with any answer"
},
"partition_by": {
"type": "array",
"items": {
"type": "string"
},
"description": "Fields list_partitions accepts"
}
}
},
"annotations": {
"title": "List a dataset's fields",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the download files that split a served dataset's newest version by one field, such as one file per year. Use it to hand someone a slice of the data as a file. It gives file links and no rows, so to answer a question use query_rows or count_rows instead, and for the whole table as one file use get_dataset. field must be one of the partition_by fields that list_fields names, and any other field returns a 404 error. Every value comes back in one answer, with no paging. The call costs nothing against the rate limit.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Dataset slug from search_datasets |
| field * | string | A partition field named in the data package, for example crash_year or loc_local_government_area |
{
"name": "list_partitions",
"title": "List partition files",
"description": "List the download files that split a served dataset's newest version by one field, such as one file per year. Use it to hand someone a slice of the data as a file. It gives file links and no rows, so to answer a question use query_rows or count_rows instead, and for the whole table as one file use get_dataset. field must be one of the partition_by fields that list_fields names, and any other field returns a 404 error. Every value comes back in one answer, with no paging. The call costs nothing against the rate limit.",
"inputSchema": {
"type": "object",
"required": [
"slug",
"field"
],
"properties": {
"slug": {
"type": "string",
"description": "Dataset slug from search_datasets"
},
"field": {
"type": "string",
"description": "A partition field named in the data package, for example crash_year or loc_local_government_area"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"field",
"version_base",
"partitions"
],
"properties": {
"field": {
"type": "string"
},
"partitions": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"rows",
"url"
],
"properties": {
"url": {
"type": "string"
},
"rows": {
"type": "integer"
},
"value": {}
}
},
"description": "One entry per value: the value, its row count and the URL of a JSON file with every row holding it"
},
"version_base": {
"type": "string",
"description": "The version these files belong to"
}
}
},
"annotations": {
"title": "List partition files",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read individual rows of a served dataset, filtered across the whole table. For totals and breakdowns use count_rows, and for files use get_dataset or list_partitions. Field names and values for where, select and order come from list_fields. Filters hold at most 90 values per call, and a list value cannot contain a comma. version can be any date in the version history from get_dataset. A version too large for one file is stored as period parts and answered from them, in period order. A filter on the period field reads only the parts it can match, and parts names the periods read. One page holds up to limit rows, and offset steps through the rest until next_offset is null. An unknown field or version returns an error naming it. Each call costs two of the 60 queries each address may make in 10 seconds.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Dataset slug from search_datasets |
| limit | integer | Rows to return, 1 to 500. 50 when absent. |
| order | string | field.asc or field.desc, comma-separated. When absent, rows come in the order of the file they are read from. For the newest versions that is the version's own data.parquet, which keeps the publisher's order unless the dataset sorted it. Any other version is read from the Parquet file the answer nam… |
| where | object | Filters by field name, applied to the whole table. A value may be a scalar for an exact, case-sensitive match, a list of scalars to match any of them, null to match blank or suppressed cells, {"min": n, "max": n} for an inclusive range, or {"like": "*text*"} for a pattern where * is the wildcard and… |
| offset | integer | Rows to skip. next_offset in each answer gives the next page. |
| select | array | Fields to return. Every field when absent. |
| version | string | A version date, YYYY-MM-DD, from get_dataset. The newest version when absent. |
{
"name": "query_rows",
"title": "Query rows",
"description": "Read individual rows of a served dataset, filtered across the whole table. For totals and breakdowns use count_rows, and for files use get_dataset or list_partitions.\nField names and values for where, select and order come from list_fields.\nFilters hold at most 90 values per call, and a list value cannot contain a comma.\nversion can be any date in the version history from get_dataset.\nA version too large for one file is stored as period parts and answered from them, in period order. A filter on the period field reads only the parts it can match, and parts names the periods read.\nOne page holds up to limit rows, and offset steps through the rest until next_offset is null. An unknown field or version returns an error naming it.\nEach call costs two of the 60 queries each address may make in 10 seconds.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Dataset slug from search_datasets"
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 500,
"minimum": 1,
"description": "Rows to return, 1 to 500. 50 when absent."
},
"order": {
"type": "string",
"description": "field.asc or field.desc, comma-separated. When absent, rows come in the order of the file they are read from. For the newest versions that is the version's own data.parquet, which keeps the publisher's order unless the dataset sorted it. Any other version is read from the Parquet file the answer names in file, and when that file is sorted the answer names its sort in order, which ties follow too."
},
"where": {
"type": "object",
"description": "Filters by field name, applied to the whole table. A value may be a scalar for an exact, case-sensitive match, a list of scalars to match any of them, null to match blank or suppressed cells, {\"min\": n, \"max\": n} for an inclusive range, or {\"like\": \"*text*\"} for a pattern where * is the wildcard and case is ignored in ASCII letters. A blank cell never matches a scalar, a list or a range.",
"additionalProperties": true
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Rows to skip. next_offset in each answer gives the next page."
},
"select": {
"type": "array",
"items": {
"type": "string"
},
"description": "Fields to return. Every field when absent."
},
"version": {
"type": "string",
"description": "A version date, YYYY-MM-DD, from get_dataset. The newest version when absent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"version",
"rows",
"matched",
"next_offset",
"query"
],
"properties": {
"file": {
"type": "string",
"description": "The Parquet file the answer was read from, or that its rollup was counted from, when it came from either"
},
"rows": {
"type": "array",
"items": {
"type": "object"
},
"description": "The rows, with the fields in select or every field"
},
"order": {
"type": "array",
"items": {
"type": "string"
},
"description": "The columns the file read is sorted by, which rows without an order and ties follow, when it came from a sorted file"
},
"parts": {
"type": "array",
"items": {
"type": "string"
},
"description": "The periods whose parts the answer was read from, when the version is stored as period parts. The manifest gives each part's file"
},
"query": {
"type": "string",
"description": "The query API URL for the same query, on the version's own path"
},
"matched": {
"type": "integer",
"description": "Rows in the whole table that match where"
},
"version": {
"type": [
"string",
"null"
],
"description": "The version answered"
},
"manifest": {
"type": "string",
"description": "The version's manifest, with its licence, source, hash and fetch time"
},
"attribution": {
"type": [
"string",
"null"
],
"description": "The publisher's attribution string, to show with any answer"
},
"next_offset": {
"type": [
"integer",
"null"
],
"description": "offset for the next page, or null on the last"
}
}
},
"annotations": {
"title": "Query rows",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Count, sum, average, minimum or maximum rows of a served dataset across the whole table, grouped by up to three fields. For the rows themselves use query_rows. Field names and values for group_by and where come from list_fields. sum and avg need a numeric or true-or-false field. min and max take any field. version can be any date in the version history from get_dataset. A version too large for one file is stored as period parts and answered from them. A filter on the period field reads only the parts it can match, and parts names the periods read. Groups come back largest first, and truncated means raise limit or narrow where. An unknown field or version returns an error naming it. Each call costs two of the 60 queries each address may make in 10 seconds.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Dataset slug from search_datasets |
| limit | integer | Groups to return, 1 to 1000. 100 when absent. |
| where | object | Filters by field name, applied to the whole table. A value may be a scalar for an exact, case-sensitive match, a list of scalars to match any of them, null to match blank or suppressed cells, {"min": n, "max": n} for an inclusive range, or {"like": "*text*"} for a pattern where * is the wildcard and… |
| metric | string | count, or sum, avg, min or max of a field written as sum.field_name. count when absent. |
| version | string | A version date, YYYY-MM-DD, from get_dataset. The newest version when absent. |
| group_by | array | Fields to group by, for example ["crash_severity"]. One total when absent. |
{
"name": "count_rows",
"title": "Count and sum rows",
"description": "Count, sum, average, minimum or maximum rows of a served dataset across the whole table, grouped by up to three fields. For the rows themselves use query_rows.\nField names and values for group_by and where come from list_fields.\nsum and avg need a numeric or true-or-false field. min and max take any field.\nversion can be any date in the version history from get_dataset.\nA version too large for one file is stored as period parts and answered from them. A filter on the period field reads only the parts it can match, and parts names the periods read.\nGroups come back largest first, and truncated means raise limit or narrow where. An unknown field or version returns an error naming it.\nEach call costs two of the 60 queries each address may make in 10 seconds.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Dataset slug from search_datasets"
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Groups to return, 1 to 1000. 100 when absent."
},
"where": {
"type": "object",
"description": "Filters by field name, applied to the whole table. A value may be a scalar for an exact, case-sensitive match, a list of scalars to match any of them, null to match blank or suppressed cells, {\"min\": n, \"max\": n} for an inclusive range, or {\"like\": \"*text*\"} for a pattern where * is the wildcard and case is ignored in ASCII letters. A blank cell never matches a scalar, a list or a range.",
"additionalProperties": true
},
"metric": {
"type": "string",
"default": "count",
"description": "count, or sum, avg, min or max of a field written as sum.field_name. count when absent."
},
"version": {
"type": "string",
"description": "A version date, YYYY-MM-DD, from get_dataset. The newest version when absent."
},
"group_by": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 3,
"description": "Fields to group by, for example [\"crash_severity\"]. One total when absent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"version",
"group_by",
"metric",
"groups",
"truncated",
"matched",
"query"
],
"properties": {
"file": {
"type": "string",
"description": "The Parquet file the answer was read from, or that its rollup was counted from, when it came from either"
},
"parts": {
"type": "array",
"items": {
"type": "string"
},
"description": "The periods whose parts the answer was read from, when the version is stored as period parts. The manifest gives each part's file"
},
"query": {
"type": "string",
"description": "The query API URL for the same query, on the version's own path"
},
"groups": {
"type": "array",
"items": {
"type": "object"
},
"description": "One object per group, holding the group_by fields and the metric value, largest first"
},
"metric": {
"type": "string"
},
"matched": {
"type": "integer",
"description": "Rows in the whole table that match where"
},
"version": {
"type": [
"string",
"null"
],
"description": "The version answered"
},
"group_by": {
"type": "array",
"items": {
"type": "string"
}
},
"manifest": {
"type": "string",
"description": "The version's manifest, with its licence, source, hash and fetch time"
},
"truncated": {
"type": "boolean",
"description": "True when more groups exist than limit"
},
"attribution": {
"type": [
"string",
"null"
],
"description": "The publisher's attribution string, to show with any answer"
}
}
},
"annotations": {
"title": "Count and sum rows",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Compare two consecutive versions of a served dataset row by row on its key fields, to see what a publisher changed between releases. from and to must be adjacent dates in the version history from get_dataset, older first. Any other pair returns a 404 error, so step through a longer span one pair at a time. A dataset with no key, which list_fields shows as an empty key, gets row counts only, and a dataset with one version has nothing to compare. One answer holds the counts of rows added, removed, changed and unchanged, the keys of the rows added, removed and changed, and up to ten changed rows with their old and new values. The call costs nothing against the rate limit.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Newer version date, YYYY-MM-DD |
| from * | string | Older version date, YYYY-MM-DD |
| slug * | string | Dataset slug from search_datasets |
{
"name": "diff_versions",
"title": "Compare versions",
"description": "Compare two consecutive versions of a served dataset row by row on its key fields, to see what a publisher changed between releases. from and to must be adjacent dates in the version history from get_dataset, older first. Any other pair returns a 404 error, so step through a longer span one pair at a time. A dataset with no key, which list_fields shows as an empty key, gets row counts only, and a dataset with one version has nothing to compare. One answer holds the counts of rows added, removed, changed and unchanged, the keys of the rows added, removed and changed, and up to ten changed rows with their old and new values. The call costs nothing against the rate limit.",
"inputSchema": {
"type": "object",
"required": [
"slug",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "Newer version date, YYYY-MM-DD"
},
"from": {
"type": "string",
"description": "Older version date, YYYY-MM-DD"
},
"slug": {
"type": "string",
"description": "Dataset slug from search_datasets"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"dataset",
"from",
"to",
"rows_from",
"rows_to",
"key",
"schema"
],
"properties": {
"to": {
"type": "string",
"description": "Newer version date"
},
"key": {
"type": "array",
"items": {
"type": "string"
},
"description": "Key fields compared on. Empty when none is declared"
},
"from": {
"type": "string",
"description": "Older version date"
},
"note": {
"type": "string",
"description": "Present when no key is declared and only row counts are compared"
},
"added": {
"type": "integer"
},
"schema": {
"type": "object",
"description": "Fields added, removed and retyped between the versions"
},
"changed": {
"type": "integer"
},
"dataset": {
"type": "string"
},
"removed": {
"type": "integer"
},
"rows_to": {
"type": "integer"
},
"examples": {
"type": "array",
"description": "Up to ten changed rows, each with its key and the fields that changed from and to"
},
"rows_from": {
"type": "integer"
},
"truncated": {
"type": "boolean",
"description": "True when a key list stops at its cap"
},
"unchanged": {
"type": "integer"
},
"added_keys": {
"type": "array"
},
"repeated_to": {
"type": "integer",
"description": "Rows of the newer version that repeat an earlier row in every field, left out of the other counts"
},
"changed_keys": {
"type": "array"
},
"removed_keys": {
"type": "array"
},
"repeated_from": {
"type": "integer",
"description": "Rows of the older version that repeat an earlier row in every field, left out of the other counts. Present only when either version repeats a row"
}
}
},
"annotations": {
"title": "Compare versions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Search every dataset listed on Australia's government portals, including the many publicdata.au does not serve yet. Its records describe data held elsewhere, which cannot be queried here. Use it when search_datasets finds nothing, to find where a dataset is published, or to pick one for upvote_dataset. query matches every word against the title, summary and publisher, as search_datasets does. A page holds 20 records, those that can take a vote first. Pass next_offset as offset for the next page, up to 5000. Each call costs three of the 60 queries each address may make in 10 seconds.
| Parameter | Type | Description |
|---|---|---|
| query * | string | Words from a title, description or publisher |
| offset | integer | Rows to skip. next_offset in each answer gives the next page. |
| jurisdiction | string | One government. All when absent. |
| votable_only | boolean | Leave out records that cannot take a vote |
{
"name": "search_catalogue",
"title": "Search government portals",
"description": "Search every dataset listed on Australia's government portals, including the many publicdata.au does not serve yet. Its records describe data held elsewhere, which cannot be queried here.\nUse it when search_datasets finds nothing, to find where a dataset is published, or to pick one for upvote_dataset.\nquery matches every word against the title, summary and publisher, as search_datasets does.\nA page holds 20 records, those that can take a vote first. Pass next_offset as offset for the next page, up to 5000.\nEach call costs three of the 60 queries each address may make in 10 seconds.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Words from a title, description or publisher"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 5000,
"minimum": 0,
"description": "Rows to skip. next_offset in each answer gives the next page."
},
"jurisdiction": {
"enum": [
"cth",
"nsw",
"vic",
"qld",
"wa",
"sa",
"tas",
"act",
"nt"
],
"type": "string",
"description": "One government. All when absent."
},
"votable_only": {
"type": "boolean",
"default": false,
"description": "Leave out records that cannot take a vote"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"catalogue_read",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"state",
"vote"
],
"properties": {
"id": {
"type": "string"
},
"jur": {
"type": "string"
},
"url": {
"type": "string",
"description": "The record on the publisher's portal"
},
"page": {
"type": "string"
},
"vote": {
"type": "string",
"description": "The key upvote_dataset takes"
},
"state": {
"enum": [
"votable",
"chosen",
"served",
"closed"
],
"type": "string",
"description": "votable or chosen takes a vote, served is already readable, closed cannot be built"
},
"title": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
],
"description": "Why a closed record cannot be built"
},
"formats": {
"type": "string"
},
"licence": {
"type": "string"
},
"summary": {
"type": "string"
},
"modified": {
"type": "string"
},
"publisher": {
"type": "string"
},
"publisher_page": {
"type": "string"
}
}
}
},
"total": {
"type": "integer",
"description": "Records that match"
},
"records": {
"type": "integer"
},
"next_offset": {
"type": [
"integer",
"null"
],
"description": "offset for the next page, or null on the last"
},
"catalogue_read": {
"type": "string",
"description": "Date the portal lists were read"
}
}
},
"annotations": {
"title": "Search government portals",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the datasets people have asked publicdata.au to build, most votes first. Use it to see what is wanted or under way, or to check that a vote counted. To add a vote use upvote_dataset. To read a dataset that is already served use search_datasets. Votes on catalogue records that no entry has claimed yet come back apart, under the vote key search_catalogue uses. The whole backlog comes back in one answer, with no paging, and the call costs nothing against the rate limit.
No parameters.
{
"name": "list_backlog",
"title": "List the build backlog",
"description": "List the datasets people have asked publicdata.au to build, most votes first. Use it to see what is wanted or under way, or to check that a vote counted.\nTo add a vote use upvote_dataset. To read a dataset that is already served use search_datasets.\nVotes on catalogue records that no entry has claimed yet come back apart, under the vote key search_catalogue uses.\nThe whole backlog comes back in one answer, with no paging, and the call costs nothing against the rate limit.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"entries",
"catalogue_votes"
],
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"slug",
"title",
"status",
"votes"
],
"properties": {
"slug": {
"type": "string",
"description": "The key upvote_dataset takes"
},
"title": {
"type": "string"
},
"votes": {
"type": "integer"
},
"source": {
"type": [
"string",
"null"
],
"description": "The publisher's own page for the data"
},
"status": {
"enum": [
"backlog",
"assessing",
"building",
"blocked"
],
"type": "string",
"description": "backlog and assessing wait for votes, building is under way, blocked cannot be built yet"
},
"summary": {
"type": [
"string",
"null"
]
},
"publisher": {
"type": [
"string",
"null"
]
},
"blocked_reason": {
"type": [
"string",
"null"
],
"description": "Why a blocked entry cannot be built yet"
}
}
},
"description": "Register entries that are not live yet, most votes first"
},
"catalogue_votes": {
"type": "array",
"items": {
"type": "object",
"required": [
"vote",
"votes"
],
"properties": {
"vote": {
"type": "string",
"description": "The record's vote key, which search_catalogue finds"
},
"votes": {
"type": "integer"
}
}
},
"description": "Votes on catalogue records no register entry has claimed yet, most first"
}
}
},
"annotations": {
"title": "List the build backlog",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Add one anonymous vote for a government dataset that publicdata.au does not serve yet, so it is built sooner. To read a served dataset use search_datasets, and to see the votes so far use list_backlog. slug is a vote key from search_catalogue, such as act-3u5a-ve4j, or a list_backlog slug. A dataset that is served, being built or closed returns an error saying it is not open for votes. No identity is recorded, so a vote cannot be withdrawn, and a second vote from the same caller on the same day adds nothing. The answer gives the dataset's vote total after this call. The call costs nothing against the rate limit.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | The vote key of a search_catalogue row, or a slug from /backlog.json |
{
"name": "upvote_dataset",
"title": "Vote for a dataset",
"description": "Add one anonymous vote for a government dataset that publicdata.au does not serve yet, so it is built sooner. To read a served dataset use search_datasets, and to see the votes so far use list_backlog.\nslug is a vote key from search_catalogue, such as act-3u5a-ve4j, or a list_backlog slug.\nA dataset that is served, being built or closed returns an error saying it is not open for votes.\nNo identity is recorded, so a vote cannot be withdrawn, and a second vote from the same caller on the same day adds nothing. The answer gives the dataset's vote total after this call. The call costs nothing against the rate limit.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "The vote key of a search_catalogue row, or a slug from /backlog.json"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"slug",
"votes"
],
"properties": {
"slug": {
"type": "string"
},
"votes": {
"type": "integer",
"description": "The dataset's vote total after this call"
}
}
},
"annotations": {
"title": "Vote for a dataset",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Find served datasets by keyword and return each one's id, title and citation URL, in the shape ChatGPT deep research and company knowledge call search with. It runs the same search as search_datasets, so every word in query must match. Pass an id to fetch to read the dataset's licence, attribution and newest version. The same id is the slug that list_fields, query_rows and count_rows take. Up to 50 matches come back in one answer, with no paging. Each call costs one of the 60 queries each address may make in 10 seconds.
| Parameter | Type | Description |
|---|---|---|
| query * | string | Words from a title, publisher or field name |
{
"name": "search",
"title": "Find datasets to fetch",
"description": "Find served datasets by keyword and return each one's id, title and citation URL, in the shape ChatGPT deep research and company knowledge call search with.\nIt runs the same search as search_datasets, so every word in query must match. Pass an id to fetch to read the dataset's licence, attribution and newest version. The same id is the slug that list_fields, query_rows and count_rows take.\nUp to 50 matches come back in one answer, with no paging.\nEach call costs one of the 60 queries each address may make in 10 seconds.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Words from a title, publisher or field name"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"url"
],
"properties": {
"id": {
"type": "string",
"description": "The dataset's slug, which fetch takes as id"
},
"url": {
"type": "string",
"description": "The dataset page on publicdata.au, to cite"
},
"title": {
"type": "string"
}
}
},
"description": "Matches, best first when the search index is loaded"
}
}
},
"annotations": {
"title": "Find datasets to fetch",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one served dataset's record as text to quote and cite: its summary, publisher, licence, attribution string, newest version and the URL of that version. It is the fetch that ChatGPT deep research and company knowledge call, with an id from search. It carries no rows. To answer from the data use query_rows or count_rows, and for every version and file use get_dataset. One answer holds the text, with the same facts under metadata. An id that is not served returns an error. The call costs nothing against the rate limit.
| Parameter | Type | Description |
|---|---|---|
| id * | string | A dataset id from search, which is its slug. A publicdata.au dataset or version URL is read as its slug. |
{
"name": "fetch",
"title": "Fetch a dataset record",
"description": "Read one served dataset's record as text to quote and cite: its summary, publisher, licence, attribution string, newest version and the URL of that version. It is the fetch that ChatGPT deep research and company knowledge call, with an id from search.\nIt carries no rows. To answer from the data use query_rows or count_rows, and for every version and file use get_dataset.\nOne answer holds the text, with the same facts under metadata. An id that is not served returns an error. The call costs nothing against the rate limit.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "A dataset id from search, which is its slug. A publicdata.au dataset or version URL is read as its slug."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"id",
"title",
"text",
"url",
"metadata"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string",
"description": "The newest version's page, to cite"
},
"text": {
"type": "string",
"description": "The record, with the attribution string and the statement that the publisher has not endorsed publicdata.au"
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"description": "Publisher, licence, attribution, version, source URL, fetch time and source hash"
}
}
},
"annotations": {
"title": "Fetch a dataset record",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Australian government open data, republished at URLs that never change. Find a dataset with search_datasets, read its fields with list_fields, then answer from the whole table with query_rows or count_rows. A dataset that is not served yet can be found with search_catalogue and voted for with upvote_dataset. Every answer names the version it came from and the publisher's attribution string. When you show the data to a person, use the attribution string, say it came from publicdata.au and link to the version the answer came from, https://publicdata.au/d/<slug>/v/<version>/. Use of this server is under https://publicdata.au/terms/.
Names, descriptions and schemas were written by the server and are shown as data.