MCP server for Mappls (MapMyIndia) — India-first maps API for AI agents
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.
| Tool | Description |
|---|---|
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 |
| Tool | Description |
|---|---|
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 |
| Tool | Description |
|---|---|
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 |
The free tier includes generous API limits suitable for development and small projects.
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
Set your API key as an environment variable:
export MAPPLS_API_KEY=your_static_key_here
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"
}
}
}
}
Add to your MCP settings:
{
"mappls": {
"command": "npx",
"args": ["mappls-mcp"],
"env": {
"MAPPLS_API_KEY": "your_static_key_here"
}
}
}
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"
}
}
}
}
Once connected, ask your AI agent:
28.6139, 77.2090)nearby_search uses plain keywords like "hospital", "atm", "restaurant" — Mappls maps these to category codes automaticallypoi_along_route requires the encoded polyline from the geometry field of a get_directions responsestill_map_image returns a URL — the image is a PNG map tileMIT — built by AmanMakesStuff
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y mappls-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-amanmakesstuff-mappls-mcp": {
"command": "npx",
"args": [
"-y",
"mappls-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemappls-mcpnpmio.github.AmanMakesStuff/mappls-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.