GIS MCP Server
This MCP server lets AI clients perform geospatial data I/O, vector and raster processing, coordinate transformations, and spatial statistics through GIS tools.
Read, write, append, merge, overlay, dissolve, explode, clip, and spatially join geospatial vector files.
Run point-in-polygon checks and common Shapely geometry operations such as buffer, intersection, union, difference, convex hull, centroid, bounds, rotation, scaling, translation, triangulation, Voronoi, validation, simplification, snapping, nearest point, and GeoJSON conversion.
Process rasters: metadata, CRS, clipping, resampling, reprojection, band extraction/statistics, tiling, histograms, NDVI, raster algebra, band concatenation, weighted sums, zonal statistics, reclassification, focal statistics, hillshade, and raster writing.
Transform coordinates and geometries between CRSs, get CRS/UTM/geodetic information, compute geodetic distances, points, and areas.
Run PySAL spatial statistics and modeling, including Moran’s I, Geary’s C, Getis-Ord, join counts, local indicators, DBSCAN, spatial weights, OLS with spatial diagnostics, spatial Markov, dynamic LISA, and spatial lag models.
Save GIS-MCP result dictionaries to requested output files/formats.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GIS MCP Server calculate the distance between Central Park and Times Square in New York City"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GIS MCP Server
GIS-MCP is an open-source Model Context Protocol (MCP) server that connects AI assistants and Large Language Models (LLMs) with GIS and geospatial operations.
It enables AI agents to perform geospatial analysis, spatial data processing, vector and raster operations, coordinate transformations, spatial statistics, mapping, and other GIS workflows through MCP-compatible clients.
🌐 Official Documentation: https://gis-mcp.com
📦 PyPI: https://pypi.org/project/gis-mcp/
💻 Source Code: https://github.com/mahdin75/gis-mcp
92+ GIS tools across Shapely, GeoPandas, PyProj, Rasterio, PySAL, visualization, satellite imagery, climate, ecology, movement, and land-cover data.
Category | Badges |
Package |
|
Installation & Transport |
|
Storage |
|
Data Sources |
|
Agentic AI |
|
Community |
|
Current version is 0.16.0 (Beta):
We welcome contributions and developers to join us in building this project.
🎥 Demo
Related MCP server: GeoServer MCP Server
📋 Table of Contents
🚀 Features
GIS MCP Server empowers AI assistants with advanced geospatial intelligence. Key features include:
🔹 Comprehensive Geometry Operations – Perform intersection, union, buffer, difference, and other geometric transformations with ease.
🔹 Advanced Coordinate Transformations – Effortlessly reproject and transform geometries between coordinate reference systems.
🔹 Accurate Measurements – Compute distances, areas, lengths, and centroids precisely.
🔹 Spatial Analysis & Validation – Validate geometries, run proximity checks, and perform spatial overlays or joins.
🔹 Raster & Vector Support – Process raster layers, compute indices like NDVI, clip, resample, and merge with vector data.
🔹 Spatial Statistics & Modeling – Leverage PySAL for spatial autocorrelation, clustering, and neighborhood analysis.
🔹 Easy Integration – Connect seamlessly with MCP-compatible clients like Claude Desktop or Cursor IDE.
🔹 HTTP/SSE Transport – Run as HTTP service with RESTful storage endpoints for file upload/download operations.
🔹 Flexible Storage – Local filesystem by default, or Google Cloud Storage when you want files in a GCS bucket.
🔹 Flexible & Extensible – Supports Python-based GIS libraries and is ready for custom tools or workflow extensions.
🌟 Tip: With GIS MCP Server, your AI can now “think spatially,” unlocking new capabilities for environmental analysis, mapping, and location intelligence.
MCP token use
The server keeps the same tools and does the GIS work in Python. The catalog and tool results are trimmed so clients such as Claude Desktop, Cursor, and ChatGPT spend fewer tokens loading and calling the server.
Existing clients keep the same default results: full geometry previews, full CRS lists, full histograms, and
structuredContent.Tool descriptions are one sentence. Parameter types stay in the JSON schema.
Empty output schemas and FastMCP tag metadata are not sent.
Pass
include_geometry=false,compact=true,max_features,max_records, orlimitwhen a smaller payload is enough. SetGIS_MCP_STRUCTURED_CONTENT=0to skip the duplicate structured copy.Start a smaller catalog with
--modules geometry,vectororGIS_MCP_MODULES. The default is still every installed tool.
Details: audit, architecture, benchmark.
gis-mcp --modules geometry,crs,vector{
"mcpServers": {
"gis-mcp": {
"command": "gis-mcp",
"env": {
"GIS_MCP_MODULES": "geometry,vector,raster",
"GIS_MCP_EXCLUDE": "statistics"
}
}
}
}💾 Storage
GIS MCP Server supports two storage backends for file upload, download, and tool outputs:
Backend | When to use | Configure with |
Local filesystem | Default; files on disk (including Docker volumes) |
|
Google Cloud Storage (GCP) | When you want files in a GCS bucket |
|
Install GCP support with:
pip install gis-mcp[gcp]Full setup (paths, IAM, Docker, credentials): Storage Configuration.
📋 Prerequisites
Python 3.10 or higher
MCP-compatible client (like Claude Desktop or Cursor)
Internet connection for package installation
Vibe Coding
If you’re building agents via vibe coding, give the model these generated maps of GIS MCP:
llms.txt: curated summary for smaller windows.llms-full.txt: full documentation map for larger windows.
Copies also live in the repository root (llms.txt, llms-full.txt). They are regenerated from the docs during the MkDocs build.
🛠 Installation
Choose the installation method that best suits your needs:
🐳 Docker Installation
GIS MCP Server can be run using Docker, which provides an isolated environment with all dependencies pre-installed.
Important: Both Dockerfile and Dockerfile.local have HTTP transport mode enabled by default. The server runs on port 9010 and is accessible at http://localhost:9010/mcp.
Using Dockerfile
The main Dockerfile installs the package from PyPI:
Build the Docker image:
docker build -t gis-mcp .Run the container (HTTP mode is enabled by default):
docker run -p 9010:9010 gis-mcpUsing Dockerfile.local
The Dockerfile.local installs the package from local source files (useful for development or custom builds):
Build the Docker image:
docker build -f Dockerfile.local -t gis-mcp:local .Run the container (HTTP mode is enabled by default):
docker run -p 9010:9010 gis-mcp:localThe server will be available at http://localhost:9010/mcp in HTTP transport mode.
For more details on Docker configuration and environment variables, see the Docker installation guide.
📦 pip Installation
The pip installation is recommended for most users:
Install uv package manager:
pip install uvCreate the Virtual Environment (Python 3.10+):
uv venv --python=3.10Activate the Virtual Environment:
On Windows (PowerShell):
.\.venv\Scripts\Activate.ps1On Linux:
source .venv/bin/activateInstall the package:
uv pip install gis-mcpInstall with Visualization Features
To install with visualization capabilities (Folium and PyDeck for interactive maps):
uv pip install gis-mcp[visualize]This will install additional dependencies:
folium>=0.15.0- For creating interactive web mapspydeck>=0.9.0- For advanced 3D visualizations
Start the server:
gis-mcpBy default, the server runs in STDIO transport mode, which is ideal for local development and integration with Claude Desktop or Cursor IDE.
You can also run the server in HTTP transport mode for network deployments:
export GIS_MCP_TRANSPORT=http
export GIS_MCP_PORT=8080
gis-mcpWhen running in HTTP or SSE transport mode, the following endpoints are available:
MCP endpoint:
http://host:port/mcp(HTTP) orhttp://host:port/sse(SSE)Storage endpoints:
POST /storage/upload- Upload files to server storageGET /storage/download?path=<file>- Download files from server storageGET /storage/list?path=<dir>- List files in server storage
For more details on transport modes and complete endpoint documentation, see:
pip Configuration
To use the pip installation with Claude or Cursor, add the following configuration:
Claude Desktop:
Windows:
{
"mcpServers": {
"gis-mcp": {
"command": "C:\\Users\\YourUsername\\.venv\\Scripts\\gis-mcp",
"args": []
}
}
}Linux/Mac:
{
"mcpServers": {
"gis-mcp": {
"command": "/home/YourUsername/.venv/bin/gis-mcp",
"args": []
}
}
}Cursor IDE (create .cursor/mcp.json):
Windows:
{
"mcpServers": {
"gis-mcp": {
"command": "C:\\Users\\YourUsername\\.venv\\Scripts\\gis-mcp",
"args": []
}
}
}Linux/Mac:
{
"mcpServers": {
"gis-mcp": {
"command": "/home/YourUsername/.venv/bin/gis-mcp",
"args": []
}
}
}After configuration:
Make sure to replace
YourUsernamewith your actual usernameFor development installation, replace
/path/to/gis-mcpwith the actual path to your projectRestart your IDE to apply the changes
You can now use all GIS operations through Claude or Cursor!
🛠 Development Installation
For contributors and developers:
Install uv package manager:
pip install uvCreate the Virtual Environment:
uv venv --python=3.10Install the package in development mode:
uv pip install -e .Start the server:
python -m gis_mcpDevelopment Configuration
To use the development installation with Claude or Cursor, add the following configuration:
Claude Desktop:
Windows:
{
"mcpServers": {
"gis-mcp": {
"command": "C:\\path\\to\\gis-mcp\\.venv\\Scripts\\python",
"args": ["-m", "gis_mcp"]
}
}
}Linux/Mac:
{
"mcpServers": {
"gis-mcp": {
"command": "/path/to/gis-mcp/.venv/bin/python",
"args": ["-m", "gis_mcp"]
}
}
}Cursor IDE (create .cursor/mcp.json):
Windows:
{
"mcpServers": {
"gis-mcp": {
"command": "C:\\path\\to\\gis-mcp\\.venv\\Scripts\\python",
"args": ["-m", "gis_mcp"]
}
}
}Linux/Mac:
{
"mcpServers": {
"gis-mcp": {
"command": "/path/to/gis-mcp/.venv/bin/python",
"args": ["-m", "gis_mcp"]
}
}
}After configuration:
Make sure to replace
YourUsernamewith your actual usernameFor development installation, replace
/path/to/gis-mcpwith the actual path to your projectRestart your IDE to apply the changes
You can now use all GIS operations through Claude or Cursor!
🤖 Build Your First GIS AI Agent
Create agents that call real GIS MCP tools (not invented spatial math).
LangChain (Python) — park buffer proximity
Tutorial: Park buffer proximity agent
Sample: agents/Langchain/
LangGraph (Python) — stateful site coverage
Tutorial: Stateful site-coverage workflow
Sample: agents/LangGraph/
Explicit graph: interpret → plan → execute GIS MCP tools → validate → respond
Verify without an LLM:
python agents/LangGraph/verify_graph.py
LangGraph (Python) — multi-agent setback
Tutorial: Multi-agent setback workflow
Planner / Analysis / Validation agents; only Analysis calls GIS MCP
Verify:
python agents/LangGraph/verify_multi_agent.py
More agent docs
Minimal starters: templates/ (langchain-gis-agent, langgraph-gis-workflow, langgraph-multi-agent-gis)
Also available: OpenAI Agents SDK (Node.js)
📝 Medium article (LangChain intro) →
📚 Available Functions
This section provides a comprehensive list of all available functions organized by library.
🔷 Shapely Functions (29 total)
Basic Geometric Operations:
buffer- Create buffer around geometryintersection- Find intersection of two geometriesunion- Combine two geometriesdifference- Find difference between geometriessymmetric_difference- Find symmetric difference
Geometric Properties:
convex_hull- Calculate convex hullenvelope- Get bounding boxminimum_rotated_rectangle- Get minimum rotated rectangleget_centroid- Get centroid pointget_bounds- Get geometry boundsget_coordinates- Extract coordinate arrayget_geometry_type- Get geometry type name
Transformations:
rotate_geometry- Rotate geometry by anglescale_geometry- Scale geometry by factorstranslate_geometry- Move geometry by offset
Advanced Operations:
triangulate_geometry- Create triangulationvoronoi- Create Voronoi diagramunary_union_geometries- Union multiple geometries
Measurements:
get_length- Calculate geometry lengthget_area- Calculate geometry area
Validation & Utilities:
is_valid- Check geometry validitymake_valid- Fix invalid geometrysimplify- Simplify geometrysnap_geometry- Snap to reference geometrynearest_point_on_geometry- Find nearest pointnormalize_geometry- Normalize orientationgeometry_to_geojson- Convert to GeoJSONgeojson_to_geometry- Convert from GeoJSON
🔷 PyProj Functions (13 total)
Coordinate Transformations:
transform_coordinates- Transform point coordinatesproject_geometry- Project geometry between CRS
CRS Information:
get_crs_info- Get detailed CRS informationget_available_crs- List available CRS systemsget_utm_zone- Get UTM zone for coordinatesget_utm_crs- Get UTM CRS for coordinatesget_geocentric_crs- Get geocentric CRS
Geodetic Calculations:
get_geod_info- Get ellipsoid informationcalculate_geodetic_distance- Calculate distance on ellipsoidcalculate_geodetic_point- Calculate point at distance/azimuthcalculate_geodetic_area- Calculate area on ellipsoid
🔷 GeoPandas Functions (13 total)
I/O Operations:
read_file_gpd- Read geospatial file with previewwrite_file_gpd- Export GeoDataFrame to file
Join & Merge Operations:
append_gpd- Concatenate GeoDataFrames verticallymerge_gpd- Database-style attribute joinsoverlay_gpd- Spatial overlay operationsdissolve_gpd- Dissolve by attributeexplode_gpd- Split multi-part geometries
Spatial Operations:
clip_vector- Clip geometriessjoin_gpd- Spatial joinssjoin_nearest_gpd- Nearest neighbor spatial joinspoint_in_polygon- Point-in-polygon tests
🔷 Rasterio Functions (20 total)
Basic Raster Operations:
metadata_raster- Get raster metadataget_raster_crs- Get raster CRSextract_band- Extract single bandraster_band_statistics- Calculate band statisticsraster_histogram- Compute pixel histograms
Raster Processing:
clip_raster_with_shapefile- Clip raster with polygonsresample_raster- Resample by scale factorreproject_raster- Reproject to new CRStile_raster- Split into tiles
Raster Analysis:
compute_ndvi- Calculate vegetation indexraster_algebra- Mathematical operations on bandsconcat_bands- Combine single-band rastersweighted_band_sum- Weighted band combination
Advanced Analysis:
zonal_statistics- Statistics within polygonsreclassify_raster- Reclassify pixel valuesfocal_statistics- Moving window statisticshillshade- Generate hillshade from DEMwrite_raster- Write array to raster file
🔷 PySAL Functions (18 total)
Spatial Autocorrelation:
morans_i- Global Moran's I statisticgearys_c- Global Geary's C statisticgamma_statistic- Gamma indexgetis_ord_g- Global Getis-Ord G statistic
Local Statistics:
moran_local- Local Moran's Igetis_ord_g_local- Local Getis-Ord G*join_counts_local- Local join counts
Global Statistics:
join_counts- Binary join counts testadbscan- Adaptive density-based clustering
Spatial Weights:
weights_from_shapefile- Create weights from shapefiledistance_band_weights- Distance-based weightsknn_weights- K-nearest neighbors weightsbuild_transform_and_save_weights- Build, transform, and save weightsols_with_spatial_diagnostics_safe- OLS regression with spatial diagnosticsbuild_and_transform_weights- Build and transform weights
Spatial-Temporal Analysis:
spatial_markov- Spatial Markov analysis for panel datadynamic_lisa- Dynamic LISA (directional LISA) analysis
Spatial Regression:
gm_lag- GM_Lag spatial 2SLS/GMM-IV spatial lag model
🔷 Visualization Functions (2 total)
Static Map Visualization (Matplotlib/GeoPandas):
create_map– Generate high-quality static maps (PNG, PDF, JPG) from multiple geospatial data sources including shapefiles, rasters, WKT geometries, and coordinate arrays. Supports multiple layers with individual styling options, legends, titles, and grid overlays.
Interactive Web Map Visualization (Folium):
create_web_map– Generate interactive HTML maps using Folium with layer controls, legends, scale bars, dynamic titles, tooltips, and minimap. Supports multiple basemap options and responsive design for web browsers.
🔷 Administrative Boundaries Functions (1 total)
Boundary Download:
download_boundaries- Download GADM administrative boundaries and save as GeoJSON
🔷 Climate Data Functions (1 total)
Climate Data Download:
download_climate_data- Download climate data (ERA5 or other CDS datasets)
🔷 Ecology Data Functions (2 total)
Ecology Data Download and Info:
get_species_info– Retrieve taxonomic information for a given species namedownload_species_occurrences– Download occurrence records for a given species and save as JSON
🔷 Movement Data Functions (2 total)
Movement Data Download and Routing (via OSMnx):
download_street_network– Download a street network for a given place and save as GraphMLcalculate_shortest_path– Calculate the shortest path between two points using a saved street network
🔷 Land Cover Data Functions (2 total)
Land Cover from Planetary Computer:
download_worldcover– Download ESA WorldCover for AOI/year; optional crop and reprojectioncompute_s2_ndvi– Compute NDVI from Sentinel-2 L2A; crop and reprojection supported
🔷 Satellite Imagery Functions (1 total)
STAC-based Satellite Download:
download_satellite_imagery– Download and stack bands from STAC items (e.g., Sentinel-2, Landsat), with optional crop and reprojection
Total Functions Available: 92
🛠 Client Development
Example usage of the tools:
Buffer Operation
Tool: buffer
Parameters: {
"geometry": "POINT(0 0)",
"distance": 10,
"resolution": 16,
"join_style": 1,
"mitre_limit": 5.0,
"single_sided": false
}Coordinate Transformation
Tool: transform_coordinates
Parameters: {
"coordinates": [0, 0],
"source_crs": "EPSG:4326",
"target_crs": "EPSG:3857"
}Geodetic Distance
Tool: calculate_geodetic_distance
Parameters: {
"point1": [0, 0],
"point2": [10, 10],
"ellps": "WGS84"
}Static Map Creation
Tool: create_map
Parameters: {
"layers": [
{
"data": "buildings.shp",
"style": {"label": "Buildings", "color": "red", "alpha": 0.7}
},
{
"data": "roads.shp",
"style": {"label": "Roads", "color": "black", "linewidth": 1}
}
],
"filename": "city_analysis",
"filetype": "png",
"title": "City Infrastructure Analysis",
"show_grid": true,
"add_legend": true
}Interactive Web Map Creation
Tool: create_web_map
Parameters: {
"layers": [
{
"data": "buildings.shp",
"style": {"label": "Buildings", "color": "red"}
},
{
"data": "parks.geojson",
"style": {"label": "Parks", "color": "green"}
}
],
"filename": "city_interactive.html",
"title": "City Infrastructure Map",
"basemap": "CartoDB positron",
"show_grid": true,
"add_legend": true,
"add_minimap": true
}🔮 Planned Features
Implement advanced spatial indexing
Implement network analysis capabilities
Add support for 3D geometries
Implement performance optimizations
Add support for more GIS libraries
🤝 Contributing
We welcome contributions! Here's how you can help:
Fork the repository
Create a feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
Please ensure your PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Related Projects
Project Name | Category | Description |
MCP Related | The core MCP Specification | |
MCP Related | The fast, Pythonic way to build MCP servers and clients | |
Geospatial Analysis | Python package for manipulation and analysis of geometric objects | |
Geospatial Analysis | Python interface to PROJ library | |
Geospatial Analysis | Python package for working with geospatial data | |
Geospatial Analysis | Python package for reading and writing geospatial raster data | |
Geospatial Analysis | Python interface to OGR library for reading and writing vector geospatial data formats | |
Geospatial Analysis | Python spatial analysis library for geospatial data science | |
Visualization | Python library for creating interactive web maps using Leaflet.js | |
Visualization | Python library for creating advanced 3D visualizations and interactive maps | |
Visualization | Python plotting library for creating static maps and visualizations | |
Geospatial Data Collecting | Python API to access the Copernicus Climate Data Store (CDS) | |
Geospatial Data Collecting | Easy access to administrative boundary defined by GADM from Python scripts | |
Geospatial Data Collecting | Python client for the GBIF API (ecology and biodiversity data) | |
Geospatial Data Collecting | Python package for downloading, modeling, and analyzing street networks and urban features from OpenStreetMap | |
Geospatial Data Collecting | Python client for STAC catalogs; search and access spatiotemporal assets | |
Geospatial Data Collecting | Python SDK for Microsoft Planetary Computer; auth and helpers for STAC/COGs |
🔗 Related MCP Servers
Server Name | Description |
A Model Context Protocol (MCP) server implementation that connects LLMs to the GeoServer REST API |
📞 Support
For support, please open an issue in the GitHub repository.
💬 Community
Join our Discord community for discussions, updates, and support:
👥 Contributors
Made with contrib.rocks.
🏆 Badges
Available Tools
87 toolsadbscanC
Adaptive DBSCAN clustering (requires coordinates, no dependent_var).
Inputs: shapefile_path (required), eps, target_crs, max_records, +3 more.
append_gpdC
Vertically concatenate two vector files and save a shapefile.
Inputs: output_path (required), shapefile1_path (required), shapefile2_path (required).
bufferC
Create a buffer around a geometry.
Inputs: distance (required), geometry (required), join_style, resolution, +2 more.
build_and_transform_weightsC
Build and transform spatial weights in memory. method is queen, rook, distance_band, or knn.
Inputs: data_path (required), k, binary, method, +3 more.
build_transform_and_save_weightsC
Build spatial weights, optionally transform them, and save a GAL or GWT file. method is queen, rook, distance_band, or knn.
Inputs: data_path (required), k, binary, format, +6 more.
calculate_geodetic_areaC
Calculate area of a polygon using geodetic calculations.
Inputs: geometry (required), ellps.
calculate_geodetic_distanceC
Calculate geodetic distance between points.
Inputs: point1 (required), point2 (required), ellps.
calculate_geodetic_pointC
Calculate point at given distance and azimuth.
Inputs: azimuth (required), distance (required), start_point (required), ellps.
clip_raster_with_shapefileC
Clip a raster to shapefile polygons and save it. The shapefile is reprojected to the raster CRS when needed.
Inputs: destination (required), shapefile_path (required), raster_path_or_url (required).
clip_vectorC
Clip vector features to the polygon extent of another vector file.
Inputs: gdf_path (required), clip_path (required), offset, columns, +4 more.
compute_ndviC
Compute NDVI from red and near-infrared band indexes and save a GeoTIFF.
Inputs: source (required), destination (required), nir_band_index (required), red_band_index (required).
concat_bandsC
Stack single-band rasters into one multi-band raster.
Inputs: destination (required), folder_path (required).
convex_hullC
Calculate convex hull of a geometry.
Inputs: geometry (required).
differenceC
Find difference between geometries.
Inputs: geometry1 (required), geometry2 (required).
dissolve_gpdC
Dissolve vector features, optionally grouped by one attribute column.
Inputs: gdf_path (required), by, offset, columns, +4 more.
distance_band_weightsC
Build distance-band spatial weights from point coordinates. threshold is in CRS units.
Inputs: data_path (required), threshold (required), binary, id_field.
dynamic_lisaC
Directional LISA (Rose diagram) for a panel of regional values.
Inputs: value_columns (required), shapefile_path (required), k, drop_na, +6 more.
envelopeC
Get bounding box of a geometry.
Inputs: geometry (required).
explode_gpdC
Split multi-part geometries into single-part features.
Inputs: gdf_path (required), offset, columns, precision, +3 more.
extract_bandC
Extract one band by index and save a single-band raster.
Inputs: source (required), band_index (required), destination (required).
focal_statisticsC
Moving-window statistic on a raster. statistic is mean, min, max, or std. size is the window width in pixels.
Inputs: statistic (required), raster_path (required), size, output_path.
gamma_statisticC
Compute Gamma Statistic for spatial autocorrelation.
Inputs: shapefile_path (required), target_crs, dependent_var, distance_threshold.
gearys_cC
Compute Global Geary's C Autocorrelation Statistic.
Inputs: shapefile_path (required), target_crs, dependent_var, distance_threshold.
geojson_to_geometryC
Convert GeoJSON to a Shapely geometry using shapely.geometry.shape. Args: geojson: GeoJSON dictionary. Returns: Dictionary with status, message, and geometry as WKT.
Inputs: geojson (required).
geometry_to_geojsonA
Convert a Shapely geometry (WKT) to GeoJSON using shapely.geometry.mapping. Args: geometry: WKT string of the geometry. Returns: Dictionary with status, message, and GeoJSON representation.
Inputs: geometry (required).
get_areaC
Get the area of a geometry.
Inputs: geometry (required).
get_available_crsB
List EPSG coordinate reference systems, 100 by default, same as before. query filters by code or name. limit caps the list.
Inputs: limit, query.
get_boundsC
Get the bounds of a geometry.
Inputs: geometry (required).
get_centroidC
Get the centroid of a geometry.
Inputs: geometry (required).
get_coordinatesB
List coordinates of a point or line. precision rounds values. max_coords and offset page long lines.
Inputs: geometry (required), offset, precision, max_coords.
get_crs_infoC
Get information about a CRS.
Inputs: crs (required).
get_geocentric_crsC
Get geocentric CRS for given coordinates.
Inputs: coordinates (required).
get_geod_infoD
Get information about a geodetic calculation.
Inputs: a, b, f, ellps.
get_geometry_typeC
Get the type of a geometry.
Inputs: geometry (required).
getis_ord_gC
Compute Getis-Ord G for global hot spot analysis.
Inputs: shapefile_path (required), target_crs, dependent_var, distance_threshold.
getis_ord_g_localC
Local Getis-Ord G. Pass max_records to cap per-feature arrays.
Inputs: shapefile_path (required), target_crs, max_records, dependent_var, +1 more.
get_lengthC
Get the length of a geometry.
Inputs: geometry (required).
get_raster_crsC
Raster CRS as a PROJ dict and WKT. Accepts a local path or HTTPS URL.
Inputs: path_or_url (required).
get_utm_crsC
Get UTM CRS for given coordinates.
Inputs: coordinates (required).
get_utm_zoneC
Get UTM zone for given coordinates.
Inputs: coordinates (required).
gm_lagC
Spatial lag regression (GM/GMM). Returns coefficients, standard errors, and fit statistics.
Inputs: y_col (required), x_cols (required), shapefile_path (required), lag_q, +11 more.
hillshadeC
Create a hillshade raster from an elevation raster.
Inputs: raster_path (required), azimuth, output_path, angle_altitude.
intersectionC
Find intersection of two geometries.
Inputs: geometry1 (required), geometry2 (required).
is_validC
Check if a geometry is valid.
Inputs: geometry (required).
join_countsD
Global Binary Join Counts.
Inputs: shapefile_path (required), target_crs, dependent_var, distance_threshold.
join_counts_localC
Local join counts for a binary attribute. Pass max_records to cap the per-feature array.
Inputs: shapefile_path (required), target_crs, max_records, dependent_var, +1 more.
knn_weightsC
Build k-nearest-neighbor spatial weights from point coordinates.
Inputs: k (required), data_path (required), id_field.
make_validC
Make a geometry valid.
Inputs: geometry (required).
merge_gpdB
Attribute join of two vector files. Keeps the first file's geometry and uses an inner join on shared column names.
Inputs: output_path (required), shapefile1_path (required), shapefile2_path (required).
metadata_rasterB
Raster grid metadata: size, band count, dtype, nodata, CRS, bounds, and affine transform. Accepts a local path or HTTPS URL.
Inputs: path_or_url (required).
minimum_rotated_rectangleC
Get minimum rotated rectangle of a geometry.
Inputs: geometry (required).
moran_localD
Local Moran's I. Pass max_records to cap per-feature arrays.
Inputs: shapefile_path (required), target_crs, max_records, dependent_var, +1 more.
morans_iC
Compute Moran's I Global Autocorrelation Statistic.
Inputs: shapefile_path (required), target_crs, dependent_var, distance_threshold.
nearest_point_on_geometryB
Find the nearest point on geometry2 to geometry1 using shapely.ops.nearest_points. Args: geometry1: WKT string of the first geometry (e.g., a point). geometry2: WKT string of the second geometry. Returns: Dictionary with status, message, and the nearest point as WKT.
Inputs: geometry1 (required), geometry2 (required).
normalize_geometryA
Normalize the orientation/order of a geometry using shapely.normalize. Args: geometry: WKT string of the geometry. Returns: Dictionary with status, message, and normalized geometry as WKT.
Inputs: geometry (required).
ols_with_spatial_diagnostics_safeC
Ordinary least squares with spatial diagnostics. weights_method is queen, rook, distance_band, or knn.
Inputs: y_field (required), x_fields (required), data_path (required), k, +5 more.
overlay_gpdC
Spatial overlay of two vector files. how is intersection, union, identity, symmetric_difference, or difference.
Inputs: gdf1_path (required), gdf2_path (required), how, offset, +5 more.
point_in_polygonC
Assign each point the attributes of the polygon that contains it.
Inputs: points_path (required), polygons_path (required), offset, columns, +4 more.
project_geometryC
Project a geometry between CRS.
Inputs: geometry (required), source_crs (required), target_crs (required).
raster_algebraC
Add or subtract two raster bands and save the result.
Inputs: raster1 (required), raster2 (required), operation (required), band_index (required), +1 more.
raster_band_statisticsC
Min, max, mean, and standard deviation for each raster band.
Inputs: source (required).
raster_histogramC
Per-band histogram of pixel values. The default uses the requested bins. compact=true returns at most 32 bins.
Inputs: source (required), bins, compact.
read_file_gpdB
Summarize a vector file: row count, columns, CRS, bounds, and a 5-row preview that includes WKT. Pass include_geometry=false to omit geometry.
Inputs: file_path (required), bbox, offset, columns, +4 more.
reclassify_rasterC
Replace raster cell values using a mapping of old value to new value and save the raster.
Inputs: output_path (required), raster_path (required), reclass_map (required).
reproject_rasterC
Reproject a raster to a target CRS and save the result.
Inputs: source (required), target_crs (required), destination (required), resampling.
resample_rasterC
Resample a raster by a scale factor and save the result.
Inputs: source (required), resampling (required), destination (required), scale_factor (required).
rotate_geometryC
Rotate a geometry.
Inputs: angle (required), geometry (required), origin, use_radians.
save_resultsC
Save a previous tool result dictionary to files under the storage folder.
Inputs: data (required), folder, formats, filename.
scale_geometryD
Scale a geometry.
Inputs: xfact (required), yfact (required), geometry (required), origin.
simplifyD
Simplify a geometry.
Inputs: geometry (required), tolerance (required), preserve_topology.
sjoin_gpdC
Spatial join of two vector files. how is left, right, or inner. predicate is intersects, within, contains, crosses, overlaps, or touches.
Inputs: left_path (required), right_path (required), how, offset, +6 more.
sjoin_nearest_gpdC
Join each feature to the nearest feature in another file. Optional max_distance is in CRS units.
Inputs: left_path (required), right_path (required), how, offset, +6 more.
snap_geometryB
Snap one geometry to another using shapely.ops.snap. Args: geometry1: WKT string of the geometry to be snapped. geometry2: WKT string of the reference geometry. tolerance: Distance tolerance for snapping. Returns: Dictionary with status, message, and snapped geometry as WKT.
Inputs: geometry1 (required), geometry2 (required), tolerance (required).
spatial_markovC
Spatial Markov transition matrix for a panel of regional values stored as columns.
Inputs: value_columns (required), shapefile_path (required), k, m, +8 more.
symmetric_differenceC
Find symmetric difference between geometries.
Inputs: geometry1 (required), geometry2 (required).
tile_rasterC
Split a raster into square tiles of tile_size pixels and save them.
Inputs: source (required), tile_size (required), destination_dir (required).
transform_coordinatesC
Transform coordinates between CRS.
Inputs: source_crs (required), target_crs (required), coordinates (required).
translate_geometryD
Translate a geometry.
Inputs: xoff (required), yoff (required), geometry (required), zoff.
triangulate_geometryC
Create a triangulation of a geometry.
Inputs: geometry (required).
unary_union_geometriesC
Create a union of multiple geometries.
Inputs: geometries (required).
unionC
Combine two geometries.
Inputs: geometry1 (required), geometry2 (required).
voronoiC
Create a Voronoi diagram from points.
Inputs: geometry (required).
weighted_band_sumC
Weighted sum of raster bands, saved as one band.
Inputs: source (required), weights (required), destination (required).
weights_from_shapefileB
Build queen or rook contiguity weights. Returns a neighbor summary, not the full weights matrix.
Inputs: shapefile_path (required), id_field, contiguity.
write_file_gpdB
Export a vector file to another path. driver may be ESRI Shapefile, GeoJSON, or GPKG.
Inputs: gdf_path (required), output_path (required), driver.
write_rasterC
Write a 2D array as a raster using the grid of a reference raster.
Inputs: array (required), output_path (required), reference_raster (required), dtype.
zonal_statisticsC
Summarize raster values inside each polygon. stats can include mean, min, max, std, and count.
Inputs: raster_path (required), vector_path (required), stats, offset, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 87 tools
Many tools are clearly distinct, but several overlapping clusters exist: project_geometry vs transform_coordinates, build_transform_and_save_weights vs build_and_transform_weights, weights_from_shapefile/distance_band_weights/knn_weights, and point_in_polygon vs sjoin_gpd. Descriptions help, but the sheer number of similar spatial-weights and CRS tools makes misselection plausible.
All names are snake_case and generally descriptive, but the verb convention is mixed: some are verb_noun (get_area, clip_raster_with_shapefile), some are bare verbs (buffer, union, simplify), and some use noun-first or statistical labels (morans_i, distance_band_weights, spatial_markov). The _gpd suffix is useful but inconsistently applied to vector operations.
87 tools is far too many for a single MCP server, even for a broad GIS domain. The surface spans geometry, vector I/O, raster processing, CRS utilities, spatial weights, autocorrelation, and regression, which would be better split into narrower servers or grouped tool families.
Coverage is extensive across vector, raster, CRS, spatial statistics, weights, and regression workflows, with read/write/append/overlay/dissolve/sjoin operations present. Minor gaps remain, such as vector-file reprojection and attribute filtering/editing, but most GIS workflows are well supported.
Maintenance
Related MCP Connectors
Pay-per-call GIS tools for AI agents: coordinates, measurement, reprojection, elevation, terrain.
Geospatial AI MCP server — satellite imagery, embeddings, weather, GNS governance
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Japan geodata: cadastral lot numbers (chiban) and reverse geocoding, for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude AI to QGIS, enabling direct interaction with the GIS software for project creation, layer manipulation, code execution, and processing algorithms through natural language prompts.1510Creative Commons Zero v1.0 Universal
- AlicenseAqualityCmaintenanceA Model Context Protocol server that connects Large Language Models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language.996MIT
- AlicenseAqualityDmaintenanceAn MCP server that gives LLMs access to geographic data conversion tools, enabling transformations between different formats like WKT, GeoJSON, CSV, TopoJSON, and KML, as well as performing reverse geocoding.919 npm18MIT
- FlicenseNot gradedqualityDmaintenanceA geographic ontology layer MCP server that exposes hierarchical relations, topological adjacency, toponym disambiguation, spatial operations, and geo-constraint verification, enabling LLMs to reason with geographic structures instead of raw SQL.-