Skip to main content
Glama

hithereiamaliff-mcp-datagovmy

Server Details

This MCP server provides seamless access to Malaysia's government open data, including datasets, w…

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
hithereiamaliff/mcp-datagovmy
GitHub Stars
2
Server Listing
Malaysia Open Data MCP

Available Tools

31 tools
datagovmy_filter_datasets_catalogueTry in Inspector

Filter datasets by various criteria such as frequency, geography, etc.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results to return (1-100)
offsetNoNumber of records to skip for pagination
frequencyNoFilter by data frequency (e.g., DAILY, MONTHLY, ANNUAL)
geographyNoFilter by geographic coverage
yearRangeNoFilter by year range [start, end]
dataSourceNoFilter by data source organization
demographyNoFilter by demographic coverage
datagovmy_find_dashboard_for_parquetTry in Inspector

Find the corresponding dashboard for a Parquet file

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesURL of the parquet file
datagovmy_find_nearest_transit_stopsTry in Inspector

Find the nearest transit stops to a given location. IMPORTANT: Use this tool directly for queries like "Where is the nearest bus stop to my location?" or "How do I get to the nearest Rapid Penang bus stop?"

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of stops to return (default: 5)
categoryNoCategory for Prasarana data (required only for prasarana provider)
latitudeYesLatitude of the user's location
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana", or common names like "rapid penang")
longitudeYesLongitude of the user's location
max_distanceNoMaximum distance in kilometers (default: 5)
datagovmy_get_dashboard_chartsTry in Inspector

Get chart configurations for a specific dashboard

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesName of the dashboard to retrieve charts for
datagovmy_get_dashboard_detailsTry in Inspector

Get comprehensive metadata for a dashboard by name

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesName of the dashboard to retrieve metadata for
datagovmy_get_dataset_detailsTry in Inspector

Get comprehensive metadata for a dataset by ID

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the dataset to retrieve metadata for
datagovmy_get_dataset_filtersTry in Inspector

Get available filter options for datasets

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

datagovmy_get_dosm_datasetTry in Inspector

Gets data from a specific DOSM dataset

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the dataset to retrieve (e.g., "cpi_core", "cpi_strata")
limitNoMaximum number of records to return
offsetNoNumber of records to skip
datagovmy_get_earthquake_warningsTry in Inspector

Gets earthquake warnings for Malaysia

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to look back (1-30)
magnitudeNoMinimum magnitude to include
datagovmy_get_flood_warningsTry in Inspector

Gets current flood warnings for Malaysia

ParametersJSON Schema
NameRequiredDescriptionDefault
stateNoState name to filter warnings (e.g., "Selangor", "Johor")
districtNoDistrict name to filter warnings
severityNoSeverity level to filter (e.g., "warning", "alert", "danger")
datagovmy_get_gtfs_realtime_vehicle_positionTry in Inspector

Gets GTFS realtime vehicle position data for a specific transport provider

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of records to return
offsetNoNumber of records to skip
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "rapidkl", "ktmb", "prasarana")
datagovmy_get_gtfs_staticTry in Inspector

Gets GTFS static data for a specific transport provider

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of records to return
offsetNoNumber of records to skip
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "rapidkl", "ktmb", "prasarana")
datagovmy_get_parquet_infoTry in Inspector

Get metadata and structure information about a Parquet file

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesURL of the Parquet file to analyze
datagovmy_get_transit_arrivalsTry in Inspector

Get real-time transit arrivals at a specific stop. IMPORTANT: Use this tool directly for queries like "When will the next bus arrive at my stop?" or "Show me arrival times for Rapid Penang buses at stop X".

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of arrivals to return (default: 10)
stop_idYesID of the stop to get arrivals for
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana", or common names like "rapid penang")
route_idNoOptional: filter arrivals by route
datagovmy_get_transit_routesTry in Inspector

Get transit routes from GTFS data. IMPORTANT: For transit route queries like "Show me bus routes for Rapid Penang", use this tool directly with the provider name.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana")
route_idNoSpecific route ID to filter by
datagovmy_get_transit_stopsTry in Inspector

Get transit stops from GTFS data. IMPORTANT: For transit stop queries like "Show me bus stops for Rapid Penang", use this tool directly with the provider name. The tool supports common names like "rapid penang", "rapid kuantan", "ktmb", or "mybas johor" which will be automatically mapped to the correct provider and category. No need to use list_transport_agencies first.

ParametersJSON Schema
NameRequiredDescriptionDefault
stop_idNoSpecific stop ID to retrieve (optional)
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana")
route_idNoFilter stops by route ID (optional)
datagovmy_get_transport_dataTry in Inspector

Gets GTFS data for a specific transport agency

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of records to return
offsetNoNumber of records to skip
dataset_idYesID of the GTFS dataset (e.g., "gtfs_rapidkl", "gtfs_prasarana")
datagovmy_get_weather_forecastTry in Inspector

Gets weather forecast for Malaysia

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to forecast (1-7)
locationYesLocation name (e.g., "Kuala Lumpur", "Penang")
datagovmy_get_weather_warningsTry in Inspector

