Skip to main content
Glama
GIS MCP Server
by mahdin75

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.

MCP Toplist

Category

Badges

Package

PyPI version PyPI downloads Tests

Installation & Transport

Docker Installation Transport

Storage

Local Filesystem GCP Cloud Storage

Data Sources

Climate Biodiversity LandCover Movement Satellite Administrative

Agentic AI

LangChain Agent Example OpenAI Agent Example

Community

Discord YouTube DeepWiki

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, or limit when a smaller payload is enough. Set GIS_MCP_STRUCTURED_CONTENT=0 to skip the duplicate structured copy.

  • Start a smaller catalog with --modules geometry,vector or GIS_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)

--storage-path or GIS_MCP_STORAGE_PATH

Google Cloud Storage (GCP)

When you want files in a GCS bucket

--storage-config / GIS_MCP_STORAGE_CONFIG or GIS_MCP_STORAGE_PROVIDER=gcp

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:

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:

  1. Build the Docker image:

docker build -t gis-mcp .
  1. Run the container (HTTP mode is enabled by default):

docker run -p 9010:9010 gis-mcp

Using Dockerfile.local

The Dockerfile.local installs the package from local source files (useful for development or custom builds):

  1. Build the Docker image:

docker build -f Dockerfile.local -t gis-mcp:local .
  1. Run the container (HTTP mode is enabled by default):

docker run -p 9010:9010 gis-mcp:local

The 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:

  1. Install uv package manager:

pip install uv
  1. Create the Virtual Environment (Python 3.10+):

uv venv --python=3.10
  1. Activate the Virtual Environment:

On Windows (PowerShell):

.\.venv\Scripts\Activate.ps1

On Linux:

source .venv/bin/activate
  1. Install the package:

uv pip install gis-mcp

Install 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 maps

  • pydeck>=0.9.0 - For advanced 3D visualizations

  1. Start the server:

gis-mcp

By 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-mcp

When running in HTTP or SSE transport mode, the following endpoints are available:

  • MCP endpoint: http://host:port/mcp (HTTP) or http://host:port/sse (SSE)

  • Storage endpoints:

    • POST /storage/upload - Upload files to server storage

    • GET /storage/download?path=<file> - Download files from server storage

    • GET /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:

  1. Make sure to replace YourUsername with your actual username

  2. For development installation, replace /path/to/gis-mcp with the actual path to your project

  3. Restart your IDE to apply the changes

  4. You can now use all GIS operations through Claude or Cursor!

🛠 Development Installation

For contributors and developers:

  1. Install uv package manager:

pip install uv
  1. Create the Virtual Environment:

uv venv --python=3.10
  1. Install the package in development mode:

uv pip install -e .
  1. Start the server:

python -m gis_mcp

Development 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:

  1. Make sure to replace YourUsername with your actual username

  2. For development installation, replace /path/to/gis-mcp with the actual path to your project

  3. Restart your IDE to apply the changes

  4. 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

👉 Agent tutorials overview →

Minimal starters: templates/ (langchain-gis-agent, langgraph-gis-workflow, langgraph-multi-agent-gis)

Also available: OpenAI Agents SDK (Node.js)

📝 Medium article (LangChain intro) →

🎥 YouTube →

📚 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 geometry

  • intersection - Find intersection of two geometries

  • union - Combine two geometries

  • difference - Find difference between geometries

  • symmetric_difference - Find symmetric difference

Geometric Properties:

  • convex_hull - Calculate convex hull

  • envelope - Get bounding box

  • minimum_rotated_rectangle - Get minimum rotated rectangle

  • get_centroid - Get centroid point

  • get_bounds - Get geometry bounds

  • get_coordinates - Extract coordinate array

  • get_geometry_type - Get geometry type name

Transformations:

  • rotate_geometry - Rotate geometry by angle

  • scale_geometry - Scale geometry by factors

  • translate_geometry - Move geometry by offset

Advanced Operations:

  • triangulate_geometry - Create triangulation

  • voronoi - Create Voronoi diagram

  • unary_union_geometries - Union multiple geometries

Measurements:

  • get_length - Calculate geometry length

  • get_area - Calculate geometry area

Validation & Utilities:

  • is_valid - Check geometry validity

  • make_valid - Fix invalid geometry

  • simplify - Simplify geometry

  • snap_geometry - Snap to reference geometry

  • nearest_point_on_geometry - Find nearest point

  • normalize_geometry - Normalize orientation

  • geometry_to_geojson - Convert to GeoJSON

  • geojson_to_geometry - Convert from GeoJSON

🔷 PyProj Functions (13 total)

Coordinate Transformations:

  • transform_coordinates - Transform point coordinates

  • project_geometry - Project geometry between CRS

CRS Information:

  • get_crs_info - Get detailed CRS information

  • get_available_crs - List available CRS systems

  • get_utm_zone - Get UTM zone for coordinates

  • get_utm_crs - Get UTM CRS for coordinates

  • get_geocentric_crs - Get geocentric CRS

Geodetic Calculations:

  • get_geod_info - Get ellipsoid information

  • calculate_geodetic_distance - Calculate distance on ellipsoid

  • calculate_geodetic_point - Calculate point at distance/azimuth

  • calculate_geodetic_area - Calculate area on ellipsoid

