Skip to main content
Glama

Location Toolkit (DIGIPIN, Plus Codes, PIN codes)

Server Details

Location tools for AI agents: DIGIPIN and Plus Code conversion, Indian PIN code lookup (19,500+ PINs, 165,000+ post offices), nearest towns worldwide, postal code checks for 240+ countries, distances and AI address cleaning. 3 free calls/day, then pay per call via x402.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

Most tools have clearly distinct actions: address cleaning, distance calculation, PIN directory lookup, code conversion, postal validation, and reverse geocoding. The main overlap is that clean_address also validates postal/PIN codes and checks Indian PIN existence, which overlaps with postal_code_check and india_pincode_lookup, though the descriptions clarify the primary purpose of each.

Naming Consistency3/5

All names use snake_case and are readable, but the grammatical patterns are mixed: clean_address and distance_between are action-oriented, while location_code and postal_code_check are noun phrases, and india_pincode_lookup and reverse_lookup use other structures. The set is not chaotic, but it lacks a predictable verb_noun convention.

Tool Count5/5

Six tools is well-scoped for a specialized location-code and PIN toolkit, with each tool covering a distinct capability. There is no obvious bloat or missing basic operation within the stated niche.

Completeness4/5

The set covers address cleaning, postal validation, Indian PIN lookup, DIGIPIN/Plus Code conversion, distance calculation, and reverse geocoding. The main gap is forward geocoding: clean_address parses addresses but does not return coordinates, so converting a free-text address into a map point requires other tools or external data.

Available Tools

6 tools
clean_addressClean a messy address from any country into structured fields, with India PIN, district and state checksAInspect

AI turns free-text addresses (any language or format, e.g. "near water tank 2nd main rd AN chennai 40") into house, street, landmark, locality, city, district, state, postal code and country. Then checks the postal code format for the country, and for India that the PIN exists and matches the district and state, with warnings and suggested fixes. Never invents a postal code. Price 0.005 USDC per call; first 3 calls per day free.

Inputs: address (required), country, payment.

distance_betweenDistance and direction between two places given as coordinates, DIGIPIN, Plus Code or Indian PIN codeAInspect

Great-circle distance (km and miles) and compass bearing between two points. Each point can be {lat,lng}, "13.08,80.27", a DIGIPIN, a Plus Code or a 6-digit Indian PIN code. Price 0.001 USDC per call; first 3 calls per day free.

Inputs: to (required), from (required), payment.

india_pincode_lookupLook up an Indian PIN code: post offices, district, state, postal circle, centre coordinates and DIGIPINAInspect

Full India Post directory (19,500+ PIN codes, 165,000+ post offices). Returns every post office under the PIN with its type (head, sub or branch office), district, state, circle, approximate centre point, its DIGIPIN and Plus Code. Not charged if the PIN does not exist. Price 0.002 USDC per call; first 3 calls per day free.

Inputs: pincode (required), payment.

location_codeConvert coordinates to DIGIPIN (India) and Plus Code (worldwide), or a code back to coordinatesAInspect

Send lat+lng to get the Plus Code (Open Location Code, works everywhere, ~14 m square) and, inside India, the official India Post DIGIPIN (~4 m square). Or send any DIGIPIN or Plus Code as "code" to get its coordinates and cell bounds. Pure maths, exact to the official specs. Price 0.001 USDC per call; first 3 calls per day free.

Inputs: lat, lng, code, payment.

postal_code_checkCheck if a postal code has a valid format for any of 240+ countries (full lookup for India)BInspect

Validates postal / ZIP / PIN code format for 240+ countries and returns the cleaned form. For India it also checks that the PIN really exists and returns district and state. Price 0.001 USDC per call; first 3 calls per day free.

Inputs: country (required), postal_code (required), payment.

reverse_lookupCoordinates to nearest towns worldwide (town, region, country, distance), plus nearest PIN code inside IndiaAInspect

Reverse lookup from coordinates (or a DIGIPIN / Plus Code) to the 3 nearest populated places from GeoNames (170,000+ towns worldwide) with region, country and distance in km. Inside India it also returns the nearest PIN code with district and state. Approximate (town level), not a street address. Price 0.002 USDC per call; first 3 calls per day free.

Inputs: lat, lng, code, payment.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources