Skip to main content
Glama
quanta-route-geocoder

quanta-route-geocoder

by mapdevsaikat

@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.

Related MCP server: Amap MCP Server

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):

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

Tools

Tool

What it does

geocode

Address → DigiPin + coordinates. Optional latitude + longitude bias local results and enable “near me” queries (hospital near me).

autocomplete

Address suggestions (query ≥ 3 chars). Same optional point as lat/lng on REST.

reverse_geocode

DigiPin → address + coordinates

coordinates_to_digipin

Lat/lng → DigiPin

validate_digipin

Check DigiPin format / existence

batch_geocode

Up to 100 addresses

lookup_location_from_coordinates

Lat/lng → pincode, state, division, locality

lookup_location_from_digipin

DigiPin → the same

batch_location_lookup

Up to 100 locations (each coords or DigiPin)

get_usage / get_location_statistics / get_health

Quota, 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

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

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

Available Tools

13 tools
autocompleteA

Get autocomplete suggestions for addresses (minimum 3 characters).

Inputs: query (required), limit.

batch_geocodeA

Geocode multiple addresses in a single batch request (up to 100 addresses).

Inputs: addresses (required).

batch_location_lookupB

🚀 REVOLUTIONARY: Batch lookup for multiple locations. Each location can be specified by coordinates or DigiPin (up to 100 locations).

Inputs: locations (required).

coordinates_to_digipinA

Convert latitude and longitude coordinates to a DigiPin code.

Inputs: latitude (required), longitude (required).

find_nearby_boundariesA

Find nearby postal boundaries within a specified radius (NOT YET IMPLEMENTED - Coming Soon). The backend endpoint /v1/location/nearby needs to be implemented first.

Inputs: latitude (required), longitude (required), limit, radius_km.

geocodeC

Geocode an address to get DigiPin code and coordinates. Returns location information including latitude, longitude, and DigiPin.

Inputs: address (required), city, state, country, +1 more.

get_healthA

Check API health status and availability.

Inputs: no named parameters.

get_location_statisticsA

Get live statistics about the Location Lookup service (total boundaries, states, divisions, etc.).

Inputs: no named parameters.

get_usageA

Get API usage statistics and quota information.

Inputs: no named parameters.

lookup_location_from_coordinatesC

🚀 REVOLUTIONARY: Get administrative boundaries (pincode, state, division, locality) from coordinates. Provides precision that even government services don't offer.

Inputs: latitude (required), longitude (required).

lookup_location_from_digipinB

🚀 REVOLUTIONARY: Get administrative boundaries from a DigiPin code.

Inputs: digipin (required).

reverse_geocodeB

Reverse geocode a DigiPin code to get coordinates and address information.

Inputs: digipin (required).

validate_digipinC

Validate a DigiPin format and check if it corresponds to a real location.

Inputs: digipin (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools have distinct purposes: geocode handles addresses, reverse_geocode handles DigiPins, and lookup_location_* handles administrative boundaries. Some pairs share inputs (e.g., coordinates_to_digipin vs lookup_location_from_coordinates) and could be confused, but descriptions clarify the different outputs.

    Naming Consistency3/5

    The naming mixes verb-first patterns (geocode, validate_digipin, get_usage) with noun-first phrases (coordinates_to_digipin, batch_location_lookup) and varied verbs (get, lookup, find). While readable, the lack of a uniform convention makes the set feel inconsistent.

    Tool Count4/5

    13 tools is reasonable for a geocoding service covering geocoding, reverse geocoding, batch operations, autocomplete, validation, and administrative boundaries. The count is slightly inflated by the unimplemented find_nearby_boundaries tool and multiple meta endpoints, but overall well-scoped.

    Completeness4/5

    The core geocoding/reverse geocoding lifecycle is covered, including batch and autocomplete operations, plus administrative boundary lookups. Minor gaps include the missing nearby-boundaries functionality and no batch reverse geocoding from DigiPins to addresses, but these are workable or explicitly marked.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive geographic information services and route planning for AI agents via the Amap (Gaode Maps) API. It supports geocoding, multi-modal navigation, POI searches, and administrative region queries.
      3
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to become geospatially intelligent assistants with tools for location search, smart routing, round trip planning, reverse geocoding, isochrone analysis, route visualization, geofence management, and interactive map display.
      8
      12 npm
      8
      Apache 2.0