Price Per TokenPrice Per Token
Malaysia Open Data MCP Server

Malaysia Open Data MCP Server

by hithereiamaliff

GitHub 2 296 uses Remote
0

About

Malaysia Open Data MCP Server provides access to Malaysia's government open data repositories, enabling retrieval of public datasets, statistical information, weather forecasts, and transportation data from agencies including the Department of Statistics Malaysia (DOSM) and Data Catalogue Malaysia. Key features: - Unified search across government datasets with intelligent query handling, term normalization, and synonym expansion for flexible discovery - Parquet file parsing support with BROTLI compression, intelligent date handling, and retrieval of up to 500 rows per query - Multi-provider geocoding optimized for Malaysian addresses via GrabMaps, Google Maps, and Nominatim with automatic fallback between services - Access to real-time weather forecasts and warnings, public transport GTFS data, interactive visualization dashboards, and rich dataset metadata - Hybrid architecture combining pre-generated static indexes for fast search operations with dynamic API calls for detailed information retrieval

README

Malaysia Open Data MCP

MCP Endpoint: https://mcp.techmavie.digital/datagovmy/mcp

Analytics Dashboard: https://mcp.techmavie.digital/datagovmy/analytics/dashboard

MCP (Model Context Protocol) server for Malaysia's Open Data APIs, providing easy access to government datasets and collections.

Do note that this is NOT an official MCP server by the Government of Malaysia or anyone from Malaysia's Open Data/Jabatan Digital Negara/Ministry of Digital team.

Features

  • Enhanced Unified Search with flexible tokenization and synonym expansion
  • - Intelligent query handling with term normalization - Support for plurals and common prefixes (e.g., "e" in "epayment") - Smart prioritization for different data types
  • Parquet File Support using pure JavaScript
  • - Parse Parquet files directly in the browser or Node.js - Support for BROTLI compression - Intelligent date field handling for empty date objects - Increased row limits (up to 500 rows) for comprehensive data retrieval - Fallback to metadata estimation when parsing fails - Automatic dashboard URL mapping for visualization
  • Hybrid Data Access Architecture
  • - Pre-generated static indexes for efficient searching - Dynamic API calls for detailed metadata
  • Multi-Provider Geocoding
  • - Support for Google Maps, GrabMaps, and Nominatim (OpenStreetMap) - Intelligent service selection based on location and available API keys - GrabMaps optimization for locations in Malaysia - Automatic fallback between providers
  • Comprehensive Data Sources
  • - Malaysia's Data Catalogue with rich metadata - Interactive Dashboards for data visualization - Department of Statistics Malaysia (DOSM) data - Weather forecast and warnings - Public transport and GTFS data
  • Multi-Provider Malaysian Geocoding
  • - Optimized for Malaysian addresses and locations - Three-tier geocoding system: GrabMaps, Google Maps, and Nominatim - Prioritizes local knowledge with GrabMaps for better Malaysian coverage - Automatic fallback to Nominatim when no API keys are provided

    Architecture

    This MCP server implements a hybrid approach for efficient data access:

  • Pre-generated Static Indexes for listing and searching datasets and dashboards
  • Dynamic API Calls only when specific dataset or dashboard details are requested
  • This approach provides several benefits:

  • Faster search and listing operations
  • Reduced API calls to external services
  • Consistent data access patterns
  • Up-to-date detailed information when needed
  • Documentation

  • TOOLS.md - Detailed information about available tools and best practices
  • PROMPT.md - AI integration guidelines and usage patterns
  • AI Integration

    When integrating this MCP server with AI models:

    1. Use the unified search tool first - Always start with search_all for any data queries 2. Follow the correct URL patterns - Use https://data.gov.my/... and https://open.dosm.gov.my/... 3. Leverage Parquet file tools - Use parse_parquet_file to access data directly or get_parquet_info for metadata 4. Use the hybrid approach - Static indexes for listing/searching, API calls for details 5. Consider dashboard visualization - For complex data, use the dashboard links provided by find_dashboard_for_parquet 6. Leverage the multi-provider Malaysian geocoding - For Malaysian location queries, the system automatically selects the best provider (GrabMaps, Google Maps, or Nominatim) with fallback to Nominatim when no API keys are configured

    Refer to PROMPT.md for comprehensive AI integration guidelines.

    Installation

    npm install
    

    Quick Start (Hosted Server)

    The easiest way to use this MCP server is via the hosted endpoint. No installation required!

    Server URL:

    https://mcp.techmavie.digital/datagovmy/mcp
    

    #### Using Your Own API Keys

    You can provide your own API keys via URL query parameters:

    https://mcp.techmavie.digital/datagovmy/mcp?googleMapsApiKey=YOUR_KEY
    

    Or via headers:

  • X-Google-Maps-Api-Key: YOUR_KEY
  • X-GrabMaps-Api-Key: YOUR_KEY
  • X-AWS-Access-Key-Id: YOUR_KEY
  • X-AWS-Secret-Access-Key: YOUR_KEY
  • X-AWS-Region: ap-southeast-5
  • Supported Query Parameters:

    | Parameter | Description | |-----------|-------------| | googleMapsApiKey | Google Maps API key for geocoding | | grabMapsApiKey | GrabMaps API key for Southeast Asia geocoding | | awsAccessKeyId | AWS Access Key ID for AWS Location Service | | awsSecretAccessKey | AWS Secret Access Key | | awsRegion | AWS Region (default: ap-southeast-5) |

    > ⚠️ Important: GrabMaps Requirements > > To use GrabMaps geocoding, you need ALL FOUR parameters: > - grabMapsApiKey > - awsAccessKeyId > - awsSecretAccessKey > - awsRegion > > GrabMaps uses AWS Location Service under the hood, so AWS credentials are re

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81