Provides geocoding, place search, and route calculation using GrabMaps data through AWS Location Service. Only covers 8 Southeast Asian countries including Malaysia, Singapore, Thailand, Vietnam, Philippines, Indonesia, Myanmar, and Cambodia.

Integrates GrabMaps services through AWS Location Service to provide geocoding, place search, route calculation, and map visualization specifically for Southeast Asian markets including Malaysia, Singapore, Thailand, Myanmar, Cambodia, Vietnam, Philippines, and Indonesia.

2230 views1Local (stdio)

What it does

  • Search for places by name or address in Southeast Asia
  • Convert coordinates to place names (reverse geocoding)
  • Calculate routes between multiple points with waypoints
  • Get detailed information about specific places
  • Generate route matrices between multiple origins and destinations
  • Get real-time place suggestions as you type

Best for

Developers building location-aware apps for Southeast Asian marketsLogistics and delivery services operating in ASEAN countriesTravel and navigation applications focused on Southeast Asia
Southeast Asia specialist with local data accuracyBuilt-in analytics and monitoring dashboardRequires AWS Location Service setup

About GrabMaps

GrabMaps is a community-built MCP server published by hithereiamaliff that provides AI assistants with tools and capabilities via the Model Context Protocol. GrabMaps via AWS Location provides geocoding, place search, routing and map visualization for Malaysia, Singapore, Thail It is categorized under cloud infrastructure, developer tools.

How to install

You can install GrabMaps in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

GrabMaps is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

GrabMaps MCP Server

A Model Context Protocol (MCP) server for GrabMaps API integration, providing access to GrabMaps services through AWS Location Service.

Do note that this MCP server is NOT officially affiliated with Grab, GrabMaps, or AWS Location Service.

Important: GrabMaps only supports eight countries in Southeast Asia.

  • ๐Ÿ‡ฒ๐Ÿ‡พ Malaysia (MYS)
  • ๐Ÿ‡ธ๐Ÿ‡ฌ Singapore (SGP)
  • ๐Ÿ‡น๐Ÿ‡ญ Thailand (THA)
  • ๐Ÿ‡ฒ๐Ÿ‡ฒ Myanmar (MMR)
  • ๐Ÿ‡ฐ๐Ÿ‡ญ Cambodia (KHM)
  • ๐Ÿ‡ป๐Ÿ‡ณ Vietnam (VNM)
  • ๐Ÿ‡ต๐Ÿ‡ญ Philippines (PHL)
  • ๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesia (IDN)

Search requests outside these countries will not return accurate results.

Features

This MCP server provides access to GrabMaps functionality through two main categories:

Places Actions (Available via MCP)

  • SearchPlaceIndexForText: Forward geocoding to find places by name or address
  • SearchPlaceIndexForPosition: Reverse geocoding to find places by coordinates
  • SearchPlaceIndexForSuggestions: Get place suggestions as you type
  • GetPlace: Retrieve detailed information about a specific place

Routes Actions (Available via MCP)

  • CalculateRoute: Calculate routes between points with waypoints
  • CalculateRouteMatrix: Calculate a matrix of routes between multiple origins and destinations

Analytics & Monitoring

  • Firebase Analytics: Cloud-based analytics storage with Firebase Realtime Database
  • Local Backup: Automatic local file backup as fallback
  • Visual Dashboard: Real-time analytics dashboard with Chart.js
  • Request Tracking: Track requests by method, endpoint, client IP, and user agent
  • Tool Call Tracking: Monitor MCP tool usage and performance

Maps Functionality (Requires AWS Console)

Note: Map rendering functionality is not directly available through the MCP server. To view and use maps:

  1. Go to the AWS Location Service console
  2. Look for the Maps section and click the "Try it" button
  3. Ensure "Grab" is selected as the provider

To explore GrabMaps data coverage and see the maps in action without logging in to AWS, visit: https://grabmaps.grab.com/explore-data-coverage

Installation

From NPM

npm install mcp-grabmaps

From Source

git clone https://github.com/hithereiamaliff/mcp-grabmaps.git
cd mcp-grabmaps
npm install

Configuration

Create a .env file in the root directory with the following variables:

# GrabMaps API credentials
GRABMAPS_API_KEY=your_grabmaps_api_key_here

# AWS credentials for AWS Location Service
AWS_ACCESS_KEY_ID=your_aws_access_key_id_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key_here
AWS_REGION=ap-southeast-5  # Default region for Malaysia (ap-southeast-1 for Singapore)

# Place Index name (default for GrabMaps)
PLACE_INDEX_NAME=explore.place.Grab

# Map name (for rendering maps)
MAP_NAME=explore.map.Grab

# Route calculator name
ROUTE_CALCULATOR_NAME=explore.route-calculator.Grab

