mcp-server-abs
MCP server for Australian Bureau of Statistics
Documentation
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
npm installDevelopment
Prerequisites
- Node.js 18 or higher
- npm 8 or higher
Building
npm run buildRunning
npm startDevelopment Tools
- `npm run build`: Build the TypeScript code
- `npm start`: Run the server
- `npm run inspector`: Run the MCP inspector for testing
Project Structure
src/
├── index.ts # Main server implementation
├── services/
│ └── abs/
│ ├── ABSApiClient.ts # ABS API communication
│ └── DataFlowService.ts # Data flow management and caching
├── types/
│ └── abs.ts # TypeScript type definitions
└── utils/
└── logger.ts # Logging configurationImplementation 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
1. Close Claude Desktop if it's running
2. Start the ABS MCP server: `npm start`
3. Start Claude Desktop
4. The ABS tools should appear in the "Available MCP Tools" window
API Documentation
For more information about the ABS Data API:
Contributing
1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Submit a pull request
License
MIT License
Frequently asked questions
What is mcp-server-abs?
mcp-server-abs is MCP server for Australian Bureau of Statistics
How do I install mcp-server-abs?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-abs open source?
Yes — it is hosted on GitHub at https://github.com/seansoreilly/abs and has 4 stars.
Related MCP tools
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
Official Notion MCP Server TypeScript-based implementation. Trusted by 3400+ developers. Trusted by 3400+ developers. Trusted by 3400+ developers.
Directory for Awesome MCP Servers TypeScript-based implementation. Trusted by 1900+ developers. Trusted by 1900+ developers.
🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes.
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker TypeScript-based implementation. Trusted by 1400+ developers.
MCP Server for kubernetes management commands TypeScript-based implementation. Trusted by 1100+ developers. Trusted by 1100+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP