Skip to main content
Glama

mcp-geospatial

An MCP server for geospatial work: coordinates, geocoding, routing, terrain, weather and radio links. 22 tools, no API key required for any of them.

Built for logistics, telecom, agriculture, insurance, real estate, utilities, emergency response, surveying and mapping — anywhere a question starts with where.

The package and command are mcp-geospatial. The server is not on PyPI under either name: install it from this repository, as below. The PyPI package named geospatial-mcp is an unrelated project; installing it will not give you this server.

"Where can I live within a 30-minute drive of work?"          route_isochrone
"Where's the nearest depot by road to each of today's jobs?"  route_matrix
"How long to drive from the depot to the customer?"           route_directions
"How steep is this section of the trail?"                     terrain_profile
"How far will a 1800 MHz cell reach over suburban ground?"    rf_link_budget
"What's the area of this field in hectares?"                  geom_measure
"Convert this grid reference the survey crew gave me"         coord_convert

Install

Nothing to clone by hand. Every client below runs the server with uvx, straight from this repository. To install it into an environment of your own instead, use pip install git+https://github.com/ystoneman/geospatial-mcp.

claude mcp add geospatial -- uvx --from git+https://github.com/ystoneman/geospatial-mcp mcp-geospatial
{
  "mcpServers": {
    "geospatial": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/ystoneman/geospatial-mcp", "mcp-geospatial"]
    }
  }
}
[mcp_servers.geospatial]
command = "uvx"
args = ["--from", "git+https://github.com/ystoneman/geospatial-mcp", "mcp-geospatial"]
{
  "mcpServers": {
    "geospatial": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/ystoneman/geospatial-mcp", "mcp-geospatial"]
    }
  }
}
{
  "servers": {
    "geospatial": {
      "type": "stdio",
      "command": "uvx",
      "args": ["--from", "git+https://github.com/ystoneman/geospatial-mcp", "mcp-geospatial"]
    }
  }
}
{
  "context_servers": {
    "geospatial": {
      "command": { "path": "uvx", "args": ["--from", "git+https://github.com/ystoneman/geospatial-mcp", "mcp-geospatial"] }
    }
  }
}
docker build -t mcp-geospatial https://github.com/ystoneman/geospatial-mcp.git
docker run -p 8000:8000 mcp-geospatial --transport http

The HTTP transport binds 127.0.0.1 unless PORT is set by the platform. Put it behind a reverse proxy with authentication before exposing it publicly.

Related MCP server: mapsi-mcp

Tools

Every tool taking a location accepts any of these, interchangeably:

48.8584, 2.2945          decimal degrees (canonical, latitude first)
48°51'30"N 2°17'40"E     degrees / minutes / seconds
31UDQ4825211954          USNG / MGRS grid reference
u09tunquc                geohash
geohash:u09tunquc        geohash, marked so it is never taken for a place name
891fb46741bffff          H3 cell
8FW4V75V+9R6             Plus Code
Eiffel Tower, Paris      a place name, geocoded for you

core — 20 tools, on by default

Tool

What it answers

Offline

coord_convert

This position in every notation at once

●

coord_describe

Is this a valid coordinate, and how precise?

●

coord_transform_crs

Between EPSG systems, with an accuracy figure

●

geom_measure

Distance, bearing, area, perimeter, centroid

●

geom_transform

Buffer, simplify, hull, centroid, repair

●

geom_overlay

Intersection, union, difference

●

geom_relate

Point-in-polygon, overlap, nearest distance

●

place_geocode

Address or place name → coordinates

○

place_reverse

Coordinates → address

○

place_search

Fuel, hospitals, chargers, warehouses nearby

○

route_directions

Driving, cycling, walking, HGV directions

○

route_isochrone

Everywhere reachable in N minutes

○

route_matrix

Travel times between many origins and destinations

○

terrain_elevation

Height above sea level

○

terrain_profile

Elevation along a path, ascent and descent

○

env_weather

Current conditions and forecast

○

sun_moon

Sunrise, twilight, golden hour, shadow length

●

time_at_location

Time zone, local time, next DST change

●

data_convert

GeoJSON ⇄ WKT ⇄ KML ⇄ GPX ⇄ CSV ⇄ polyline

●

geo_capabilities

What is enabled, and how to enable more

●

rf — 2 tools, on by default