# Server port
PORT=3000

Usage

Method 1: Running Locally

# Development mode
npm run dev

# Production mode
npm run build
npm start

Method 2: Using with Smithery

# Run in development mode
npm run smithery:dev

# Build for production
npm run smithery:build

# Deploy to Smithery
npm run smithery:deploy

Testing in Smithery Playground

For the best experience testing Places and Routes APIs, we recommend using the Smithery playground:

  1. Start your MCP server locally: npm run dev
  2. Open the Smithery playground at: https://smithery.ai/playground
  3. Connect to your local MCP server: http://localhost:3000
  4. Test Places and Routes API calls using the provided examples in SMITHERY_TESTING.md

Method 3: Self-Hosted VPS Deployment

Deploy the MCP server on your own VPS with Docker and Nginx. This method supports per-user credentials via URL query parameters, allowing multiple users to connect with their own GrabMaps and AWS credentials.

VPS URL Format

https://mcp.techmavie.digital/grabmaps/mcp?grabMapsApiKey=YOUR_KEY&awsAccessKeyId=YOUR_AWS_KEY&awsSecretAccessKey=YOUR_AWS_SECRET

Query Parameters:

ParameterRequiredDescriptionExample
grabMapsApiKeyโœ… YesYour GrabMaps API keyyour-grabmaps-api-key
awsAccessKeyIdโœ… YesYour AWS Access Key IDAKIAIOSFODNN7EXAMPLE
awsSecretAccessKeyโœ… YesYour AWS Secret Access KeywJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
awsRegionโŒ NoAWS Region (default: ap-southeast-5)ap-southeast-1

Client Configuration

Claude Desktop:

{
  "mcpServers": {
    "grabmaps": {
      "transport": "streamable-http",
      "url": "https://mcp.techmavie.digital/grabmaps/mcp?grabMapsApiKey=YOUR_KEY&awsAccessKeyId=YOUR_AWS_KEY&awsSecretAccessKey=YOUR_AWS_SECRET"
    }
  }
}

Cursor/Windsurf: Same format in their MCP configuration files.

Live Demo

A public instance is available at:

https://mcp.techmavie.digital/grabmaps/mcp

Provide your credentials via query parameters as shown above.


VPS Deployment

Architecture

Client (Claude, Cursor, Windsurf, etc.)
    โ†“ HTTPS
https://mcp.techmavie.digital/grabmaps/mcp
    โ†“
Nginx (SSL termination + reverse proxy)
    โ†“ HTTP
Docker Container (port 8092 โ†’ 8080)
    โ†“
GrabMaps MCP Server (Streamable HTTP Transport)
    โ†“
GrabMaps API + AWS Location Service

Deployment Files

FileDescription
src/http-server.tsHTTP server with Streamable HTTP transport
DockerfileContainer configuration for VPS
docker-compose.ymlDocker orchestration (port 8092)
deploy/nginx-mcp.confNginx reverse proxy configuration
.github/workflows/deploy-vps.ymlAuto-deployment via GitHub Actions

Quick Deploy

# On your VPS
mkdir -p /opt/mcp-servers/grabmaps
cd /opt/mcp-servers/grabmaps
git clone https://github.com/hithereiamaliff/mcp-grabmaps.git .
docker compose up -d --build

# Configure Nginx (add location block from deploy/nginx-mcp.conf)
sudo nano /etc/nginx/sites-available/mcp.techmavie.digital
sudo nginx -t
sudo systemctl reload nginx

Endpoints

EndpointDescription
/Server info and usage instructions
/healthHealth check with Firebase status
/mcpMCP endpoint (requires credentials)
/analyticsAnalytics data (JSON)
/analytics/dashboardVisual analytics dashboard

Firebase Analytics

The VPS deployment includes Firebase Realtime Database integration for cloud-based analytics storage.

Features

  • Dual Storage: Firebase (primary) + local file backup (fallback)
  • Real-time Tracking: Requests, tool calls, client IPs, user agents
  • Visual Dashboard: Chart.js dashboard at /analytics/dashboard
  • Persistent: Analytics survive container restarts and redeployments
  • Auto-save: Saves every 60 seconds + on graceful shutdown

Analytics Data Tracked

  • Total requests and tool calls
  • Requests by method (GET, POST)
  • Requests by endpoint (/, /health, /mcp, /analytics)
  • Tool usage statistics
  • Client tracking (IP addresses, user agents)
  • Hourly request patterns
  • Recent tool call history

Firebase Setup

See FIREBASE_SETUP.md for complete setup instructions.

Quick setup:

# On VPS
cd /opt/mcp-servers/grabmaps
mkdir -p .credentials
nano .credentials/firebase-service-account.json  # Paste your Firebase service account JSON

