# mappls-mcp [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/AmanMakesStuff/mappls-mcp  
**GitHub Stars:** 3  
**npm Downloads (last month):** 213  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mappls-mcp

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

## Tools
Capabilities this server exposes over MCP:

- **geocode** — Address or place name → lat/lng
- **reverse_geocode** — lat/lng → human-readable Indian address
- **autosuggest** — Autocomplete suggestions as user types
- **text_search** — Search by keyword or brand (e.g. "Starbucks Delhi")
- **nearby_search** — Find hospitals, ATMs, petrol pumps, restaurants near a point
- **place_details** — Full details for a place using its eLoc code
- **address_analytics** — Standardize a raw address into structured components
- **validate_pincode** — Validate a 6-digit pincode, get district + state
- **get_directions** — Turn-by-turn directions (driving/biking/walking)
- **get_directions_with_traffic** — Traffic-aware ETA using real-time conditions
- **distance_matrix** — Distances + durations between multiple points
- **distance_matrix_with_traffic** — Traffic-aware distance matrix
- **poi_along_route** — Find fuel stations, restaurants, ATMs along a route
- **snap_to_road** — Snap raw GPS coordinates to nearest road
- **elevation** — Altitude above sea level for any lat/lng point
- **aerial_distance** — Straight-line (crow-fly) distance between two points
- **still_map_image** — Generate a static map image URL for any location

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mappls-mcp": {
    "command": "npx",
    "args": ["-y","mappls-mcp"],
    "env": {
      "MAPPLS_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `MAPPLS_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mappls-mcp does

The mappls-mcp MCP server gives an MCP-compatible AI client access to Mappls, also known as MapMyIndia. Its tools cover location lookup, Indian address processing, place discovery, navigation, and several geographic utilities.

Search and geocoding tools can convert an address or place name into coordinates, turn coordinates into a readable Indian address, suggest locations while a user types, search by keyword or brand, and find nearby categories such as hospitals, ATMs, petrol pumps, and restaurants. Place details can be retrieved with a Mappls eLoc code. Address analytics structures a raw address, while pincode validation checks a six-digit pincode and returns its district and state.

Navigation tools support driving, biking, and walking directions. Traffic-aware directions and distance matrices provide estimates based on current traffic conditions. Other tools find points of interest along a route, match GPS coordinates to the nearest road, return elevation, calculate straight-line distance, or produce a URL for a static PNG map image.

## How it works

The server runs as a Node.js command and communicates with an MCP client using the configuration shown in the project documentation. Agent requests are translated into calls to Mappls services, and the resulting location, route, address, or utility data is returned as tool output.

Coordinates use decimal-degree latitude and longitude values. Routing inputs use `lat,lng` formatting; the server handles the required coordinate conversion internally. Nearby searches accept ordinary terms such as `hospital`, `atm`, or `restaurant`, which Mappls maps to category codes. The `poi_along_route` tool expects the encoded polyline found in the `geometry` field of a directions response. Static map requests return a URL rather than the image data itself.

## Setup and configuration

Create a Mappls account and project, select Cloud as the platform, and copy the Static Key from the project's Credentials tab. The documentation says to leave the IP field blank in the Whitelisting tab for unrestricted access. A free tier is available for development and small projects, with API limits determined by Mappls.

Install the package globally with `npm install -g mappls-mcp`, or run it without a global installation using `npx mappls-mcp`. A source checkout can also be installed and built with `npm install && npm run build`, then launched with Node against `build/index.js`.

Set the required credential before starting the process:

```bash
export MAPPLS_API_KEY=your_static_key_here
```

Configure the MCP client to launch `npx mappls-mcp` and pass `MAPPLS_API_KEY` in its environment. The repository provides configuration examples for Claude Desktop, Cursor, and Windsurf, as well as an alternative configuration for a locally built JavaScript entry point.

## Tools and capabilities

- Geocode and reverse-geocode Indian locations.
- Provide autocomplete, text search, nearby search, and eLoc-based place details.
- Standardize addresses and validate six-digit pincodes.
- Return directions, traffic-aware ETAs, and multi-point distance matrices.
- Find route-side POIs and snap GPS samples to roads.
- Calculate elevation and aerial distance.
- Generate static map image URLs.

## Limitations and notes

The server requires a valid Mappls Static Key and access to the Mappls API. Its documented location focus is India, so it is best suited to Indian addresses, places, routes, and pincodes. Traffic-aware outputs depend on the conditions available from Mappls at request time. Route-side POI lookup cannot operate from a plain origin and destination alone; it needs an encoded route polyline from a directions result. The static map tool returns a PNG map URL, not an embedded image.

_Full upstream README: https://allmcps.com/mcp/mappls-mcp/readme_

