Metadata-Version: 2.4
Name: gis-rs-mcp
Version: 0.1.0
Summary: A Model Context Protocol (MCP) server for GIS and remote-sensing operations
Author: Mahdi Nazari Ashani, Saba Kazemi, Shahab Esfandiar, Yasin Mohammadi, Homa Ganjali, GIS MCP Server Contributors
License: MIT License
        
        Copyright (c) 2025 Mahdi Nazari Ashani
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: agentic AI,cdsapi,fiona,geopandas,geospatial,gis,llm,mcp,ogc,pygadm,pygbif,pyproj,pysal,rasterio,shapely
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: <3.13,>=3.10
Requires-Dist: esda>=2.7.0
Requires-Dist: fastmcp==2.13.1
Requires-Dist: fiona==1.9.6
Requires-Dist: geopandas==1.1.1
Requires-Dist: giddy>=2.3.6
Requires-Dist: libpysal>=4.13.0
Requires-Dist: numpy<2.0,>=1.23
Requires-Dist: pandas>=2.0.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: pyproj>=3.7.1
Requires-Dist: pyyaml>=6.0
Requires-Dist: rasterio==1.3.9
Requires-Dist: shapely>=2.1.0
Requires-Dist: spreg==1.8.3
Requires-Dist: tabulate>=0.9.0
Provides-Extra: administrative-boundaries
Requires-Dist: pygadm>=0.5.0; extra == 'administrative-boundaries'
Provides-Extra: all
Requires-Dist: cdsapi==0.7.6; extra == 'all'
Requires-Dist: folium>=0.15.0; extra == 'all'
Requires-Dist: osmnx>=2.0.0; extra == 'all'
Requires-Dist: planetary-computer>=1.0.0; extra == 'all'
Requires-Dist: pydeck>=0.9.0; extra == 'all'
Requires-Dist: pygadm>=0.5.0; extra == 'all'
Requires-Dist: pygbif>=0.6.4; extra == 'all'
Requires-Dist: pystac-client>=0.7.6; extra == 'all'
Requires-Dist: requests>=2.31; extra == 'all'
Requires-Dist: stackstac>=0.5.0; extra == 'all'
Requires-Dist: xarray>=2023.1.0; extra == 'all'
Provides-Extra: climate
Requires-Dist: cdsapi>=0.6.1; extra == 'climate'
Provides-Extra: ecology
Requires-Dist: pygbif>=0.6.4; extra == 'ecology'
Provides-Extra: land-cover
Requires-Dist: planetary-computer>=1.0.0; extra == 'land-cover'
Requires-Dist: pystac-client>=0.7.6; extra == 'land-cover'
Requires-Dist: requests>=2.31; extra == 'land-cover'
Requires-Dist: stackstac>=0.5.0; extra == 'land-cover'
Requires-Dist: xarray>=2023.1.0; extra == 'land-cover'
Provides-Extra: movement
Requires-Dist: osmnx>=2.0.0; extra == 'movement'
Provides-Extra: satellite-imagery
Requires-Dist: planetary-computer>=1.0.0; extra == 'satellite-imagery'
Requires-Dist: pystac-client>=0.7.6; extra == 'satellite-imagery'
Requires-Dist: requests>=2.31; extra == 'satellite-imagery'
Requires-Dist: stackstac>=0.5.0; extra == 'satellite-imagery'
Requires-Dist: xarray>=2023.1.0; extra == 'satellite-imagery'
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'test'
Requires-Dist: pytest-cov>=4.1.0; extra == 'test'
Requires-Dist: pytest>=7.4.0; extra == 'test'
Provides-Extra: visualize
Requires-Dist: folium>=0.15.0; extra == 'visualize'
Requires-Dist: pydeck>=0.9.0; extra == 'visualize'
Description-Content-Type: text/markdown

# gis-rs-mcp

`gis-rs-mcp` is an enhanced GIS MCP server build with lightweight remote-sensing tools.

It keeps the Python module name `gis_mcp` and the command name `gis-mcp`, while publishing under a separate PyPI distribution name because the original `gis-mcp` project name is already owned on PyPI.

## Install

```bash
pip install gis-rs-mcp
```

Optional data/visualization extras:

```bash
pip install "gis-rs-mcp[satellite-imagery,land-cover,visualize]"
```

Run the MCP server:

```bash
gis-mcp
```

## Remote-Sensing Tools

Built-in sensor presets:

- Sentinel-2
- Landsat 4/5/7
- Landsat 8
- Landsat 9
- MODIS
- NAIP
- PlanetScope-style stacks

Common indices:

- NDVI
- GNDVI
- NDWI
- MNDWI
- NDMI
- NDBI
- NBR
- NBR2
- EVI
- SAVI
- MSAVI
- NDRE

Useful tools include:

- `list_remote_sensing_sensors`
- `get_sensor_band_preset`
- `list_spectral_indices`
- `compute_spectral_index`
- `get_satellite_download_preset`
- `describe_remote_sensing_data_sources`

`compute_spectral_index` works on local or HTTPS GeoTIFF rasters and can use either a sensor preset or an explicit band map.

## Data Accounts

The default STAC download path is Microsoft Planetary Computer, which usually does not require a personal account for Sentinel-2, Landsat, MODIS, NAIP, and ESA WorldCover. Other providers are optional and commonly require credentials:

- Copernicus Data Space: Copernicus account/token
- USGS EarthExplorer/M2M: USGS EROS account
- NASA Earthdata/LAADS: NASA Earthdata Login token
- Sentinel Hub: Sentinel Hub account/quota
- Google Earth Engine: Google account/project authentication

The MCP itself does not require a VPN; network reliability depends on the user's route to the selected data service.