# Copy to Docker volume
docker volume create grabmaps_firebase-credentials
docker run --rm \
  -v grabmaps_firebase-credentials:/credentials \
  -v $(pwd)/.credentials:/source:ro \
  alpine cp /source/firebase-service-account.json /credentials/

# Fix permissions
docker run --rm \
  -v grabmaps_firebase-credentials:/credentials \
  alpine chown -R 1001:1001 /credentials/

# Restart
docker compose down
docker compose up -d --build

Viewing Analytics

  • Dashboard: https://mcp.techmavie.digital/grabmaps/analytics/dashboard
  • JSON API: https://mcp.techmavie.digital/grabmaps/analytics
  • Firebase Console: https://console.firebase.google.com/ โ†’ Your Project โ†’ Realtime Database

Firebase Data Structure

mcp-analytics/
  โ””โ”€โ”€ mcp-grabmaps/
      โ”œโ”€โ”€ serverStartTime: "2026-01-06T..."
      โ”œโ”€โ”€ totalRequests: 123
      โ”œโ”€โ”€ totalToolCalls: 45
      โ”œโ”€โ”€ requestsByMethod: {...}
      โ”œโ”€โ”€ requestsByEndpoint: {...}
      โ”œโ”€โ”€ toolCalls: {...}
      โ”œโ”€โ”€ recentToolCalls: [...]
      โ”œโ”€โ”€ clientsByIp: {...}
      โ”œโ”€โ”€ clientsByUserAgent: {...}
      โ”œโ”€โ”€ hourlyRequests: {...}
      โ””โ”€โ”€ lastUpdated: 1704470400000

Important Notes for AI Models

Supported Countries

GrabMaps ONLY supports the following eight countries in Southeast Asia:

  • Malaysia (MYS)
  • Singapore (SGP)
  • Thailand (THA)
  • Myanmar (MMR)
  • Cambodia (KHM)
  • Vietnam (VNM)
  • Philippines (PHL)
  • Indonesia (IDN)

AI models should not attempt to use GrabMaps for locations outside these countries as results will be inaccurate or non-existent.

Country Code Requirements

When using the Places API functions, AI models MUST analyze the user's query to determine the appropriate country and include the three-letter ISO country code in all requests:

{
  "query": "City Square Mall",
  "country": "SGP"  // SGP for Singapore, MYS for Malaysia, THA for Thailand, etc.
}

Examples of country codes:

  • Singapore: SGP
  • Malaysia: MYS
  • Thailand: THA
  • Indonesia: IDN
  • Philippines: PHL
  • Vietnam: VNM

Including the country code is critical for returning accurate search results.

This approach allows you to test the Places and Routes functionality without needing to set up map visualization components.

Example API Calls

Forward Geocoding

const response = await fetch('http://localhost:3000/searchPlaceIndexForText', {
  method: 'POST'

---

*README truncated. [View full README on GitHub](https://github.com/hithereiamaliff/mcp-grabmaps).*

Alternatives

Related Skills

Browse all skills
kubernetes-architect

Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration. Masters EKS/AKS/GKE, service mesh (Istio/Linkerd), progressive delivery, multi-tenancy, and platform engineering. Handles security, observability, cost optimization, and developer experience. Use PROACTIVELY for K8s architecture, GitOps implementation, or cloud-native platform design.

2
mlops-engineer

Build comprehensive ML pipelines, experiment tracking, and model registries with MLflow, Kubeflow, and modern MLOps tools. Implements automated training, deployment, and monitoring across cloud platforms. Use PROACTIVELY for ML infrastructure, experiment management, or pipeline automation.

2
csharp-developer

Expert C# developer specializing in modern .NET development, ASP.NET Core, and cloud-native applications. Masters C# 12 features, Blazor, and cross-platform development with emphasis on performance and clean architecture.

38
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
performing-security-audits

This skill allows Claude to conduct comprehensive security audits of code, infrastructure, and configurations. It leverages various tools within the security-pro-pack plugin, including vulnerability scanning, compliance checking, cryptography review, and infrastructure security analysis. Use this skill when a user requests a "security audit," "vulnerability assessment," "compliance review," or any task involving identifying and mitigating security risks. It helps to ensure code and systems adhere to security best practices and compliance standards.

10
bats

Bash Automated Testing System (BATS) for TDD-style testing of shell scripts. Use when: (1) Writing unit or integration tests for Bash scripts, (2) Testing CLI tools or shell functions, (3) Setting up test infrastructure with setup/teardown hooks, (4) Mocking external commands (curl, git, docker), (5) Generating JUnit reports for CI/CD, (6) Debugging test failures or flaky tests, (7) Implementing test-driven development for shell scripts.

8