Myopendata

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 3, 2026

马来西亚开放数据:数据集、仪表板、DOSM、天气、洪水与公共交通,无需密钥。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Malaysia open data: datasets, dashboards, DOSM, weather, floods and transit, keyless.

已验证STDIO仅桌面位置与生活数据与分析

概览

Myopendata 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Myopendata,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

myopendata

myopendata reads Malaysia's open data: a unified search across the dataset catalogue and dashboards, dataset and dashboard details, Department of Statistics Malaysia (DOSM) datasets, weather forecasts and warnings, flood warnings, and GTFS transit routes and stops. One binary serves a command-line interface and a stdio MCP server.

This is a clean-room rebuild covering a labelled core subset of the documented tools (16 of 32); parquet, raw GTFS parsing, arrivals and location-search tools are not included. It is not an official Government of Malaysia server.

No API key is needed. The service is keyless, so myopendata works with nothing configured. The API base URL can be overridden with MYOPENDATA_API_URL; when it is not set, calls go to https://api.data.gov.my.

Install

bash
npx @reneturcios/myopendata list-datasets

Or run the container image:

bash
docker run -i ghcr.io/cloudcorprecords/myopendata

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

bash
myopendata search-all "e-payment statistics" --limit 10myopendata list-datasets --limit 5myopendata search-datasets populationmyopendata dataset population_malaysiamyopendata list-dashboardsmyopendata search-dashboards healthmyopendata dashboard kawasankumyopendata list-dosmmyopendata dosm populationmyopendata weather-forecast --location "Kuala Lumpur"myopendata weather-warningsmyopendata flood-warningsmyopendata transport-agenciesmyopendata transit-routes prasarana --category rapid-rail-klmyopendata transit-stops ktmbmyopendata hello Ada
myopendata --version

Commands print the upstream JSON payload; hello prints a greeting string. Exit codes: 0 on success, 1 when a call fails (including an upstream API error), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

bash
npx -y @reneturcios/myopendata mcp

MCP client configuration:

json
{  "mcpServers": {    "myopendata": {      "command": "npx",      "args": ["-y", "@reneturcios/myopendata", "mcp"]    }  }}

To point the server at a different compatible host, add MYOPENDATA_API_URL to the client's env for this server.

Tools

ToolInputWhat it returns
search_allquery (required), limit (optional)Unified search results across datasets and dashboards.
list_datasets_cataloguelimit (optional)Datasets in the data catalogue.
search_datasets_cataloguequery (required), limit (optional)Catalogue datasets matching the query.
get_dataset_detailsid (required)Details for one dataset.
list_dashboardslimit (optional)Available dashboards.
search_dashboardsquery (required), limit (optional)Dashboards matching the query.
get_dashboard_detailsname (required)Details for one dashboard.
list_dosm_datasetslimit (optional)DOSM datasets.
get_dosm_datasetid (required)One DOSM dataset.
get_weather_forecastlocation (optional)The weather forecast payload.
get_weather_warnings(none)Current weather warnings.
get_flood_warnings(none)Current flood warnings.
list_transport_agencies(none)Transport agencies with GTFS data.
get_transit_routesprovider (required), category (optional)Transit routes for a GTFS provider.
get_transit_stopsprovider (required), category (optional)Transit stops for a GTFS provider.
helloname (optional)A greeting string. Health-check style tool for connectivity testing.

Known GTFS providers in the upstream documentation include mybas-johor, ktmb, and prasarana; common names are a feature of the original server and are not normalised by this rebuild — pass the provider id directly.

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

来源:README.md,提交 d65c873

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Nov 3, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分