Quantaroute Geocoder README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Quantaroute Geocoder listing page.

@quantaroute/mcp-server

MCP server and REST wrapper for the QuantaRoute geocoding API (India). Geocode addresses, reverse-geocode DigiPin, and look up administrative boundaries.

First step: Get an API key at developers.quantaroute.com.

npm@quantaroute/mcp-server 1.2.0
MCP Registryio.github.mapdevsaikat/quantaroute-geocoder

MCP (Claude Desktop, Cursor)

Add to Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json), then restart. Requires Node.js 18+ and npx.

Local process (MCP stdio):

config.json
{
  "mcpServers": {
    "quantaroute": {
      "command": "npx",
      "args": ["-y", "@quantaroute/mcp-server"],
      "env": {
        "QUANTAROUTE_API_KEY": "your-api-key"
      }
    }
  }
}

Tools

ToolWhat it does
geocodeAddress → DigiPin + coordinates. Optional latitude + longitude bias local results and enable “near me” queries (hospital near me).
autocompleteAddress suggestions (query ≥ 3 chars). Same optional point as lat/lng on REST.
reverse_geocodeDigiPin → address + coordinates
coordinates_to_digipinLat/lng → DigiPin
validate_digipinCheck DigiPin format / existence
batch_geocodeUp to 100 addresses
lookup_location_from_coordinatesLat/lng → pincode, state, division, locality
lookup_location_from_digipinDigiPin → the same
batch_location_lookupUp to 100 locations (each coords or DigiPin)
get_usage / get_location_statistics / get_healthQuota, coverage stats, health

find_nearby_boundaries is listed but not implemented. Use geocode or autocomplete with a point for category nearby.

REST

Same host: https://mcp-gc.quantaroute.com/api. Header x-api-key, or QUANTAROUTE_API_KEY on the server. Paths match the tools (POST /api/geocode, GET /api/autocomplete?q=…&lat=&lng=, …). Missing key → 401. Full list: docs/API.md.

Develop

Terminal
npm install
npm run build
QUANTAROUTE_API_KEY=your-key npm start

Upstream API: api.quantaroute.com · Issues: GitHub · License: MIT