# quantaroute-geocoder [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/mapdevsaikat/quantaroute-geocoder  
**GitHub Stars:** 0  
**npm Downloads (last month):** 491  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/quantaroute-geocoder

## Description
Geocode addresses, lookup administrative boundaries, and process DigiPin codes for India

## Tools
Capabilities this server exposes over MCP:

- **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** — Quota, coverage stats, health

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

```json
"mcpServers": {
  "quantaroute-geocoder": {
    "command": "npx",
    "args": ["-y","@quantaroute/mcp-server"],
    "env": {
      "QUANTAROUTE_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `QUANTAROUTE_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 quantaroute-geocoder does

quantaroute-geocoder exposes the QuantaRoute geocoding API for India through MCP. It handles address-to-location searches, DigiPin conversion, reverse lookups, administrative boundary information, and usage or service-health checks. Results can include coordinates, addresses, DigiPin values, pincodes, states, divisions, and localities, depending on the operation.

The server is useful when an agent needs to interpret Indian addresses or move between human-readable locations, latitude/longitude pairs, and DigiPin codes. It also supports bulk processing: address batches and location-lookup batches accept up to 100 items.

## How it works

The MCP process runs locally and calls QuantaRoute using an API key. MCP clients invoke named tools with structured inputs, while the server handles requests to the upstream geocoding API. A REST wrapper is also available at `https://mcp-gc.quantaroute.com/api`; its endpoints correspond to the MCP operations and accept the API key through the `x-api-key` header.

Forward geocoding accepts an address and returns a DigiPin with coordinates. Supplying latitude and longitude can bias local results and supports queries such as `hospital near me`. Autocomplete requires a query of at least three characters and accepts the same optional location point. Reverse operations translate a DigiPin into address and coordinate data, while coordinate and DigiPin location lookups return administrative details.

## Setup and configuration

Obtain an API key from QuantaRoute’s developer portal before starting the server. The local MCP configuration uses `npx` to run `@quantaroute/mcp-server` and passes the key through `QUANTAROUTE_API_KEY`:

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

Node.js 18 or newer and `npx` are required. Add the configuration to Claude Desktop or Cursor, then restart the client. For local development, install dependencies, build the package, and start it with `QUANTAROUTE_API_KEY` set in the environment.

## Tools and capabilities

- `geocode`: Convert an address to a DigiPin and coordinates, with optional coordinate biasing.
- `autocomplete`: Return suggestions for address queries containing at least three characters.
- `reverse_geocode`: Resolve a DigiPin to an address and coordinates.
- `coordinates_to_digipin`: Convert latitude and longitude into a DigiPin.
- `validate_digipin`: Check a DigiPin’s format and existence.
- `batch_geocode`: Geocode up to 100 addresses in one operation.
- `lookup_location_from_coordinates`: Get a pincode, state, division, and locality from coordinates.
- `lookup_location_from_digipin`: Return the same administrative fields from a DigiPin.
- `batch_location_lookup`: Process up to 100 locations, each represented by coordinates or a DigiPin.
- `get_usage`, `get_location_statistics`, and `get_health`: Inspect quota, coverage statistics, and service health.

## Limitations and notes

The server is focused on India through the QuantaRoute API. API requests require a valid key; the REST wrapper returns HTTP 401 when the key is missing. `find_nearby_boundaries` appears in the tool listing but is not implemented. For nearby category searches, use `geocode` or `autocomplete` with a latitude and longitude instead. The package is released under the MIT license.

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

