LabscoMCP early access ↗
X-McKayMCP SERVER

Geocoding Tool

Turn a place name or address into coordinates, with no API key.

by X-McKay ↗Geospatial & Mapping DataCommunity

LABSCO SUMMARY

Raise `limit` when the name is ambiguous.

Place names repeat, and a single result is a guess. Asking for several and reading type and importance is how you tell the city from the street or the village of the same name — that is the whole reason those fields come back. Everything else here is deliberately absent: one tool, no key, no configuration.

What it is

A geocoder built on OpenStreetMap's Nominatim service. Give it a city, an address or a place description and it returns latitude and longitude — plus the matched display name, place type, importance ranking and bounding box.

What you get

  • mcp_geocoding_get_coordinates takes a location string — a city, a country-qualified name, or a street address
  • An optional limit returns several candidates instead of one; the default is 1 and the maximum is 10
  • Each result carries latitude, longitude, display_name, place_id, type, class, importance and a bounding_box
  • The importance and type fields are what let you tell a city apart from a street of the same name
  • Global coverage, since it is querying OpenStreetMap data

Requirements

Nothing but a Python runner: uvx geocode-mcp is the documented install, and the client entry is uvx with geocode-mcp as its argument. Also installable with pip install geocode-mcp. Published as geocode-mcp version 0.2.0, built for Python 3.12+. No API key — Nominatim is free to use.

Setup effort

One command — uvx geocode-mcp