Tool

What it answers

Offline

rf_link_budget

Path-loss budget and cell radius

●

rf_towers

Known cell towers nearby

○

analysis — 2 tools, opt-in (the stats extra)

Tool

What it answers

Offline

stats_cluster

Where do these points concentrate?

●

coord_grid_cells

Bin points into H3 or geohash cells

●

● runs with no network at all. ○ calls a free public API.

Link budgets are an everyday tool for mobile operators, wireless ISPs, utilities running SCADA telemetry and IoT fleets: how far a radio reaches for a given power, frequency and environment.

This is one server among many. If you are working out which to use, Sparkgeo's geo-mcp-servers is a curated, machine-checked index of the geospatial MCP field, kept current and marked for liveness — a better place to compare coverage than any claim this README could make about itself. docs/REFERENCES.md lists the servers, standards and research this project leans on or points at.

Selecting toolsets

The examples call the command directly. If it is not installed, prefix it with uvx --from git+https://github.com/ystoneman/geospatial-mcp, as in the client configs above. all also needs the stats extra: uvx --from 'mcp-geospatial[stats] @ git+https://github.com/ystoneman/geospatial-mcp' mcp-geospatial --toolsets all.

mcp-geospatial --toolsets core       # 20 tools, drops the RF set
mcp-geospatial --toolsets all        # adds the analysis toolset (needs [stats])
GEO_TOOLSETS=offline mcp-geospatial  # 13 tools that never touch the network
mcp-geospatial --list-tools          # print the catalogue and exit

offline is for field use with no signal. It keeps only tools that make no network call under any input, so it excludes geom_measure and the place tools — those accept a place name, which means they may geocode.

Toolset

Tools

Needs

core

20

nothing

rf

2

nothing

analysis

2

the stats extra (see above)

Configuration

No API key is needed for anything. Every keyed provider has a keyless default.

Variable

Purpose

GEO_TOOLSETS

default, all, offline, or a comma-separated list

GEO_CACHE_DIR

Response cache location (default ~/.cache/mcp-geospatial)

GEO_CACHE

0 disables the disk cache

GEO_USER_AGENT

Override the User-Agent sent to providers

GEO_TRACE_FILE

Append one JSON line per tool call to this file (off by default; records arguments, so it holds locations)

GEO_TRACE_RESULTS

1 adds a short preview of each result to those lines: headline values, the first warning and note, and whether it was cached. Never geometry

NOMINATIM_URL, PHOTON_URL, OVERPASS_URL, VALHALLA_URL, OPEN_METEO_BASE_URL

Point at self-hosted instances

OPENROUTESERVICE_API_KEY

Optional routing upgrade over the keyless default

OPENCELLID_API_KEY

Optional; larger cell-tower database

OPEN_METEO_API_KEY

Required for commercial weather use (see below)

Data sources and licensing

Results carry the attribution their licence requires in meta.attribution — pass it through when you display them. Two obligations worth knowing before you build on this: OpenStreetMap-derived data (geocoding, places, routing) is ODbL 1.0 and requires attribution, and Open-Meteo's free tier is non-commercial, so commercial deployments need OPEN_METEO_API_KEY or a self-hosted instance.

The public instances are free and shared. This server caches aggressively and rate-limits per host to stay inside their usage policies; for heavy use, self-host and set the corresponding *_URL. See Sources and credits for the complete list.

