mcpField
M
mcp-mapmyindia

mcp-mapmyindia

Local
github.com/bhuvnshMaps & Travel0Updated 32w ago

About mcp-mapmyindia

mcp-mapmyindia exposes Mappls / MapMyIndia mapping APIs as tools for AI assistants working with India's geographic data. It supports place lookup, geocoding, routing, and travel distance and time calculations.

Key features

  1. 01Forward and reverse geocoding
  2. 02Place search and nearby discovery
  3. 03Directions with waypoints
  4. 04Distance and travel-time matrix
  5. 05Place details by eLoc

Use cases

  1. 01Find coordinates for an Indian address
  2. 02Discover nearby places by keyword
  3. 03Get directions between points
  4. 04Compare travel distance and time across routes

MCP support

Exposes Mappls / MapMyIndia geocoding, place search, directions, distance matrix, and place detail APIs as tools for MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"bhuvnsh-mcp-mapmyindia": {
"command": "npx",
"args": [
"-y",
"@bhuvnsh/mcp-mapmyindia"
],
"env": {
"MAPPLS_API_KEY": "<MAPPLS_API_KEY>",
"MAPPLS_CLIENT_ID": "<MAPPLS_CLIENT_ID>",
"MAPPLS_CLIENT_SECRET": "<MAPPLS_CLIENT_SECRET>"
}
}
}
}
Run commandnpx -y @bhuvnsh/mcp-mapmyindia
Environment variables to set
MAPPLS_API_KEYSecretMappls API key — get one free at https://apis.mappls.com
MAPPLS_CLIENT_IDMappls OAuth client ID (alternative to API key)
MAPPLS_CLIENT_SECRETSecretMappls OAuth client secret (used with CLIENT_ID)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@bhuvnsh/mcp-mapmyindia0.1.0

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-mapmyindia

MCP Server for Mappls / MapMyIndia APIs

CI npm version License: MIT

An MCP (Model Context Protocol) server that exposes Mappls / MapMyIndia APIs as tools for AI assistants like Claude. Enables geocoding, reverse geocoding, place search, nearby discovery, routing, and distance calculations — all focused on India's mapping data.


Tools

ToolDescription
geocodeConvert an address or place name to coordinates
reverse_geocodeConvert coordinates (lat/lng) to a human-readable address
places_searchAutocomplete and search for places by query string
nearbyDiscover nearby places by keyword around a reference location
directionsGet turn-by-turn directions between two points (supports waypoints)
distance_matrixCompute travel distance and time between multiple origins and destinations
place_detailFetch detailed information for a place using its eLoc (Mappls place ID)

Setup

Get API credentials

Register at https://apis.mappls.com to get either:

  • An API key (simpler, for personal/testing use)
  • OAuth client credentials (recommended for production)
Authentication

Set one of the following in your environment:

Option A — OAuth (Client Credentials): RECOMMENDED

export MAPPLS_CLIENT_ID=your_client_id
export MAPPLS_CLIENT_SECRET=your_client_secret

Option B — API Key:

export MAPPLS_API_KEY=your_api_key_here

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mapmyindia": {
      "command": "npx",
      "args": ["-y", "@bhuvsh/mcp-mapmyindia"],
      "env": {
        "MAPPLS_CLIENT_ID": "your_client_id",
        "MAPPLS_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

Or with API key:

{
  "mcpServers": {
    "mapmyindia": {
      "command": "npx",
      "args": ["-y", "@bhuvnsh/mcp-mapmyindia"],
      "env": {
        "MAPPLS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Development

# Clone and install
git clone https://github.com/bhuvnsh/mcp-mappls.git
cd mcp-mappls
npm install

# Build
npm run build

# Run tests
npm test

# Watch mode (dev)
npm run dev
Requirements
  • Node.js >= 18
  • A Mappls API key or OAuth client credentials

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change. Pull requests should include tests.


License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.