Gets current weather warnings for Malaysia

ParametersJSON Schema
NameRequiredDescriptionDefault
typeNoType of warning (e.g., "rain", "flood", "all")
locationNoLocation name to filter warnings
datagovmy_helloTry in Inspector

A simple test tool to verify that the MCP server is working correctly

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

datagovmy_list_dashboardsTry in Inspector

Lists all available dashboards from the Malaysia Open Data platform

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results to return (1-100)
offsetNoNumber of records to skip for pagination
datagovmy_list_datasets_catalogueTry in Inspector

Lists all datasets from the comprehensive catalogue with rich metadata

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results to return (1-100)
offsetNoNumber of records to skip for pagination
datagovmy_list_dosm_datasetsTry in Inspector

Lists available datasets from the Department of Statistics Malaysia

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of datasets to return
offsetNoNumber of datasets to skip
dataset_idNoOptional specific dataset ID to list (e.g., "cpi_core", "cpi_strata")
datagovmy_list_transport_agenciesTry in Inspector

Lists available transport agencies with GTFS data

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of agencies to return
offsetNoNumber of agencies to skip
datagovmy_parse_gtfs_realtimeTry in Inspector

Parse GTFS Realtime data for a specific transport provider. IMPORTANT: For transit queries like "Show me bus locations from Rapid Penang", use this tool directly with the provider name. Common names like "rapid penang", "rapid kuantan", or "mybas johor" are automatically mapped to the correct provider-category pairs.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana")
force_refreshNoForce refresh the cache
datagovmy_parse_gtfs_staticTry in Inspector

Parse GTFS Static data for a specific transport provider. IMPORTANT: For transit queries like "Show me routes from Rapid Penang", use get_transit_routes directly with the provider name. This is a low-level tool - prefer using get_transit_routes or get_transit_stops for most user queries.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNoCategory for Prasarana data (required only for prasarana provider)
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana")
force_refreshNoForce refresh the cache
datagovmy_parse_parquet_fileTry in Inspector

Parse and display data from a Parquet file URL

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesURL of the Parquet file to parse
maxRowsNoMaximum number of rows to return (1-2000)
datagovmy_search_allTry in Inspector

⭐⭐⭐ PRIMARY SEARCH TOOL: Always use this first for any data or visualization queries. Searches across both datasets and dashboards with intelligent fallback. ⭐⭐⭐

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results to return (1-20)
queryYesSearch query to match against all content
prioritizeNoType of content to prioritize in results
datagovmy_search_dashboardsTry in Inspector

⚠️ CONSIDER USING search_all INSTEAD: This only searches dashboards. For comprehensive results across datasets and dashboards, use search_all tool. ⚠️

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results to return (1-100)
queryYesSearch query to match against dashboard metadata
datagovmy_search_datasets_catalogueTry in Inspector

⚠️ CONSIDER USING search_all INSTEAD: This only searches datasets. For comprehensive results across datasets and dashboards, use search_all tool. ⚠️

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results to return (1-100)
queryYesSearch query to match against dataset metadata
datagovmy_search_transit_stops_by_locationTry in Inspector

Search for transit stops near a named location. IMPORTANT: Use this tool for queries like "Show me bus stops near KLCC" or "What buses stop at KL Sentral?" This tool geocodes the location name to coordinates, then finds nearby stops. CRITICAL: For Rapid KL services, ALWAYS use specific terms in the provider parameter like "rapid kl bus", "rapid rail", "mrt feeder", "lrt", "mrt" instead of using "prasarana" with a separate category parameter. DO NOT use provider="prasarana" with category="rapid-rail-kl" as this causes 404 errors. Instead use provider="rapid rail" or provider="lrt" or provider="mrt" or provider="mrt feeder" or provider="rapid kl bus" without a category parameter.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of stops to return (default: 5)
countryNoCountry code to limit geocoding results (default: "my" for Malaysia)
categoryNoCategory for Prasarana data (required only for prasarana provider)
locationYesLocation name to search for (e.g., "KLCC", "KL Sentral", "Penang Airport")
providerYesProvider name (e.g., "mybas-johor", "ktmb", "prasarana", or common names like "rapid penang")
max_distanceNoMaximum distance in kilometers (default: 5)
arrivals_limitNoMaximum number of arrivals to include per stop (default: 3)
include_arrivalsNoWhether to include upcoming arrivals for each stop (default: true)

FAQ

How do I claim this server?

To claim this server, publish a /.well-known/glama.json file on your server's domain with the following structure:

{ "$schema": "https://glama.ai/mcp/schemas/connector.json", "maintainers": [ { "email": "your-email@example.com" } ] }

The email address must match the email associated with your Glama account. Once verified, the server will appear as claimed by you.

What are the benefits of claiming a server?
  • Control your server's listing on Glama, including description and metadata
  • Receive usage reports showing how your server is being used
  • Get monitoring and health status updates for your server
Try in Browser

Your Connectors

Sign in to create a connector for this server.