This server provides AI assistants access to Australian Bureau of Statistics (ABS) data via the MCP protocol.
- Dynamic dataset discovery: Automatically fetches all available ABS datasets
- Flexible querying: Query specific datasets with optional filters through dedicated endpoints
- Multi-format support: Returns data in JSON, CSV, or XML formats
- Performance optimization: Improves performance with built-in caching system
- Error handling: Implements comprehensive logging and error handling for reliable operations
- AI integration: Seamlessly integrates with AI assistants via the MCP protocol
Handles SDMX-ML formatted data from the ABS Data API and allows returning results in XML format
ABS MCP Server
An MCP (Model Context Protocol) server that provides access to the Australian Bureau of Statistics (ABS) Data API. This server allows AI assistants to query and analyze ABS statistical data through the SDMX-ML API.
Features
- Dynamic discovery of all available ABS datasets via SDMX-ML API
- Query ABS datasets with optional filters
- Support for multiple data formats (JSON, CSV, XML)
- Built on the MCP protocol for seamless integration with AI assistants
- Caching system for improved performance
- Comprehensive logging and error handling
Installation
Development
Prerequisites
- Node.js 18 or higher
- npm 8 or higher
Building
Running
Development Tools
npm run build
: Build the TypeScript codenpm start
: Run the servernpm run inspector
: Run the MCP inspector for testing
Project Structure
Implementation Details
ABS API Client
The ABSApiClient
class handles communication with the ABS Data API:
- Uses SDMX-ML format for data exchange
- Supports multiple response formats (JSON, CSV, XML)
- Implements proper error handling and logging
- Configurable timeouts and retries
Data Flow Service
The DataFlowService
class manages ABS data flows:
- Dynamically fetches available datasets from ABS API
- Implements caching with configurable refresh intervals
- Provides methods for querying specific datasets
- Handles data transformation and formatting
Logging
Comprehensive logging system using Winston:
- Debug-level logging for development
- Structured JSON logging format
- Console and file transport options
- Configurable log levels and formats
Integration with Claude Desktop
- Close Claude Desktop if it's running
- Start the ABS MCP server:
npm start
- Start Claude Desktop
- The ABS tools should appear in the "Available MCP Tools" window
API Documentation
For more information about the ABS Data API:
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
MIT License
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Provides access to the Australian Bureau of Statistics (ABS) Data API. This server allows AI assistants to query and analyze ABS statistical data.
Related MCP Servers
- AsecurityFlicenseAqualityConnects to the US Treasury's Fiscal Data API, enabling users to fetch specific treasury statements, access historical data, and generate formatted reports.Last updated -44612TypeScript
- AsecurityFlicenseAqualityEnables AI assistants to interact with the World Bank open data API, allowing for listing and analysis of indicators across available countries.Last updated -134Python
- AsecurityFlicenseAqualityQuery a variety of data from Brasil resources seamlessly. Access information on postal codes, area codes, banks, holidays, taxes, and more through a unified interface. Enhance your AI agents and applications with rich and updated data from BrasilAPI effortlessly.Last updated -64TypeScript
- AsecurityAlicenseAqualityA standalone Model Context Protocol server that enables AI models to access the Australian Pharmaceutical Benefits Scheme (PBS) API data, including medicine listings, pricing, and availability information.Last updated -11JavaScriptMIT License