gis-mcp-server
v1.2.0MCP Server for geospatial operations - geocoding, routing, spatial analysis
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
geocode Geocode
Convert an address to geographic coordinates (latitude/longitude).
| Parameter | Type | Description |
|---|---|---|
address * | string | Address to geocode |
reverse_geocode Reverse Geocode
Convert coordinates to an address (reverse geocoding).
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude (-90 to 90) |
lon * | number | Longitude (-180 to 180) |
distance Distance
Calculate the distance between two geographic points.
| Parameter | Type | Description |
|---|---|---|
lat1 * | number | Latitude of first point |
lat2 * | number | Latitude of second point |
lon1 * | number | Longitude of first point |
lon2 * | number | Longitude of second point |
method | string | Method: 'haversine' or 'geodesic' |
buffer Buffer
Create a buffer zone around a geometry.
| Parameter | Type | Description |
|---|---|---|
distance_meters * | number | Buffer distance in meters |
geometry * | object | GeoJSON geometry |
resolution | integer | Segments for curved edges |
spatial_query Spatial Query
Perform spatial operations between two geometries.
| Parameter | Type | Description |
|---|---|---|
geometry1 * | object | First GeoJSON geometry |
geometry2 * | object | Second GeoJSON geometry |
operation * | string | Spatial operation to perform |
transform_crs Transform Crs
Transform coordinates between coordinate reference systems.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry to transform |
source_crs * | string | Source CRS (e.g., 'EPSG:4326') |
target_crs * | string | Target CRS (e.g., 'EPSG:3857') |
centroid Centroid
Get the centroid (center point) of a geometry.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry |
simplify Simplify
Simplify a geometry using Douglas-Peucker algorithm.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry |
tolerance * | number | Simplification tolerance |
preserve_topology | boolean | Preserve topology |
convex_hull Convex Hull
Get the convex hull of a geometry.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry |
envelope Envelope
Get the bounding box (envelope) of a geometry.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry |
validate Validate
Validate a geometry and fix it if invalid.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry |
area Area
Calculate the area of a polygon geometry in multiple units.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON Polygon or MultiPolygon |
length Length
Calculate the length/perimeter of a geometry.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON geometry |
utm_zone Utm Zone
Get the UTM zone for a given coordinate.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude |
lon * | number | Longitude |
crs_info Crs Info
Get detailed information about a coordinate reference system.
| Parameter | Type | Description |
|---|---|---|
crs_code * | string | CRS identifier (e.g., 'EPSG:4326') |
route Route
Calculate a route between two points.
| Parameter | Type | Description |
|---|---|---|
end_lat * | number | End point latitude |
end_lon * | number | End point longitude |
start_lat * | number | Start point latitude |
start_lon * | number | Start point longitude |
profile | string | Profile: driving/walking/cycling |
isochrone Isochrone
Calculate an isochrone (area reachable within a time limit).
| Parameter | Type | Description |
|---|---|---|
lat * | number | Center point latitude |
lon * | number | Center point longitude |
time_minutes * | integer | Travel time in minutes |
profile | string | Profile: driving/walking/cycling |
elevation Elevation
Get elevation for a single point (meters above sea level).
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude |
lon * | number | Longitude |
elevation_profile Elevation Profile
Get elevation profile along a line.
| Parameter | Type | Description |
|---|---|---|
geometry * | object | GeoJSON LineString geometry |
samples | integer | Number of sample points |
read_file Read File
Read a geospatial file (GeoJSON, Shapefile, GeoPackage, etc.).
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to geospatial file |
layer | Layer name | |
limit | Max features to return |
write_file Write File
Write features to a geospatial file.
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
file_path * | string | Output file path |
driver | string | Format: GeoJSON/Shapefile/GPKG |
spatial_join Spatial Join
Perform a spatial join between two feature collections.
| Parameter | Type | Description |
|---|---|---|
left_features * | object | Left GeoJSON FeatureCollection |
right_features * | object | Right GeoJSON FeatureCollection |
how | string | Join type: inner/left/right |
predicate | string | Spatial predicate |
clip Clip
Clip features to a boundary geometry.
| Parameter | Type | Description |
|---|---|---|
clip_geometry * | object | GeoJSON geometry to clip by |
features * | object | GeoJSON FeatureCollection to clip |
dissolve Dissolve
Dissolve features, optionally by a property.
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
aggfunc | string | Aggregation: first/last/sum/mean |
by | Field to dissolve by |
overlay Overlay
Perform overlay operation between two feature collections.
| Parameter | Type | Description |
|---|---|---|
features1 * | object | First GeoJSON FeatureCollection |
features2 * | object | Second GeoJSON FeatureCollection |
how | string | Overlay operation |
merge Merge
Merge multiple feature collections into one.
| Parameter | Type | Description |
|---|---|---|
feature_collections * | array | GeoJSON FeatureCollections |
read_raster Read Raster
Read a raster file and return metadata and statistics.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to raster file |
band | Band number (1-indexed) |
ndvi Ndvi
Calculate NDVI (Normalized Difference Vegetation Index).
| Parameter | Type | Description |
|---|---|---|
nir_band_path * | string | Path to NIR band raster |
red_band_path * | string | Path to red band raster |
output_path | Output file path |
hillshade Hillshade
Calculate hillshade from a Digital Elevation Model.
| Parameter | Type | Description |
|---|---|---|
dem_path * | string | Path to DEM raster |
altitude | number | Sun altitude (degrees) |
azimuth | number | Sun azimuth (degrees) |
output_path | Output file path |
slope Slope
Calculate slope from a Digital Elevation Model.
| Parameter | Type | Description |
|---|---|---|
dem_path * | string | Path to DEM raster |
output_path | Output file path | |
units | string | Output units: degrees/percent |
zonal_stats Zonal Stats
Calculate zonal statistics for a raster using vector zones.
| Parameter | Type | Description |
|---|---|---|
raster_path * | string | Path to raster file |
zones_path * | string | Path to vector zones file |
band | integer | Band number |
reproject_raster Reproject Raster
Reproject a raster to a different CRS.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Input raster path |
output_path * | string | Output raster path |
target_crs * | string | Target CRS (e.g., 'EPSG:4326') |
resampling | string | Resampling: nearest/bilinear/cubic |
raster_calc Raster Calc
Perform raster algebra using a mathematical expression.
| Parameter | Type | Description |
|---|---|---|
expression * | string | Math expression (e.g., 'A + B') |
output_path * | string | Output file path |
rasters * | object | Variable to file path mapping |
static_map Static Map
Create a static map image from GeoJSON features (requires matplotlib).
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON features |
output_path | Output file path | |
title | Map title |
web_map Web Map
Create an interactive web map (requires folium).
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON features |
basemap | string | Basemap provider |
output_path | Output HTML file path | |
title | Map title |
choropleth_map Choropleth Map
Create a choropleth (thematic) map based on a property value.
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
value_field * | string | Property field for coloring |
output_path | Output HTML file path | |
title | Map title |
moran_i Moran I
Calculate Global Moran's I for spatial autocorrelation (requires libpysal).
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
value_field * | string | Numeric property field |
weight_type | string | Weight type: queen/rook/knn |
local_moran Local Moran
Calculate Local Moran's I (LISA) for cluster detection.
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
value_field * | string | Numeric property field |
weight_type | string | Weight type: queen/rook/knn |
hotspot_analysis Hotspot Analysis
Perform Getis-Ord Gi* hot spot analysis.
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
value_field * | string | Numeric property field |
weight_type | string | Weight type: distance/queen |
spatial_weights Spatial Weights
Create and analyze a spatial weights matrix.
| Parameter | Type | Description |
|---|---|---|
features * | object | GeoJSON FeatureCollection |
k | integer | Number of neighbors for KNN |
weight_type | string | Type: queen/rook/knn/distance |