abs
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@abssearch for consumer price index datasets and show the structure of the top result"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server for Australian Bureau of Statistics data
A maintained, read-only Model Context Protocol server for the public Australian Bureau of Statistics (ABS) Data API.
It lets an MCP client discover ABS datasets, inspect SDMX dimension order and codelists, and run bounded statistical-data queries. No ABS API key is required.
This is an independent community project. It is not operated by or affiliated with the Australian Bureau of Statistics.
Why this server exists
The original community project seansoreilly/mcp-server-abs targets an ABS hostname and route retired in November 2024 and uses a pre-1.0 MCP SDK. This project is a clean-room replacement built against:
the current
https://data.api.abs.gov.au/rest/API;the stable v2 TypeScript MCP SDK;
the current SDMX structure and data response shapes.
No source code was copied from the older implementation.
Related MCP server: Statistics Canada MCP Server
Tools
Tool | Purpose |
| Search and page through ABS datasets without placing the full catalogue in context. |
| Return ordered data-key dimensions, separate time dimensions, attributes, and codelists. |
| Search and page through valid codes for a dimension. |
| Query observations as CSV, labelled CSV, or SDMX-JSON with time, size, and row bounds. |
All four tools declare readOnlyHint: true, destructiveHint: false, and openWorldHint: true.
Requirements
Node.js 22 or 24
An MCP client that supports local stdio servers
Connect from Codex
Install directly from GitHub:
codex mcp add abs -- npx -y github:RonanLION/mcp-server-absThen start a new Codex session and use /mcp to confirm that abs exposes four tools. The equivalent configuration is:
[mcp_servers.abs]
command = "npx"
args = ["-y", "github:RonanLION/mcp-server-abs"]
startup_timeout_sec = 30
tool_timeout_sec = 30Codex stores this in ~/.codex/config.toml. See the official Codex MCP documentation for other supported transports and settings.
Connect from another stdio MCP client
Use this command and argument list:
{
"mcpServers": {
"abs": {
"command": "npx",
"args": ["-y", "github:RonanLION/mcp-server-abs"]
}
}
}For a local checkout instead:
git clone https://github.com/RonanLION/mcp-server-abs.git
cd mcp-server-abs
npm ci
npm run buildConfigure the client to run node /absolute/path/to/mcp-server-abs/dist/index.js.
Recommended workflow
Call
search_dataflowswith a topic such asconsumer price.Call
get_dataflow_structurewith the chosen dataflow ID.Call
get_codelistfor each dimension whose valid codes you need.Build the case-sensitive SDMX key in the returned dimension order and call
query_data.
Example input for the small, stable ALC dataset:
{
"dataflow_id": "ALC",
"data_key": "1.2.1.4.A",
"start_period": "2008",
"end_period": "2008",
"format": "csv_with_labels"
}Dimension values are separated by dots, + selects multiple codes in one dimension, and a blank position is a wildcard. TIME_PERIOD is returned separately and is not part of the data key. The whole key all (or a key with every position blank) selects every series.
Safety and reliability defaults
Requests are restricted to the fixed HTTPS ABS API origin; redirects are rejected.
Only HTTP
GETis used. The server cannot modify ABS data.Requests time out before the ABS gateway's 30-second limit.
Upstream responses are capped below the ABS 10 MB gateway limit.
Query output is capped by rows and characters before entering model context.
A targeted query with no time bound defaults to
lastNObservations=1.An unbounded all-series query is refused unless it includes an explicit period/observation bound or
allow_large_query=true;updated_afteralone is not treated as a size bound.The known-broken ABS combination of
updated_afterwith plaincsvis rejected with guidance to usecsv_with_labelsorjson.Metadata is cached in memory for 15 minutes, up to 128 entries. Observation data is not cached.
Transient
429,502,503, and504responses receive one bounded retry.
The ABS Data API remains labelled Beta. ABS states that availability is not guaranteed, the service may change, and API data may lag the ABS website.
Configuration
Optional environment variables:
Variable | Default | Allowed range |
|
|
|
|
|
|
|
|
|
|
|
|
Invalid values are ignored with a message on stderr. The MCP protocol stream remains exclusively on stdout.
Development
npm ci
npm run check
npm run test:livenpm run check runs formatting, lint, type checking, unit/protocol tests, a production build, and a spawned stdio handshake. npm run test:live exercises dataflow discovery, schema and codelist parsing, and one small read-only data query against the live ABS API.
To inspect tools manually:
npx @modelcontextprotocol/inspector node dist/index.jsLicense
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityDmaintenanceProvides access to the Australian Bureau of Statistics (ABS) Data API. This server allows AI assistants to query and analyze ABS statistical data.19
- AlicenseAqualityCmaintenanceEnables MCP-compatible clients to access Canadian statistical data from Statistics Canada via WDS and SDMX APIs, including search, download, and analysis capabilities.255MIT
- AlicenseAqualityAmaintenanceMCP server for structured Australian macroeconomic and financial data from the Australian Bureau of Statistics (ABS), the Reserve Bank of Australia (RBA), and the Australian Prudential Regulation Authority (APRA).4142MIT
- FlicenseAqualityCmaintenanceMCP server for querying Huwise/Opendatasoft data portals. Enables dataset search, metadata retrieval, record filtering with ODSQL, and data export.52
Related MCP Connectors
Statistics Netherlands (CBS / StatLine) OData MCP.
Eurostat MCP — wraps Eurostat Statistical Data API (no auth required)
HealthData.gov MCP — wraps HealthData.gov CKAN API (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RonanLION/mcp-server-abs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server