Install
$ agentstack add mcp-mahdin75-gis-mcp ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
GIS MCP Server
| Category | Badges | | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Package | [](https://pypi.org/project/gis-mcp/) [](https://pepy.tech/project/gis-mcp) [](https://github.com/mahdin75/gis-mcp/actions/workflows/test.yml) | | Installation & Transport | [](https://gis-mcp.com/install/docker/) [](https://github.com/mahdin75/gis-mcp) [](https://gis-mcp.com/storage-configuration/) | | Data Sources | [](https://gis-mcp.com/data-gathering/climate/) [](https://gis-mcp.com/data-gathering/ecology/) [](https://gis-mcp.com/data-gathering/landcover/) [](https://gis-mcp.com/data-gathering/movement/) [](https://gis-mcp.com/data-gathering/satelliteimagery/) [](https://gis-mcp.com/data-gathering/administrativeboundaries/) | | Agentic AI | -3776AB?logo=langchain&logoColor=white>) -111827?logo=openai&logoColor=white>) | | Community | [](https://discord.gg/SeVmVhVbk) [](https://www.youtube.com/@gis-mcp) [](https://deepwiki.com/mahdin75/gis-mcp) |
✨ Want to perform accurate geospatial analysis in your chatbot? ✨ Install GIS-MCP and transform your AI's spatial capabilities!
A Model Context Protocol (MCP) server implementation that connects Large Language Models (LLMs) to GIS operations using GIS libraries, enabling AI assistants to perform geospatial operations and transformations.
🌐 Website: gis-mcp.com
> Current version is 0.14.0 (Beta): > > We welcome contributions and developers to join us in building this project.
🎥 Demo
📋 Table of Contents
- [Features](#-features)
- [Prerequisites](#-prerequisites)
- [Vibe Coding](#vibe-coding)
- [Installation](#-installation)
- [Docker Installation](#-docker-installation)
- [pip Installation](#-pip-installation)
- [Development Installation](#-development-installation)
- [Build Your First GIS AI Agent](#-build-your-first-gis-ai-agent)
- [Available Functions](#-available-functions)
- [Shapely Functions](#-shapely-functions-29-total)
- [PyProj Functions](#-pyproj-functions-13-total)
- [GeoPandas Functions](#-geopandas-functions-13-total)
- [Rasterio Functions](#-rasterio-functions-20-total)
- [PySAL Functions](#-pysal-functions-18-total)
- [Visualization Functions](#-visualization-functions-2-total)
- [Static Map Functions](#-static-map-functions-1-total)
- [Interactive Web Map Functions](#-interactive-web-map-functions-1-total)
- [Administrative Boundaries Functions](#-administrative-boundaries-functions-1-total)
- [Climate Data Functions](#-climate-data-functions-1-total)
- [Ecology Data Functions](#-ecology-data-functions-2-total)
- [Movement Data Functions](#-movement-data-functions-2-total)
- [Land Cover Data Functions](#-land-cover-data-functions-2-total)
- [Satellite Imagery Functions](#-satellite-imagery-functions-1-total)
- [Client Development](#-client-development)
- [Planned Features](#-planned-features)
- [Contributing](#-contributing)
- [License](#-license)
- [Related Projects](#-related-projects)
- [Support](#-support)
- [Badges](#-badges)
🚀 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 & 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.
📋 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, use these context files in your editor so the LLM understands the GIS MCP server:
llms.txt: summarized context for smaller windows.llms-full.txt: full context when your model has a larger window.
🛠 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-mcp
Using 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: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](docs/install/docker.md).
📦 pip Installation
The pip installation is recommended for most users:
- Install uv package manager:
pip install uv
- Create the Virtual Environment (Python 3.10+):
uv venv --python=3.10
- Activate the Virtual Environment:
On Windows (PowerShell):
.\.venv\Scripts\Activate.ps1
On Linux:
source .venv/bin/activate
- 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 mapspydeck>=0.9.0- For advanced 3D visualizations
- 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) orhttp://host:port/sse(SSE) - Storage endpoints:
POST /storage/upload- Upload files to server storageGET /storage/download?path=- Download files from server storageGET /storage/list?path=- List files in server storage
For more details on transport modes and complete endpoint documentation, see:
- [HTTP Transport Configuration](docs/http-transport.md)
- [Server Endpoints](docs/endpoints.md)
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 username - For development installation, replace
/path/to/gis-mcpwith the actual path to your project - Restart 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 uv
- Create the Virtual Environment:
uv venv --python=3.10
- Install the package in development mode:
uv pip install -e .
- 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:
- Make sure to replace
YourUsernamewith your actual username - For development installation, replace
/path/to/gis-mcpwith the actual path to your project - Restart your IDE to apply the changes
- You can now use all GIS operations through Claude or Cursor!
🤖 Build Your First GIS AI Agent
Ready to create your own AI agent that can perform geospatial operations? Our comprehensive tutorial will guide you from zero to hero!
What You'll Learn
- ✅ How to set up the GIS MCP server in HTTP mode
- ✅ How to build a LangChain agent from scratch
- ✅ How to connect your agent to GIS tools
- ✅ How to use OpenRouter to access multiple AI models (DeepSeek, Gemini, GPT-4, Claude, etc.)
- ✅ How to customize and extend your agent
Get Started
👉 Follow the complete tutorial →
🎥 Watch tutorials on YouTube →
The tutorial is beginner-friendly and requires no prior AI or GIS experience. You'll build a working agent that can:
- Calculate distances between points
- Transform coordinates between different systems
- Create buffers around locations
- Perform spatial analysis
- And much more!
Perfect for: Developers, data scientists, GIS professionals, and anyone interested in building AI-powered geospatial applications.
📚 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
…
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mahdin75
- Source: mahdin75/gis-mcp
- License: MIT
- Homepage: https://gis-mcp.com/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.