🔷 GeoPandas Functions (13 total)

I/O Operations:

  • read_file_gpd - Read geospatial file with preview

  • write_file_gpd - Export GeoDataFrame to file

Join & Merge Operations:

  • append_gpd - Concatenate GeoDataFrames vertically

  • merge_gpd - Database-style attribute joins

  • overlay_gpd - Spatial overlay operations

  • dissolve_gpd - Dissolve by attribute

  • explode_gpd - Split multi-part geometries

Spatial Operations:

  • clip_vector - Clip geometries

  • sjoin_gpd - Spatial joins

  • sjoin_nearest_gpd - Nearest neighbor spatial joins

  • point_in_polygon - Point-in-polygon tests

🔷 Rasterio Functions (20 total)

Basic Raster Operations:

  • metadata_raster - Get raster metadata

  • get_raster_crs - Get raster CRS

  • extract_band - Extract single band

  • raster_band_statistics - Calculate band statistics

  • raster_histogram - Compute pixel histograms

Raster Processing:

  • clip_raster_with_shapefile - Clip raster with polygons

  • resample_raster - Resample by scale factor

  • reproject_raster - Reproject to new CRS

  • tile_raster - Split into tiles

Raster Analysis:

  • compute_ndvi - Calculate vegetation index

  • raster_algebra - Mathematical operations on bands

  • concat_bands - Combine single-band rasters

  • weighted_band_sum - Weighted band combination

Advanced Analysis:

  • zonal_statistics - Statistics within polygons

  • reclassify_raster - Reclassify pixel values

  • focal_statistics - Moving window statistics

  • hillshade - Generate hillshade from DEM

  • write_raster - Write array to raster file

🔷 PySAL Functions (18 total)

Spatial Autocorrelation:

  • morans_i - Global Moran's I statistic

  • gearys_c - Global Geary's C statistic

  • gamma_statistic - Gamma index

  • getis_ord_g - Global Getis-Ord G statistic

Local Statistics:

  • moran_local - Local Moran's I

  • getis_ord_g_local - Local Getis-Ord G*

  • join_counts_local - Local join counts

Global Statistics:

  • join_counts - Binary join counts test

  • adbscan - Adaptive density-based clustering

Spatial Weights:

  • weights_from_shapefile - Create weights from shapefile

  • distance_band_weights - Distance-based weights

  • knn_weights - K-nearest neighbors weights

  • build_transform_and_save_weights - Build, transform, and save weights

  • ols_with_spatial_diagnostics_safe - OLS regression with spatial diagnostics

  • build_and_transform_weights - Build and transform weights

Spatial-Temporal Analysis:

  • spatial_markov - Spatial Markov analysis for panel data

  • dynamic_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 name

  • download_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 GraphML

  • calculate_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 reprojection

  • compute_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:

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/AmazingFeature)

  3. Commit your changes (git commit -m 'Add some AmazingFeature')

  4. Push to the branch (git push origin feature/AmazingFeature)

  5. 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.

Project Name

Category

Description

Model Context Protocol

MCP Related

The core MCP Specification

FastMCP

MCP Related

The fast, Pythonic way to build MCP servers and clients

Shapely

Geospatial Analysis

Python package for manipulation and analysis of geometric objects

PyProj

Geospatial Analysis

Python interface to PROJ library

GeoPandas

Geospatial Analysis

Python package for working with geospatial data

Rasterio

Geospatial Analysis

Python package for reading and writing geospatial raster data

Fiona

Geospatial Analysis

Python interface to OGR library for reading and writing vector geospatial data formats

PySAL

Geospatial Analysis

Python spatial analysis library for geospatial data science

Folium

Visualization

Python library for creating interactive web maps using Leaflet.js

PyDeck

Visualization

Python library for creating advanced 3D visualizations and interactive maps

Matplotlib

Visualization

Python plotting library for creating static maps and visualizations

cdsapi

Geospatial Data Collecting

Python API to access the Copernicus Climate Data Store (CDS)

pygadm

Geospatial Data Collecting

Easy access to administrative boundary defined by GADM from Python scripts

pygbif

Geospatial Data Collecting

Python client for the GBIF API (ecology and biodiversity data)

OSMnx

Geospatial Data Collecting

Python package for downloading, modeling, and analyzing street networks and urban features from OpenStreetMap

pystac-client

Geospatial Data Collecting

Python client for STAC catalogs; search and access spatiotemporal assets

Planetary Computer SDK for Python

Geospatial Data Collecting

Python SDK for Microsoft Planetary Computer; auth and helpers for STAC/COGs

Server Name

Description

GeoServer MCP

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:

Join our Discord

👥 Contributors

Made with contrib.rocks.

🏆 Badges

PyPI version PyPI downloads

MCP Toplist

Trust Score

Available Tools

87 tools
adbscanC

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

    C2.4/5.0

    Scored across 87 tools

    Disambiguation3/5

    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.

    Naming Consistency3/5

    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.

    Tool Count2/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A 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.
      15
      10
      Creative Commons Zero v1.0 Universal
    • A
      license
      A
      quality
      C
      maintenance
      A 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.
      9
      96
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      -