What it gets right that is easy to get wrong

  • Distances and areas are geodesic. Karney's algorithm on the WGS84 ellipsoid, accurate to millimetres at any distance. Not 111.32 km/degree, which is 0.25% out at 60° latitude and worse further north.

  • Buffers are circles on the ground. Buffering in degrees produces an ellipse stretched by 1/cos(latitude) — 2× wrong at 60°, 5× at 78°. Every buffer here is projected to an azimuthal equidistant plane first.

  • Grid references truncate, they never round. A reference names the square a position falls in, so dropping digits must move the point to the coarser square's corner. Rounding would hand back a neighbouring square — a kilometre away at four digits, and confidently wrong.

  • DEM gaps stay gaps. A missing elevation is reported as null, never substituted with zero. Substituting sea level flattens a ridge into an entirely plausible plain, and every statistic downstream inherits it.

  • Place names are never silently guessed. "Springfield" matches cities of near-equal prominence 1,500 km apart, so a tool asked about it lists them and asks, rather than quietly answering for Illinois. When a name is clear enough to use, meta.notes says exactly which place it was taken to mean, and names any others that share it.

  • A place name is not mistaken for a code. "Bergen", "Denver" and "Sydney" are spelt entirely from the geohash alphabet, and decoding them lands in Alaska, the Atlantic and Turkey. A bare token is decoded as a geohash at once only when it is written like one, in lowercase with a digit among the letters. Anything else that could be a geohash is geocoded first, with a note in meta.notes giving the geohash reading, and is read as a geohash only if no place has the name. Write geohash:gcpvj to skip the lookup. A 4-character geohash such as sw19 could be a postcode district, so it is decoded with a note saying so.

  • Errors are errors. Failures raise, so the MCP response is marked isError. A tool that returns {"status": "error"} is reported to the model as a success, and it will proceed on invented data.

  • Empirical models report their limits. COST231-Hata outside 1500–2000 MHz still returns a number; meta.notes tells you it is out of range.

  • CRS transforms admit their accuracy. Every transform names the operation PROJ used for that point and its published accuracy. When a better operation needs a grid file that is not installed, the response names the file; when no published transformation exists at all, it says the datum shift was ignored.

Development

git clone https://github.com/ystoneman/geospatial-mcp && cd geospatial-mcp
uv sync --all-extras
make check          # lint, types, tests — exactly what CI runs
make evals          # tool-selection eval suite
make evals-network  # the same, plus the cases that call live APIs

See AGENTS.md for the layout and conventions, and CONTRIBUTING.md to add a tool.

Sources and credits

Almost none of the geospatial computation here is ours. This package is an integration layer: it chooses which established libraries, published algorithms and public data services to expose to a language model, wires them together, and tries hard to get the units, datums and error handling right. The interesting work was done by the projects below, and this section exists so you can see exactly which ones you are depending on.

To put a number on it — of the Python that ships when you install this package, 1.0% is ours and 99.0% is dependencies (6,912 lines against 654,791), inside a 150 MB installation of which 109 MB is compiled native libraries and 9 MB is the EPSG registry. Counted by installing the package with no extras into an empty environment and measuring site-packages.

Runtime dependencies

Everything below is permissively licensed. Licences were read from each package's own LICENSE file, not from its classifiers — the two disagree more often than you would expect.

Package

Version

Licence

What it provides here

mcp

2.0.0

MIT

The Model Context Protocol SDK: tool registration, transports, schemas

pydantic

2.12.5

MIT

Tool input and output schemas, response validation

numpy

2.4.2

BSD-3-Clause and others

Terrain arrays, profile statistics, hillshade kernels

shapely

2.1.2

BSD-3-Clause

All polygon geometry — buffer, union, hulls, predicates

pyproj

3.7.2

MIT

CRS transforms and every geodesic distance, bearing and area

pygeodesy

26.8.18

MIT

Rhumb lines, great-circle intersections, cross-track distance, USNG/MGRS grid references

h3

4.5.0

Apache-2.0

Uber's hexagonal hierarchical spatial index

geohashr

1.6.0

BSD-3-Clause

Geohash encoding and decoding

pluscodes

2022.1.3

Apache-2.0

Open Location Code (Plus Codes)

mercantile

1.2.1

BSD-3-Clause

XYZ tile and quadkey arithmetic

astral

3.2

Apache-2.0

Sun and moon position, twilight, golden hour

tzfpy

1.3.3

MIT

Offline timezone lookup from coordinates

geojson-pydantic

2.1.1

MIT

Typed GeoJSON models

polyline

2.0.4

MIT

Google encoded polyline format

pyshp

3.1.6

MIT

Shapefile reading and writing without GDAL

Optional extras: pillow (MIT-CMU), sgp4 and skyfield (MIT), scikit-learn, esda and libpysal (BSD-3-Clause), fast-tsp (MIT), staticmap (Apache-2.0), rasterio and rio-tiler (BSD), pystac-client (Apache-2.0), morecantile (MIT).

Native libraries bundled inside those wheels

Library

Licence

Reached through

GEOS

LGPL-2.1-or-later

shapely — used unmodified and dynamically linked; see THIRD_PARTY_NOTICES.md for how the licence is satisfied

PROJ

MIT

