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 toolsdatagovmy_filter_datasets_catalogueTry in Inspector
Filter datasets by various criteria such as frequency, geography, etc.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-100) | |
| offset | No | Number of records to skip for pagination | |
| frequency | No | Filter by data frequency (e.g., DAILY, MONTHLY, ANNUAL) | |
| geography | No | Filter by geographic coverage | |
| yearRange | No | Filter by year range [start, end] | |
| dataSource | No | Filter by data source organization | |
| demography | No | Filter by demographic coverage |
datagovmy_find_dashboard_for_parquetTry in Inspector
Find the corresponding dashboard for a Parquet file
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL 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?"
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of stops to return (default: 5) | |
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| latitude | Yes | Latitude of the user's location | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana", or common names like "rapid penang") | |
| longitude | Yes | Longitude of the user's location | |
| max_distance | No | Maximum distance in kilometers (default: 5) |
datagovmy_get_dashboard_chartsTry in Inspector
Get chart configurations for a specific dashboard
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the dashboard to retrieve charts for |
datagovmy_get_dashboard_detailsTry in Inspector
Get comprehensive metadata for a dashboard by name
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the dashboard to retrieve metadata for |
datagovmy_get_dataset_detailsTry in Inspector
Get comprehensive metadata for a dataset by ID
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the dataset to retrieve metadata for |
datagovmy_get_dataset_filtersTry in Inspector
Get available filter options for datasets
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
datagovmy_get_dosm_datasetTry in Inspector
Gets data from a specific DOSM dataset
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the dataset to retrieve (e.g., "cpi_core", "cpi_strata") | |
| limit | No | Maximum number of records to return | |
| offset | No | Number of records to skip |
datagovmy_get_earthquake_warningsTry in Inspector
Gets earthquake warnings for Malaysia
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to look back (1-30) | |
| magnitude | No | Minimum magnitude to include |
datagovmy_get_flood_warningsTry in Inspector
Gets current flood warnings for Malaysia
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | State name to filter warnings (e.g., "Selangor", "Johor") | |
| district | No | District name to filter warnings | |
| severity | No | Severity 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
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return | |
| offset | No | Number of records to skip | |
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "rapidkl", "ktmb", "prasarana") |
datagovmy_get_gtfs_staticTry in Inspector
Gets GTFS static data for a specific transport provider
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return | |
| offset | No | Number of records to skip | |
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "rapidkl", "ktmb", "prasarana") |
datagovmy_get_parquet_infoTry in Inspector
Get metadata and structure information about a Parquet file
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL 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".
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of arrivals to return (default: 10) | |
| stop_id | Yes | ID of the stop to get arrivals for | |
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana", or common names like "rapid penang") | |
| route_id | No | Optional: 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.
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana") | |
| route_id | No | Specific 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.
| Name | Required | Description | Default |
|---|---|---|---|
| stop_id | No | Specific stop ID to retrieve (optional) | |
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana") | |
| route_id | No | Filter stops by route ID (optional) |
datagovmy_get_transport_dataTry in Inspector
Gets GTFS data for a specific transport agency
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return | |
| offset | No | Number of records to skip | |
| dataset_id | Yes | ID of the GTFS dataset (e.g., "gtfs_rapidkl", "gtfs_prasarana") |
datagovmy_get_weather_forecastTry in Inspector
Gets weather forecast for Malaysia
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to forecast (1-7) | |
| location | Yes | Location name (e.g., "Kuala Lumpur", "Penang") |
datagovmy_get_weather_warningsTry in Inspector
Gets current weather warnings for Malaysia
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type of warning (e.g., "rain", "flood", "all") | |
| location | No | Location name to filter warnings |
datagovmy_helloTry in Inspector
A simple test tool to verify that the MCP server is working correctly
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
datagovmy_list_dashboardsTry in Inspector
Lists all available dashboards from the Malaysia Open Data platform
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-100) | |
| offset | No | Number of records to skip for pagination |
datagovmy_list_datasets_catalogueTry in Inspector
Lists all datasets from the comprehensive catalogue with rich metadata
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-100) | |
| offset | No | Number of records to skip for pagination |
datagovmy_list_dosm_datasetsTry in Inspector
Lists available datasets from the Department of Statistics Malaysia
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of datasets to return | |
| offset | No | Number of datasets to skip | |
| dataset_id | No | Optional specific dataset ID to list (e.g., "cpi_core", "cpi_strata") |
datagovmy_list_transport_agenciesTry in Inspector
Lists available transport agencies with GTFS data
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of agencies to return | |
| offset | No | Number 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.
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana") | |
| force_refresh | No | Force 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.
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana") | |
| force_refresh | No | Force refresh the cache |
datagovmy_parse_parquet_fileTry in Inspector
Parse and display data from a Parquet file URL
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the Parquet file to parse | |
| maxRows | No | Maximum 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. ⭐⭐⭐
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-20) | |
| query | Yes | Search query to match against all content | |
| prioritize | No | Type 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. ⚠️
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-100) | |
| query | Yes | Search 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. ⚠️
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (1-100) | |
| query | Yes | Search 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.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of stops to return (default: 5) | |
| country | No | Country code to limit geocoding results (default: "my" for Malaysia) | |
| category | No | Category for Prasarana data (required only for prasarana provider) | |
| location | Yes | Location name to search for (e.g., "KLCC", "KL Sentral", "Penang Airport") | |
| provider | Yes | Provider name (e.g., "mybas-johor", "ktmb", "prasarana", or common names like "rapid penang") | |
| max_distance | No | Maximum distance in kilometers (default: 5) | |
| arrivals_limit | No | Maximum number of arrivals to include per stop (default: 3) | |
| include_arrivals | No | Whether 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:
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
Your Connectors
Sign in to create a connector for this server.