Geocode addresses, lookup administrative boundaries, and process DigiPin codes for India
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server that provides AI assistants (Claude Desktop, Cursor, and more) with powerful geocoding, location lookup, and DigiPin processing capabilities using the QuantaRoute Geocoding API.
Package: @quantaroute/mcp-server (MCP Server for AI Agents)
SDK: quantaroute-geocoding (Node.js/TypeScript SDK)
β Fully compatible with Claude Desktop and Cursor
This MCP server is compatible with Claude Desktop and Cursor. Follow the instructions below for your platform.
Locate the Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonEdit the configuration file and add:
Add to your MCP configuration file (~/.cursor/mcp.json):
Restart Cursor after making changes.
QUANTAROUTE_API_KEY (required): Your QuantaRoute API key
demo_free_key_123 (for testing)geocodeGeocode an address to get DigiPin code and coordinates.
Parameters:
address (required): The address to geocodecity (optional): City namestate (optional): State namepincode (optional): Postal codecountry (optional): Country name (defaults to India)Example:
reverse_geocodeReverse geocode a DigiPin code to get coordinates and address.
Parameters:
digipin (required): DigiPin code (format: XXX-XXX-XXXX)coordinates_to_digipinConvert latitude and longitude to DigiPin code.
Parameters:
latitude (required): Latitude (-90 to 90)longitude (required): Longitude (-180 to 180)lookup_location_from_coordinatesπ REVOLUTIONARY: Get administrative boundaries from coordinates.
Returns: pincode, state, division, locality, district, population density, and more.
Parameters:
latitude (required): Latitude coordinatelongitude (required): Longitude coordinatelookup_location_from_digipinGet administrative boundaries from a DigiPin code.
Parameters:
digipin (required): DigiPin codebatch_location_lookupBatch lookup for multiple locations (up to 100).
Parameters:
locations (required): Array of location objects
latitude + longitude OR digipinbatch_geocodeGeocode multiple addresses in a single request (up to 100).
Parameters:
addresses (required): Array of address objectsautocompleteGet address autocomplete suggestions.
Parameters:
query (required): Search query (minimum 3 characters)limit (optional): Max suggestions (default: 5, max: 10)find_nearby_boundaries [COMING SOON...]Find nearby postal boundaries within a radius.
Parameters:
latitude (required): Center latitudelongitude (required): Center longituderadius_km (optional): Search radius in km (default: 5.0, max: 100)limit (optional): Max results (default: 10, max: 50)validate_digipinValidate DigiPin format and check if it's a real location.
Parameters:
digipin (required): DigiPin code to validateget_usageGet API usage statistics and quota information.
get_location_statisticsGet live statistics about the Location Lookup service.
get_healthCheck API health status.
This project includes a REST API wrapper that makes all MCP tools accessible via HTTP endpoints for mobile and web applications.
The REST API is already deployed and ready to use at:
Base URL: https://mcp-gc.quantaroute.com/api
Note: mcp-gc stands for MCP Geocoding. This follows the naming convention:
mcp-gc.quantaroute.com - Geocoding MCP Server (this project)1. Get API Information:
2. Geocode an Address:
3. Health Check:
4. Find Nearby Boundaries:[NOT RELEASED, COMING SOON...]
This endpoint finds nearby postal boundaries within a specified radius. Useful for:
If you want to deploy your own instance:
Deploy to Vercel:
Set Environment Variable (optional, for testing):
Configure Custom Domain (optional):
For complete REST API documentation, see API.md.
Available Endpoints:
GET /api - API informationGET /api/health - Health checkGET /api/usage - Usage statisticsGET /api/location-statistics - Location service statisticsGET /api/autocomplete?q=query - Address autocompleteGET /api/validate-digipin?digipin=XXX-XXX-XXXX - Validate DigiPinPOST /api/geocode - Geocode an addressPOST /api/reverse-geocode - Reverse geocode DigiPinPOST /api/coordinates-to-digipin - Convert coordinates to DigiPinPOST /api/batch-geocode - Batch geocode addressesPOST /api/lookup-location-from-coordinates - Lookup from coordinatesPOST /api/lookup-location-from-digipin - Lookup from DigiPinPOST /api/batch-location-lookup - Batch location lookupPOST /api/find-nearby-boundaries - Find nearby boundaries [COMING SOON...]The API supports authentication in two ways:
Request Header (Recommended for production):
x-api-key header with each requestEnvironment Variable (Optional fallback for testing):
x-api-key header is providedPriority: The request header takes precedence over the environment variable.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/quantaroute-geocoder)<a href="https://allmcps.com/mcp/quantaroute-geocoder"><img src="https://allmcps.com/api/badge/quantaroute-geocoder?style=directory" alt="Quantaroute Geocoder on AllMCPs" /></a>