pyproj, with the EPSG registry

GEOS is the one copyleft component in the tree. It is unavoidable — it sits under Shapely, GeoPandas, OGR, PostGIS and DuckDB-spatial alike, and there is no permissive replacement with equivalent overlay correctness.

Live data services

None require an API key. Results carry the attribution their licence demands in meta.attribution; pass it through when you display them.

Service

Provides

Data licence

Nominatim / Photon

Geocoding, reverse geocoding

OpenStreetMap, ODbL 1.0

Overpass API

Points of interest by category

OpenStreetMap, ODbL 1.0

Valhalla via FOSSGIS

Routing, isochrones, matrices

OpenStreetMap, ODbL 1.0

Open-Meteo

Weather, elevation, air quality

CC-BY 4.0 — free tier is non-commercial

Copernicus GLO-90 DEM

Elevation, via Open-Meteo

© DLR e.V. 2010–2014, © Airbus Defence and Space GmbH 2014–2018

BeaconDB

Cell towers (keyless default)

Public domain (CC0)

OpenCelliD

Cell towers (optional, keyed)

CC-BY-SA 4.0 — share-alike on derived databases

Algorithms, and where they come from

Every computation in this package traces to a library, a published formula or a public service. None of it was invented here, and the literature is cited so you can check the implementation against the source.

Capability

Implemented by

Source

Geodesic distance, bearing, area

PROJ, via pyproj.Geod

Karney, C. F. F. (2013), "Algorithms for geodesics", Journal of Geodesy 87(1), 43–55

Datum and projection transforms

PROJ

The EPSG Geodetic Parameter Dataset

USNG / MGRS grid references

pygeodesy

FGDC-STD-011-2001, the United States National Grid; the same squares are MGRS outside the US

Polygon overlay, buffering, hulls

GEOS, via shapely

The OGC Simple Features specification

Line simplification

GEOS

Douglas, D. H. & Peucker, T. K. (1973), The Canadian Cartographer 10(2), 112–122

Hexagonal spatial index

h3

Uber H3

Geohash

geohashr

Niemeyer, G. (2008)

Plus Codes

pluscodes

Google Open Location Code specification

Free-space path loss

this package

ITU-R P.525, "Calculation of free-space attenuation"

Okumura-Hata path loss

this package

Hata, M. (1980), IEEE Trans. Veh. Technol. 29(3), 317–325; after Okumura et al. (1968)

COST 231-Hata path loss

this package

COST Action 231 final report (1999), ch. 4

Two-ray ground reflection

this package

Standard textbook propagation model

Slope, aspect, hillshade

this package

Horn, B. K. P. (1981), "Hill shading and the reflectance map", Proc. IEEE 69(1), 14–47

Terrarium DEM decode

this package

Mapzen Terrain Tiles published encoding

Sun and moon position

astral

Standard astronomical almanac formulae

DBSCAN clustering

scikit-learn

Ester, M. et al. (1996), KDD-96

HDBSCAN clustering

scikit-learn

Campello, R. J. G. B. et al. (2013), PAKDD

"Implemented by: this package" means the formula was written out from the cited publication in geo/rf.py or geo/terrain.py, because no permissively licensed Python library implements it. The mathematics is not ours; only the transcription is.

What this package actually adds

Given the above, it is worth being plain about what is left:

  • The composition — which capabilities belong in one server, and what the tool surface should look like for a model rather than a human.

  • Correct units and datums at the seams. Geodesic buffering via an azimuthal equidistant reprojection, geodesic path sampling, geodesic area — the places where naive degree arithmetic silently gives wrong answers.

  • A shared HTTP layer with per-host rate limiting, a disk cache, bounded retries and mirror failover, so the free public services are used within their stated policies.

  • Error design — tools raise rather than returning an error payload, and every message names the input, the problem and a valid example.

  • Attribution plumbing, so licence obligations travel with the data.

  • Tests and evals — 293 tests and a 31-case tool-selection eval library.

Full licence texts and obligations are in THIRD_PARTY_NOTICES.md. If you spot a missing or incorrect attribution, please open an issue — that is a bug.

Licence

MIT — see LICENSE.

Available Tools

22 tools
coord_convertA
Read-onlyIdempotent

Convert a position between every common coordinate notation at once.

