Skip to main content
Glama

Australian Bureau of Statistics (ABS)

by seansoreilly

ABS MCP 服务器

一个 MCP(模型上下文协议)服务器,提供对澳大利亚统计局 (ABS) 数据 API 的访问。该服务器允许 AI 助手通过 SDMX-ML API 查询和分析 ABS 统计数据。

特征

  • 通过 SDMX-ML API 动态发现所有可用的 ABS 数据集
  • 使用可选过滤器查询 ABS 数据集
  • 支持多种数据格式(JSON、CSV、XML)
  • 基于 MCP 协议构建,可与 AI 助手无缝集成
  • 缓存系统以提高性能
  • 全面的日志记录和错误处理

安装

npm install

发展

先决条件

  • Node.js 18 或更高版本
  • npm 8 或更高版本

建筑

npm run build

跑步

npm start

开发工具

  • npm run build :构建 TypeScript 代码
  • npm start :运行服务器
  • npm run inspector :运行 MCP 检查器进行测试

项目结构

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 configuration

实现细节

ABS API客户端

ABSApiClient类处理与 ABS 数据 API 的通信:

  • 使用 SDMX-ML 格式进行数据交换
  • 支持多种响应格式(JSON、CSV、XML)
  • 实施适当的错误处理和日志记录
  • 可配置的超时和重试

数据流服务

DataFlowService类管理 ABS 数据流:

  • 从 ABS API 动态获取可用数据集
  • 使用可配置的刷新间隔实现缓存
  • 提供查询特定数据集的方法
  • 处理数据转换和格式化

日志记录

使用 Winston 的综合日志系统:

  • 用于开发的调试级日志记录
  • 结构化 JSON 日志记录格式
  • 控制台和文件传输选项
  • 可配置的日志级别和格式

与 Claude Desktop 集成

  1. 如果 Claude Desktop 正在运行,请关闭它
  2. 启动 ABS MCP 服务器: npm start
  3. 启动 Claude Desktop
  4. ABS 工具应出现在“可用 MCP 工具”窗口中

API 文档

有关 ABS 数据 API 的更多信息:

贡献

  1. 分叉存储库
  2. 创建功能分支
  3. 进行更改
  4. 提交拉取请求

执照

MIT 许可证

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

提供对澳大利亚统计局 (ABS) 数据 API 的访问。该服务器允许 AI 助手查询和分析 ABS 统计数据。

  1. 特征
    1. 安装
      1. 发展
        1. 先决条件
        2. 建筑
        3. 跑步
        4. 开发工具
      2. 项目结构
        1. 实现细节
          1. ABS API客户端
          2. 数据流服务
          3. 日志记录
        2. 与 Claude Desktop 集成
          1. API 文档
            1. 贡献
              1. 执照

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A server for interacting with the Iaptic API, allowing AI models like Claude to query customer, purchase, and transaction data, as well as retrieve statistical insights.
                  Last updated -
                  16
                  4
                  TypeScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  An unofficial server that allows AI assistants to access Fathom Analytics data, enabling users to retrieve account information, site statistics, events, aggregated reports, and real-time visitor tracking.
                  Last updated -
                  5
                  13
                  1
                  TypeScript
                  MIT License
                • A
                  security
                  F
                  license
                  A
                  quality
                  Enables AI assistants to interact with the World Bank open data API, allowing for listing and analysis of indicators across available countries.
                  Last updated -
                  1
                  8
                  Python
                • A
                  security
                  A
                  license
                  A
                  quality
                  AI assistants to query and analyze Azure Data Explorer databases through standardized interfaces.
                  Last updated -
                  4
                  32
                  Python
                  MIT License
                  • Linux
                  • Apple

                View all related MCP servers

                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/seansoreilly/abs'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server