io.github.AmanMakesStuff/mappls-mcp

Registre officiel Cartes, voyage et météo

MCP server for Mappls (MapMyIndia) — India-first maps API for AI agents

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package mappls-mcp
Claude Code
claude mcp add mappls-mcp -e 'MAPPLS_API_KEY=<your mappls_api_key>' -- npx -y mappls-mcp@2.0.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mappls-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "mappls-mcp@2.0.0"
            ],
            "env": {
                "MAPPLS_API_KEY": "<your mappls_api_key>"
            }
        }
    }
}

Variables d'environnement

  • MAPPLS_API_KEY obligatoire secret Your Mappls static API key — get it at https://maps.mappls.com/api

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. mappls-mcp
  2. Tools (18)
  3. Getting Started
  4. Integration
  5. Example Prompts
  6. Notes
  7. License

mappls-mcp

An MCP (Model Context Protocol) server for Mappls — India's own maps platform (MapMyIndia). Gives AI agents accurate geocoding, routing, nearby search, and more for Indian addresses and locations.

Built because Google Maps MCP exists, but nothing existed for India-first location data.

Tools (18)

Search & Geocoding
ToolDescription
geocodeAddress or place name → lat/lng
reverse_geocodelat/lng → human-readable Indian address
autosuggestAutocomplete suggestions as user types
text_searchSearch by keyword or brand (e.g. "Starbucks Delhi")
nearby_searchFind hospitals, ATMs, petrol pumps, restaurants near a point
place_detailsFull details for a place using its eLoc code
address_analyticsStandardize a raw address into structured components
validate_pincodeValidate a 6-digit pincode, get district + state
Routing & Navigation
ToolDescription
get_directionsTurn-by-turn directions (driving/biking/walking)
get_directions_with_trafficTraffic-aware ETA using real-time conditions
distance_matrixDistances + durations between multiple points
distance_matrix_with_trafficTraffic-aware distance matrix
poi_along_routeFind fuel stations, restaurants, ATMs along a route
snap_to_roadSnap raw GPS coordinates to nearest road
Utilities
ToolDescription
elevationAltitude above sea level for any lat/lng point
aerial_distanceStraight-line (crow-fly) distance between two points
still_map_imageGenerate a static map image URL for any location

Getting Started

1. Get a Mappls API key (free)
  1. Sign up at about.mappls.com/api — free account, no credit card
  2. After login, click Create New Project → choose Cloud as the platform
  3. Open the project → go to the Credentials tab → copy the Static Key
  4. Go to the Whitelisting tab → leave the IP field blank for unrestricted access

The free tier includes generous API limits suitable for development and small projects.

2. Install
npm install -g mappls-mcp

Or run directly without installing:

npx mappls-mcp

Or clone and build locally:

git clone https://github.com/AmanMakesStuff/mappls-mcp
cd mappls-mcp
npm install && npm run build
3. Configure

Set your API key as an environment variable:

export MAPPLS_API_KEY=your_static_key_here

Integration

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "mappls": {
      "command": "npx",
      "args": ["mappls-mcp"],
      "env": {
        "MAPPLS_API_KEY": "your_static_key_here"
      }
    }
  }
}
Cursor / Windsurf

Add to your MCP settings:

{
  "mappls": {
    "command": "npx",
    "args": ["mappls-mcp"],
    "env": {
      "MAPPLS_API_KEY": "your_static_key_here"
    }
  }
}
Local build (alternative)

If you cloned the repo:

{
  "mcpServers": {
    "mappls": {
      "command": "node",
      "args": ["/absolute/path/to/mappls-mcp/build/index.js"],
      "env": {
        "MAPPLS_API_KEY": "your_static_key_here"
      }
    }
  }
}

Example Prompts

Once connected, ask your AI agent:

  • "Find the nearest hospital to Connaught Place, New Delhi"
  • "What's the address at 28.6139, 77.2090?"
  • "Get driving directions from Bandra to Andheri"
  • "Is pincode 400001 valid? What area is it?"
  • "How far is Delhi from Mumbai in a straight line?"
  • "What is the elevation of Shimla?"
  • "Find ATMs along the route from India Gate to Qutub Minar"
  • "Standardize this address: 237 Okhla Industrial Phase 3 ND 110020"
  • "Search for Domino's near Koramangala Bangalore"

Notes

  • All tools accept lat/lng in decimal degrees (e.g. 28.6139, 77.2090)
  • Routing tools use lat,lng format for input (the server handles coordinate conversion internally)
  • nearby_search uses plain keywords like "hospital", "atm", "restaurant" — Mappls maps these to category codes automatically
  • poi_along_route requires the encoded polyline from the geometry field of a get_directions response
  • still_map_image returns a URL — the image is a PNG map tile

License

MIT — built by AmanMakesStuff

Questions fréquentes

Qu'est-ce que io.github.AmanMakesStuff/mappls-mcp ?

MCP server for Mappls (MapMyIndia) — India-first maps API for AI agents

Comment installer io.github.AmanMakesStuff/mappls-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add mappls-mcp -e 'MAPPLS_API_KEY=<your mappls_api_key>' -- npx -y mappls-mcp@2.0.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.AmanMakesStuff/mappls-mcp ?

Oui. Il attend MAPPLS_API_KEY, à renseigner dans sa configuration.

io.github.AmanMakesStuff/mappls-mcp est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.AmanMakesStuff/mappls-mcp ?

Il est publié par AmanMakesStuff. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.