Detects the input format automatically and returns decimal degrees, DMS, USNG/MGRS, UTM, geohash, H3, Plus Code, quadkey and GeoJSON together, so one call answers any "what is this in X?" question.

Use this for format conversion. For a different datum or projection (British National Grid, State Plane, Web Mercator) use coord_transform_crs. To check whether a string is a valid coordinate without converting it, use coord_describe.

Inputs: location (required), tile_zoom, grid_digits, h3_resolution, +1 more. Returns: meta, input, formats, detected_format, +1 more

coord_describeA
Read-onlyIdempotent

Check whether a string is a valid coordinate and report its precision.

Identifies which notation it is, normalises it, and states the ground accuracy the notation implies -- a grid reference with four digits names a 1 km square, not a point, and a 5-character geohash is about 5 km wide. Returns is_valid=false with an explanation rather than failing, so it is safe to use for validating user input before acting on it.

Inputs: value (required). Returns: meta, input, problem, is_valid, +5 more

coord_transform_crsA
Read-onlyIdempotent

Transform coordinates between any two coordinate reference systems.

For national grids (EPSG:27700 British National Grid, EPSG:2154 Lambert-93, State Plane), Web Mercator (EPSG:3857) and any other EPSG-registered CRS.

Reports the transformation PROJ used for this point and its published accuracy. ballpark=true means no published transformation links the two datums, so the shift was ignored: expect tens to hundreds of metres of error. When a more accurate transformation needs a grid file that is not installed, missing_grids names it.

Inputs and outputs are always x/easting first, y/northing second, regardless of the axis order the CRS authority declares.

Inputs: x (required), y (required), source_crs, target_crs. Returns: x, y, meta, source, +7 more

data_convertA
Read-onlyIdempotent

Convert geospatial data between GeoJSON, WKT, WKB, KML, GPX, CSV and polyline.

Detects the input format automatically and validates the result, reporting specific problems (self-intersections, out-of-range coordinates, the removed RFC 7946 'crs' member) rather than a bare pass/fail.

Handles the everyday format wrangling of real work: a customer sends KML, the routing engine wants an encoded polyline, the warehouse system exports CSV, the web map needs GeoJSON. Runs entirely offline.

Inputs: data (required), to_format, from_format. Returns: meta, output, validation, input_format, +2 more

env_weatherA
Read-onlyIdempotent

Get current weather and a multi-day forecast for a location.

Returns temperature, precipitation, wind, cloud cover, humidity and visibility from Open-Meteo -- no API key needed.

Useful for delivery and field-work scheduling, construction and outdoor event planning, agricultural spray windows, and travel decisions.

Note the free Open-Meteo tier is licensed for non-commercial use; set OPEN_METEO_API_KEY and OPEN_METEO_BASE_URL for commercial deployments.

Inputs: location (required), days, include_hourly. Returns: meta, daily, current, latitude, +3 more

geo_capabilitiesA
Read-onlyIdempotent

List which geospatial toolsets are enabled and what else is available.

Call this when a capability seems to be missing, before telling the user something is impossible -- the tool they need may simply be in a toolset that is switched off, and this returns the exact command to enable it.

Also reports which optional API keys are configured and where the response cache lives.

Inputs: no named parameters. Returns: meta, cache, version, api_keys, +3 more

geom_measureA
Read-onlyIdempotent

Measure geodesic distance and bearing between points, or a geometry's area.

Distances use Karney's algorithm on the WGS84 ellipsoid, accurate to millimetres at any distance including near-antipodal pairs. Areas are computed on the ellipsoid, not in degree space.

This is straight-line ("as the crow flies") distance. For travel distance and time along real roads, use route_directions instead -- road distance is typically 20-40% longer.

Inputs: origin (required), geojson, destination. Returns: meta, compass, geometry, midpoint, +6 more

geom_overlayA
Read-onlyIdempotent

Combine two geometries with a set operation, reporting the resulting area.

The workhorse of overlay analysis: how much of this delivery zone falls inside that flood extent (intersection), what is the combined footprint of these service areas (union), which part of a territory is not yet covered (difference).

Invalid input geometries are repaired automatically before the operation, since self-intersecting polygons are common in real data.

Inputs: geojson_a (required), geojson_b (required), operation. Returns: meta, geometry, measurements

geom_relateA
Read-onlyIdempotent

Test the spatial relationship between two geometries.

Answers point-in-polygon, overlap, containment and adjacency in one call, plus the shortest geodesic distance between them and the nearest point on each. Use this for geofence checks ("is this vehicle inside the zone?"), territory assignment and proximity screening.

Inputs: geojson_a (required), geojson_b (required). Returns: meta, distance_m, relationships, nearest_points

geom_transformA
Read-onlyIdempotent

Reshape a geometry: buffer, simplify, hull, centroid, repair or bounding box.

All distances are true ground metres. Buffering projects to an azimuthal equidistant plane centred on the geometry, so a 5 km buffer is 5 km on the ground at every latitude -- not an ellipse stretched by longitude convergence, which is what buffering in degrees produces.

concave_hull traces the real outline of a scattered point set (a service territory, a fire perimeter); convex_hull bridges across genuine gaps.

Inputs: geojson (required), operation (required), ratio, distance_m. Returns: meta, geometry, measurements

place_geocodeA
Read-onlyIdempotent

Find the coordinates of an address, place name or landmark.

Uses OpenStreetMap: Nominatim for exact structured lookups, or Photon when fuzzy=true for misspelled or partial input (Nominatim's usage policy forbids autocomplete-style queries, so route those here).

To go the other way -- coordinates to an address -- use place_reverse. To find categories of thing nearby (fuel, hospitals, hotels) rather than one named place, use place_search.

Inputs: query (required), fuzzy, limit, country_codes. Returns: meta, query, matches, provider

place_reverseA
Read-onlyIdempotent

Find the address or place name at a set of coordinates.

The inverse of place_geocode. Useful for labelling GPS traces, describing a delivery destination, or identifying the administrative area a position falls in (lower the zoom to get city, region or country instead of a street address).

Inputs: location (required), zoom. Returns: meta, type, address, category, +3 more

rf_towersA
Read-onlyIdempotent

Find known cell towers near a location.

Returns crowdsourced tower records with radio technology (GSM/UMTS/LTE/NR), operator MCC-MNC and approximate position. Useful for coverage benchmarking, IoT and fixed-wireless site qualification, and understanding why signal is poor at a specific address.

Uses OpenCelliD when OPENCELLID_API_KEY is set, otherwise the keyless BeaconDB. Coverage is crowdsourced and sparse outside dense urban areas -- an empty result means no contributor has mapped the area, not that no towers exist.

Inputs: location (required), radius_m. Returns: meta, count, towers, latitude, +3 more

route_directionsA
Read-onlyIdempotent

Get driving, cycling or walking directions along real roads.

Returns distance, travel time and turn-by-turn instructions using OpenStreetMap road data via Valhalla -- no API key needed.

Use this for anything involving actual travel: delivery and field-service scheduling, ambulance response-time modelling, freight planning with vehicle restrictions, commute estimation, hiking and cycling routes.

For straight-line distance instead, use geom_measure -- it is much cheaper and needs no network. To find everywhere reachable within a time budget rather than the path to one place, use route_isochrone. For travel times between many places at once, use route_matrix rather than calling this repeatedly.

Inputs: origin (required), destination (required), via, detail, +2 more. Returns: end, meta, start, steps, +9 more

route_isochroneA
Read-onlyIdempotent

Map everywhere reachable within a travel-time budget.

Returns drive-time (or walk-time, cycle-time) polygons. This is the tool for catchment and accessibility questions: which customers are within 30 minutes of a depot, what a store's 15-minute trade area looks like, how many homes a fire station covers in 8 minutes, where to site a warehouse.

direction='to' computes the reverse catchment, which is the correct choice when siting a facility people travel to.

Returns polygons that can be passed straight to geom_relate or geom_overlay to count what falls inside them.

For the path to one specific destination, use route_directions instead.

Inputs: location (required), minutes, profile, direction. Returns: meta, centre, profile, contours, +1 more

route_matrixA
Read-onlyIdempotent

Get road travel times and distances between many origins and destinations at once.

One call answers "which depot is closest by road to each customer", "which crew can reach each job fastest", or ranks candidate sites by access. Returns a duration and distance for every origin-destination pair, indexed [origin][destination], plus the nearest destination for each origin. Unreachable pairs are null.

For turn-by-turn directions on one trip, use route_directions. For everywhere reachable within a time budget, use route_isochrone. For straight-line distance, use geom_measure.

Inputs: origins (required), profile, destinations. Returns: meta, nearest, origins, profile, +3 more

sun_moonA
Read-onlyIdempotent

Get sunrise, sunset, twilight, golden hour and moon phase for a location.

Computed offline from astronomical formulas -- no network needed.

Includes the shadow-length ratio, which is what construction shadow studies, right-to-light assessments and solar-panel shading analysis actually need: a 10 m object at 30 degrees solar elevation casts a 17.3 m shadow. Also used for photography scheduling, crop modelling, delivery windows before dusk, and retail daylight-hours analysis.

Inside the polar circles, events that do not occur are returned as null with an explanation rather than as an error.

Inputs: location (required), on_date. Returns: sun, date, meta, moon, +4 more

terrain_elevationA
Read-onlyIdempotent

Get ground elevation above sea level at a location.

Returns height in metres and feet from the Copernicus GLO-90 global DEM (90 m resolution), relative to the EGM2008 geoid -- that is, orthometric height above mean sea level, which is what "elevation" normally means. GNSS receivers report ellipsoidal height, which differs by tens of metres.

For elevation along a path rather than at one point, use terrain_profile -- it fetches up to 100 samples in a single request.

Inputs: location (required). Returns: meta, dataset, latitude, longitude, +3 more

terrain_profileA
Read-onlyIdempotent

Get the terrain elevation profile along a path between two points.

Samples the ground along a true geodesic and returns the full profile plus statistics: minimum, maximum, relief, total ascent and descent. All samples come from one batched request rather than one call per point.

Use this for cycling and hiking route difficulty, pipeline and cable routing, drainage assessment, or sizing earthworks. For the elevation at a single point, or at a scattered set of them, use terrain_elevation -- this tool always samples the straight line between two ends.

Inputs: origin (required), destination (required), samples. Returns: meta, profile, samples, statistics, +1 more

time_at_locationA
Read-onlyIdempotent

Get the time zone and current local time at a location.

Returns the IANA zone name, current local time, UTC offset, whether daylight saving is active, and when the next DST transition happens. Computed offline from a bundled boundary dataset.

Useful for scheduling across sites, interpreting timestamps in GPS traces, and working out delivery or support-window overlaps.

Inputs: location (required). Returns: info, meta, latitude, longitude

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 22 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: coordinate validation/conversion/CRS transformation, geometry operations, place lookup, routing modes, terrain, weather, time, data conversion, and RF analysis are all separated. Descriptions explicitly cross-reference similar tools (e.g., coord_convert vs coord_transform_crs, geom_measure vs route_directions), so misselection is unlikely.

    Naming Consistency4/5

    Tool names follow a predictable lower_snake_case prefix-based pattern (coord_, geom_, place_, route_, terrain_, rf_) and are readable. However, not all follow a single verb_noun grammar: some are noun_noun (route_directions, env_weather) or noun_prep_noun (time_at_location), making the convention consistent but not perfectly uniform.

    Tool Count4/5

    At 22 tools, the count sits above the typical 3-15 range and feels slightly heavy, but the broad geospatial domain justifies the number. Each tool covers a distinct capability with no obvious redundancy, and the prefix grouping keeps the set navigable.

    Completeness4/5

    The tool surface covers core geospatial workflows well: coordinate/CRS handling, geometry analysis, geocoding/search, routing, terrain, weather, timezone, data conversion, and RF. Minor gaps such as batch geocoding, historical weather, or route optimization exist, but most are workarounds and tools compose cleanly (e.g., isochrones into geom_overlay/relate).

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Provides 14 comprehensive tools for geocoding, navigation, and visual mapping using Google Maps APIs. It also offers detailed environmental data including weather forecasts, air quality indices, and solar irradiance for location-based analysis and trip planning.
      14
      10
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Geospatial API tools for AI agents — geocoding, reverse geocoding, routing, isochrone, distance matrix, static maps, H3 hexagons, elevation, GPS map-matching, point-in-polygon, address normalisation, timezone lookup, and batch geocoding. Built on OpenStreetMap infrastructure. Cost-effective alternative to Google Maps API.
      18
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 15 geospatial utility tools for AI agents, covering coordinate transformation, spatial data validation, elevation/terrain, viewshed analysis, and drone flight planning.
      1
      MIT